CVE-2026-143396

critical

Description

In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: fix descriptor cleanup use-after-free usb9pfs_free_func() frees the f_usb9pfs object before calling usb_free_all_descriptors(). The usb_function passed to the latter is embedded in the freed object, so removing the function from a gadget dereferences freed memory. The failing teardown sequence is: configfs unlink usb9pfs_free_func() kfree(usb9pfs) usb_free_all_descriptors(f) dereference the embedded usb_function KASAN reported: BUG: KASAN: slab-use-after-free in usb_free_all_descriptors+0x138/0x190 Read of size 8 at addr ffff888106a73088 by task poc/95 Call Trace: usb_free_all_descriptors+0x138/0x190 config_usb_cfg_unlink+0x1f0/0x2f0 configfs_unlink+0x321/0x6f0 Free the descriptors before freeing their containing object.

References

https://git.kernel.org/stable/c/c1495c9ae0601cd0f31cf7705a2e8f2beeca8f8c

https://git.kernel.org/stable/c/86f0c26e4263ffc1667694e4f3920d1b46e73e9d

https://git.kernel.org/stable/c/54b98356b92082c59766205d600a273f434c94e4

https://git.kernel.org/stable/c/0955472fff1e9f9e410a0300136924ebc8bd7a16

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-143046

Details

Source: Mitre, NVD

Published: 2026-12-03

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.00368