CVE-2026-80824

Source
https://cve.org/CVERecord?id=CVE-2026-80824
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80824.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80824
Downstream
Published
2026-09-04T15:54:28.038Z
Modified
2026-09-06T03:46:51.496318675Z
Summary
usb: usbfs: fix use-after-free of usb_device in usbdev_release()
Details

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

usb: usbfs: fix use-after-free of usbdevice in usbdevrelease()

usbdevrelease() drops its reference to the struct usbdevice before draining the list of completed async URBs, but that drain path reads back through the same object: freeasync() calls decusbmemoryusecount() for any URB whose buffer came from the usbfs mmap() region, and its first statement is busto_hcd(ps->dev->bus).

After a disconnect the usbfs reference can be the last one, in which case usbputdev() frees the device and the subsequent loop reads offset 80 of freed memory and uses the result as a struct usbhcd *, which hcdbufferfreepages() then dereferences.

This is reachable by an unprivileged process that has read/write access to a /dev/bus/usb node: mmap() the fd, submit one URB with a buffer inside the mapping, wait for the device to be unplugged, then munmap() and close(). It reproduces on every attempt rather than being a race, because a live MAPSHARED vma holds a reference on the struct file, so usbdevrelease() cannot run until the last vma is gone and the freeing branch of decusbmemoryusecount() is always taken.

BUG: KASAN: slab-use-after-free in decusbmemoryusecount+0x3ae/0x410 Read of size 8 at addr ffff8880122ee050 by task poc/769 CPU: 1 UID: 1000 PID: 769 Comm: poc Tainted: G B 6.12.94 #3

Call Trace: decusbmemoryusecount+0x3ae/0x410 freeasync+0x2aa/0x4f0 usbdevrelease+0x375/0x460 __fput+0x3ea/0xb50 __x64sysclose+0x86/0x100

Allocated by task 11: usballocdev+0x55/0xd90 hub_event+0x2524/0x43d0

Freed by task 769: kfree+0x121/0x360 devicerelease+0xd2/0x280 usbputdev+0x23/0x30 usbdevrelease+0x2d8/0x460

Release the device reference after the drain loop instead. Nothing between the two points requires it to have been dropped.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80824.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f7d34b445abc00e979b7cf36b9580ac3d1a47cd8
Fixed
0a960b88c5979f853019d4dc4957dfbeeb193440
Fixed
96f5520fc9a5e4bbf77ac93c9d5ce502f597e6cf
Fixed
bd4bffc621a8cb2f4d9ed9b6447415de524a3bef
Fixed
65879e0a452ca2a234b9475e0c11aff7a4343738
Fixed
b3cde26a66b04f1d90ed0b675899c88b4e49d424
Fixed
5f08c45bdcfd28d1171de38c5ef29fc89a76eedc
Fixed
7f0278e474c4d1c4457974ff1137cc385c944ab3
Fixed
47a7f98fbb5006d46d15a3a210ffdc61448a4f19
Fixed
0dd68b5d01d022fc9c5e71c82a82b0a94d3d0671

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80824.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.6.0
Fixed
5.10.269
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.220
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.187
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.156
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.108
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.49
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.13
Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.2.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80824.json"