{"id":"CVE-2026-139112","aliases":["CVE-2026-139112"],"related":[],"kind":"vulnerability","state":"published","title":"rnbd-srv: publish the sess_dev at the end of OPEN","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrnbd-srv: publish the sess_dev at the end of OPEN\n\nrnbd_sess_dev_alloc() stores the empty sess_dev in the XArray as its\nfirst step. An IO message with the new ID from another connection can\nfind it before bdev_file is set, or hold a reference while a failing\nOPEN frees it after a mere RCU grace period. Both are reachable from any\nhost that can open a device.\n\nReserve the ID with a NULL entry and store the sess_dev once nothing can\nfail anymore. The error path still erases the ID, and no longer needs\nsynchronize_rcu().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrnbd-srv: publish the sess_dev at the end of OPEN\n\nrnbd_sess_dev_alloc() stores the empty sess_dev in the XArray as its\nfirst step. An IO message with the new ID from another connection can\nfind it before bdev_file is set, or hold a reference while a failing\nOPEN frees it after a mere RCU grace period. Both are reachable from any\nhost that can open a device.\n\nReserve the ID with a NULL entry and store the sess_dev once nothing can\nfail anymore. The error path still erases the ID, and no longer needs\nsynchronize_rcu().","source":"cvelist"}],"published":"2026-11-30T13:31:41.589Z","modified":"2026-12-01T06:17:35.143Z","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":"2de6c8de192b9341ffa5e84afe1ce6196d4eef41","fixed":"09a61095f582500ccface75a664bae226522ad74","status":"affected"},{"type":"git","introduced":"2de6c8de192b9341ffa5e84afe1ce6196d4eef41","fixed":"273408c3a7a5c16442b0fe902a8e88044a112553","status":"affected"},{"type":"git","introduced":"2de6c8de192b9341ffa5e84afe1ce6196d4eef41","fixed":"310b79760a901d6aff2f968b8de41de29e75d58c","status":"affected"},{"type":"git","introduced":"2de6c8de192b9341ffa5e84afe1ce6196d4eef41","fixed":"ffddd6e86a926a201af6ae903af6847cbe1e8ebd","status":"affected"},{"type":"git","introduced":"2de6c8de192b9341ffa5e84afe1ce6196d4eef41","fixed":"53651d26368168f2b9971cf7136510c9af803777","status":"affected"},{"type":"git","introduced":"2de6c8de192b9341ffa5e84afe1ce6196d4eef41","fixed":"0fcec36fc1a28ebb29a524088e472605ca224840","status":"affected"},{"type":"git","introduced":"2de6c8de192b9341ffa5e84afe1ce6196d4eef41","fixed":"08ebf69c78a02afb39b7728f3358c09bc4cf067d","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/09a61095f582500ccface75a664bae226522ad74","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/273408c3a7a5c16442b0fe902a8e88044a112553","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/310b79760a901d6aff2f968b8de41de29e75d58c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ffddd6e86a926a201af6ae903af6847cbe1e8ebd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53651d26368168f2b9971cf7136510c9af803777","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0fcec36fc1a28ebb29a524088e472605ca224840","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08ebf69c78a02afb39b7728f3358c09bc4cf067d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139112","url":"https://www.cve.org/CVERecord?id=CVE-2026-139112","licence":"CVE Terms of Use","modified":"2026-12-01T05:41:13.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139112","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139112","licence":"Public domain","modified":"2026-12-01T06:17:35.143Z"}],"updatedAt":"2026-12-01T06:32:20.298Z","epss":{"score":0.01278,"percentile":0.70815,"date":"2026-12-01T12:00:22.000Z"}}