{"id":"CVE-2026-90151","aliases":["CVE-2026-90151"],"related":[],"kind":"vulnerability","state":"published","title":"NFSv4: remove callback IDR entry on client allocation failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4: remove callback IDR entry on client allocation failure\n\nnfs4_alloc_client() allocates an NFSv4.0 callback identifier before it\nfinishes setting up the client. If any later initialization step fails,\nthe error path frees the nfs_client directly with nfs_free_client(). That\nbypasses nfs_put_client(), which is where the callback IDR entry is\nremoved during normal teardown.\n\nA failed allocation can therefore leave cb_ident_idr pointing at a freed\nnfs_client. A later NFSv4.0 callback lookup by cb_ident would find the\nstale pointer and take a reference to it.\n\nMake the callback IDR removal helper callable by the allocation failure\npath, and remove the callback identifier before freeing the client.\n\nThis was found by a local static-analysis checker for publish-before-free\nlifetime bugs and confirmed by manual inspection.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4: remove callback IDR entry on client allocation failure\n\nnfs4_alloc_client() allocates an NFSv4.0 callback identifier before it\nfinishes setting up the client. If any later initialization step fails,\nthe error path frees the nfs_client directly with nfs_free_client(). That\nbypasses nfs_put_client(), which is where the callback IDR entry is\nremoved during normal teardown.\n\nA failed allocation can therefore leave cb_ident_idr pointing at a freed\nnfs_client. A later NFSv4.0 callback lookup by cb_ident would find the\nstale pointer and take a reference to it.\n\nMake the callback IDR removal helper callable by the allocation failure\npath, and remove the callback identifier before freeing the client.\n\nThis was found by a local static-analysis checker for publish-before-free\nlifetime bugs and confirmed by manual inspection.","source":"cvelist"}],"published":"2026-09-17T16:06:44.987Z","modified":"2026-10-19T09:19:05.043Z","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":"f4eecd5da3422e82e88e36c33cbd2595eebcacb1","fixed":"68c721391b761dbe38d5b0094d2bb6e8489ad92b","status":"affected"},{"type":"git","introduced":"f4eecd5da3422e82e88e36c33cbd2595eebcacb1","fixed":"9bfdd0f591307b5198826a0e7a5b2f35f87acd2d","status":"affected"},{"type":"git","introduced":"f4eecd5da3422e82e88e36c33cbd2595eebcacb1","fixed":"7c4812eb96bdcafb31a65b12f2aa96659429d1d4","status":"affected"},{"type":"git","introduced":"f4eecd5da3422e82e88e36c33cbd2595eebcacb1","fixed":"fc95ca82d5ae598c428ab5a00ae69f8526d59371","status":"affected"},{"type":"git","introduced":"f4eecd5da3422e82e88e36c33cbd2595eebcacb1","fixed":"80b1c3d5a881f7d9081aa9f46da9742878a0f893","status":"affected"},{"type":"git","introduced":"f4eecd5da3422e82e88e36c33cbd2595eebcacb1","fixed":"3f2387e8bfbc4efda5d77c3a11a028d0a119c48f","status":"affected"},{"type":"git","introduced":"f4eecd5da3422e82e88e36c33cbd2595eebcacb1","fixed":"5891c03e150920618db0e9c4ea2d772abacdcfd1","status":"affected"},{"type":"git","introduced":"f4eecd5da3422e82e88e36c33cbd2595eebcacb1","fixed":"d05c2007b3d84ccba11dc6e9cb3202768cc72f14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.38","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.38","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/68c721391b761dbe38d5b0094d2bb6e8489ad92b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9bfdd0f591307b5198826a0e7a5b2f35f87acd2d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c4812eb96bdcafb31a65b12f2aa96659429d1d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc95ca82d5ae598c428ab5a00ae69f8526d59371","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80b1c3d5a881f7d9081aa9f46da9742878a0f893","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f2387e8bfbc4efda5d77c3a11a028d0a119c48f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5891c03e150920618db0e9c4ea2d772abacdcfd1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d05c2007b3d84ccba11dc6e9cb3202768cc72f14","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90151","url":"https://www.cve.org/CVERecord?id=CVE-2026-90151","licence":"CVE Terms of Use","modified":"2026-10-19T08:58:50.239Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90151","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90151","licence":"Public domain","modified":"2026-10-19T09:19:05.043Z"}],"updatedAt":"2026-11-25T22:59:39.319Z","epss":{"score":0.00749,"percentile":0.56151,"date":"2026-12-01T12:00:22.000Z"}}