CVE-2026-139557: Linux kernel · misc: enclosure: fix UAF on device_register() failure
Source GCVE Database
Not known to be exploited · fixed in f32bcc15dd0dd8478e4b43bd2919f288aab84c61 : update Linux kernel when convenient.
Data as of 30 Nov 2026, 17:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in f32bcc15dd0dd8478e4b43bd2919f288aab84c61, f9c667d654657c75d5f3a322877d411772bd284c, 686bdcc0aaee08f519c8ae9625a0637b5804b4b7 +5
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
Description
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).
References
- nvd.nist.gov/vuln/detail/CVE-2026-139557 (opens in a new tab)
- git.kernel.org/stable/c/0f3b12bab74e13a2b8686a49c5b83099da61e032 (opens in a new tab)
- git.kernel.org/stable/c/13db96be1ee73c99acb0e40a6adeb6c89adb6320 (opens in a new tab)
- git.kernel.org/stable/c/59e32463d83c1ed9a6940af1a6ea62b4a62adbd3 (opens in a new tab)
- git.kernel.org/stable/c/686bdcc0aaee08f519c8ae9625a0637b5804b4b7 (opens in a new tab)
- git.kernel.org/stable/c/7b138cd144ef18f8cd9ff99cc00f11c465cc3d56 (opens in a new tab)
- git.kernel.org/stable/c/88ba765d2f4614e8efaf37be086c23f84a05dae4 (opens in a new tab)
- git.kernel.org/stable/c/f32bcc15dd0dd8478e4b43bd2919f288aab84c61 (opens in a new tab)
- git.kernel.org/stable/c/f9c667d654657c75d5f3a322877d411772bd284c (opens in a new tab)