{"id":"CVE-2026-139115","aliases":["CVE-2026-139115"],"related":[],"kind":"vulnerability","state":"published","title":"block/rnbd-srv: don't free the device on a sysfs error","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:31:43.269Z","modified":"2026-12-01T06:17:35.643Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8cee532f469bbcdb6ac0ab161ebff36fbc6439d7","fixed":"49f610e56795fe59acbedb673288606a4d6219ba","status":"affected"},{"type":"git","introduced":"8cee532f469bbcdb6ac0ab161ebff36fbc6439d7","fixed":"f65028b2fadec4919b77bc55130ab8401800fbe0","status":"affected"},{"type":"git","introduced":"8cee532f469bbcdb6ac0ab161ebff36fbc6439d7","fixed":"93deb589f24224dfc43e5dc03c3f9c9ea2e893cd","status":"affected"},{"type":"git","introduced":"8cee532f469bbcdb6ac0ab161ebff36fbc6439d7","fixed":"c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2","status":"affected"},{"type":"git","introduced":"8cee532f469bbcdb6ac0ab161ebff36fbc6439d7","fixed":"6e1b4893c19d681a35c7889e566044bf7b3a4128","status":"affected"},{"type":"git","introduced":"8cee532f469bbcdb6ac0ab161ebff36fbc6439d7","fixed":"f000dff3584a5f79ab8006fd019618f01c4d4918","status":"affected"},{"type":"git","introduced":"8cee532f469bbcdb6ac0ab161ebff36fbc6439d7","fixed":"d9667ade40f986c565769a900ced6ee95edd33c6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/49f610e56795fe59acbedb673288606a4d6219ba","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f65028b2fadec4919b77bc55130ab8401800fbe0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93deb589f24224dfc43e5dc03c3f9c9ea2e893cd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e1b4893c19d681a35c7889e566044bf7b3a4128","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f000dff3584a5f79ab8006fd019618f01c4d4918","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9667ade40f986c565769a900ced6ee95edd33c6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139115","url":"https://www.cve.org/CVERecord?id=CVE-2026-139115","licence":"CVE Terms of Use","modified":"2026-12-01T05:41:18.090Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139115","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139115","licence":"Public domain","modified":"2026-12-01T06:17:35.643Z"}],"updatedAt":"2026-12-01T06:32:20.561Z","epss":{"score":0.01295,"percentile":0.71166,"date":"2026-12-01T12:00:22.000Z"}}