{"id":"CVE-2026-139115","summary":"block/rnbd-srv: don't free the device on a sysfs error","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock/rnbd-srv: don't free the device on a sysfs error\n\nrnbd_srv_create_dev_sysfs() drops the only kobject reference on its\nerror paths, and the release function frees the rnbd_srv_dev.\nprocess_msg_open() keeps using it and ends in destroy_device() with a\nlist_del() and a second kfree(). This doesn't need memory pressure: a\nclient opening a device while its last mapping goes away gets -EEXIST\nfrom kobject_add() against the old directory.\n\nOnly undo kobject_add() on failure and leave the reference to\ndestroy_device(). Initialise the kobject once, the next open retries.","modified":"2026-12-01T07:00:33.111780025Z","published":"2026-11-30T13:31:43.269Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139115.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/49f610e56795fe59acbedb673288606a4d6219ba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e1b4893c19d681a35c7889e566044bf7b3a4128"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93deb589f24224dfc43e5dc03c3f9c9ea2e893cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d9667ade40f986c565769a900ced6ee95edd33c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f000dff3584a5f79ab8006fd019618f01c4d4918"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f65028b2fadec4919b77bc55130ab8401800fbe0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139115.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139115"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8cee532f469bbcdb6ac0ab161ebff36fbc6439d7"},{"fixed":"49f610e56795fe59acbedb673288606a4d6219ba"},{"fixed":"f65028b2fadec4919b77bc55130ab8401800fbe0"},{"fixed":"93deb589f24224dfc43e5dc03c3f9c9ea2e893cd"},{"fixed":"c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2"},{"fixed":"6e1b4893c19d681a35c7889e566044bf7b3a4128"},{"fixed":"f000dff3584a5f79ab8006fd019618f01c4d4918"},{"fixed":"d9667ade40f986c565769a900ced6ee95edd33c6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139115.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139115.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}