{"id":"CVE-2026-90151","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-90151","summary":"NFSv4: remove callback IDR entry on client allocation failure","details":"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.","published":"2026-09-17T16:06:44.987Z","modified":"2026-09-19T03:47:24.860222038Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"5.10.270"}],"fix":null,"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3f2387e8bfbc4efda5d77c3a11a028d0a119c48f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5891c03e150920618db0e9c4ea2d772abacdcfd1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68c721391b761dbe38d5b0094d2bb6e8489ad92b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c4812eb96bdcafb31a65b12f2aa96659429d1d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80b1c3d5a881f7d9081aa9f46da9742878a0f893"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9bfdd0f591307b5198826a0e7a5b2f35f87acd2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d05c2007b3d84ccba11dc6e9cb3202768cc72f14"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc95ca82d5ae598c428ab5a00ae69f8526d59371"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90151.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90151"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-19T03:47:24.860222038Z"}}