Double free in Linux kernel rnbd-srv on sysfs error
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
In the Linux kernel, the rnbd-srv block driver from version 5.8 onward frees a device structure on a sysfs error while the open path still uses it. A client opening a device while its last mapping goes away can trigger a double free, so the use-after-free and double free corrupt kernel memory. An unauthenticated remote attacker can exploit this over the network with low complexity, which can lead to high impact on confidentiality, integrity and availability.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: block/rnbd-srv: don't free the device on a sysfs error rnbd_srv_create_dev_sysfs() drops the only kobject reference on its error paths, and the release function frees the rnbd_srv_dev. process_msg_open() keeps using it and ends in destroy_device() with a list_del() and a second kfree(). This doesn't need memory pressure: a client opening a device while its last mapping goes away gets -EEXIST from kobject_add() against the old directory. Only undo kobject_add() on failure and leave the reference to destroy_device(). Initialise the kobject once, the next open retries.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Fixed versions are 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1, which are listed as fixes for the Linux kernel.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139115
- 2026-11-30 Alias added: GHSA-jh6p-5pjp-cm89
- 2026-12-01 CVSS score added · CNA
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 7
- https://git.kernel.org/stable/c/49f610e56795fe59acbedb673288606a4d6219ba
- https://git.kernel.org/stable/c/f65028b2fadec4919b77bc55130ab8401800fbe0
- https://git.kernel.org/stable/c/93deb589f24224dfc43e5dc03c3f9c9ea2e893cd
- https://git.kernel.org/stable/c/c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2
- https://git.kernel.org/stable/c/6e1b4893c19d681a35c7889e566044bf7b3a4128
- https://git.kernel.org/stable/c/f000dff3584a5f79ab8006fd019618f01c4d4918
- https://git.kernel.org/stable/c/d9667ade40f986c565769a900ced6ee95edd33c6
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139115 · CVE Program
- CVE-2026-139115 · NVD
- GHSA-jh6p-5pjp-cm89 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-139115 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences