Bug 2587417 (CVE-2026-139557) - CVE-2026-139557 kernel: kernel: Denial of Service via use-after-free in enclosure services error handling
Summary: CVE-2026-139557 kernel: kernel: Denial of Service via use-after-free in enclo...
Keywords:
Status: NEW
Alias: CVE-2026-139557
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 15:19 UTC by OSIDB Bzimport
Modified: 2026-12-01 16:11 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 15:19:02 UTC
In the Linux kernel, the following vulnerability has been resolved:

misc: enclosure: fix UAF on device_register() failure

After device_register() fails, the embedded struct device has already been
initialized and must be released with put_device() so that
enclosure_release() can drop the parent reference and free edev.

The error path currently does put_device(parent) + kfree(edev), which
skips the device lifetime rules and can free the object while the device
core still owns a reference (use-after-free).


Note You need to log in before you can comment on or make changes to this bug.