CVE-2024-53187CWE-190

CVE-2024-53187

Medium · published December 27, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
13.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

io_uring: check for overflows in io_pin_pages

WARNING: CPU: 0 PID: 5834 at io_uring/memmap.c:144 io_pin_pages+0x149/0x180 io_uring/memmap.c:144

CPU: 0 UID: 0 PID: 5834 Comm: syz-executor825 Not tainted 6.12.0-next-20241118-syzkaller #0

Call Trace:

<TASK>

__io_uaddr_map+0xfb/0x2d0 io_uring/memmap.c:183

io_rings_map io_uring/io_uring.c:2611 [inline]

io_allocate_scq_urings+0x1c0/0x650 io_uring/io_uring.c:3470

io_uring_create+0x5b5/0xc00 io_uring/io_uring.c:3692

io_uring_setup io_uring/io_uring.c:3781 [inline]

...

</TASK>

io_pin_pages()'s uaddr parameter came directly from the user and can be

garbage. Don't just add size to it as it can overflow.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00237 · 13.9th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2024-12-27T19:15Z
Affected products (2)
ProductVersionsFixed in
linux/linux_kernel< 6.11.116.11.11
linux/linux_kernel≥ 6.12, < 6.12.26.12.2
References (4)
EPSS history
Timeline
  • 27 DEC 13:49Z
    io_uring: check for overflows in io_pin_pages
    cvelistv5