CVE-2026-80824

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
19/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> usb: usbfs: fix use-after-free of usb_device in usbdev_release()<br /> <br /> usbdev_release() drops its reference to the struct usb_device before<br /> draining the list of completed async URBs, but that drain path reads back<br /> through the same object: free_async() calls dec_usb_memory_use_count()<br /> for any URB whose buffer came from the usbfs mmap() region, and its first<br /> statement is bus_to_hcd(ps-&gt;dev-&gt;bus).<br /> <br /> After a disconnect the usbfs reference can be the last one, in which case<br /> usb_put_dev() frees the device and the subsequent loop reads offset 80 of<br /> freed memory and uses the result as a struct usb_hcd *, which<br /> hcd_buffer_free_pages() then dereferences.<br /> <br /> This is reachable by an unprivileged process that has read/write access to<br /> a /dev/bus/usb node: mmap() the fd, submit one URB with a buffer inside the<br /> mapping, wait for the device to be unplugged, then munmap() and close().<br /> It reproduces on every attempt rather than being a race, because a live<br /> MAP_SHARED vma holds a reference on the struct file, so usbdev_release()<br /> cannot run until the last vma is gone and the freeing branch of<br /> dec_usb_memory_use_count() is always taken.<br /> <br /> BUG: KASAN: slab-use-after-free in dec_usb_memory_use_count+0x3ae/0x410<br /> Read of size 8 at addr ffff8880122ee050 by task poc/769<br /> CPU: 1 UID: 1000 PID: 769 Comm: poc Tainted: G B 6.12.94 #3<br /> <br /> Call Trace:<br /> dec_usb_memory_use_count+0x3ae/0x410<br /> free_async+0x2aa/0x4f0<br /> usbdev_release+0x375/0x460<br /> __fput+0x3ea/0xb50<br /> __x64_sys_close+0x86/0x100<br /> <br /> Allocated by task 11:<br /> usb_alloc_dev+0x55/0xd90<br /> hub_event+0x2524/0x43d0<br /> <br /> Freed by task 769:<br /> kfree+0x121/0x360<br /> device_release+0xd2/0x280<br /> usb_put_dev+0x23/0x30<br /> usbdev_release+0x2d8/0x460<br /> <br /> Release the device reference after the drain loop instead. Nothing between<br /> the two points requires it to have been dropped.

Impact