{"id":"CVE-2026-99513","published":"2026-11-19T15:18:06Z","modified":"2026-11-22T11:16:54Z","title":"lockd: Fix use-after-free in nlmsvc_retry_blocked","vendor":"Linux","product":"Linux","tier":"core","eol":null,"affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0e4ac9d93515b27fd7635332d73eae3192ed5d4e, < 6506c27da6756c0c7590ef60774ee5d35f6a4100",">= 0e4ac9d93515b27fd7635332d73eae3192ed5d4e, < 70825b251e5f7855fd7bd93afc0b698154e00e70",">= 0e4ac9d93515b27fd7635332d73eae3192ed5d4e, < 25d0baa6adb4a0b3f6889d42033ce8df3232bea7",">= 0e4ac9d93515b27fd7635332d73eae3192ed5d4e, < f5b7634f0f213299a07b461fb10385c8639a4ab8"]},{"vendor":"Linux","product":"Linux","versions":["2.6.22"]}],"nvdStatus":"Received","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nlockd: Fix use-after-free in nlmsvc_retry_blocked\n\nnlmsvc_retry_blocked() examines the block at the head of nlm_blocked\nunder nlm_blocked_lock, then releases the lock before calling\nnlmsvc_grant_blocked() or retry_deferred_block(). The nlm_blocked list\nreference is all that keeps the block alive across that window.\nnlmsvc_grant_blocked() does take one of its own, but not until after\nthe lock has been dropped. Unmounting the nfsd filesystem while a lock\nrequest is still blocked reaches nlmsvc_traverse_blocks(), which drops\nthe list reference and frees the block along with the nlm_rqst hanging\noff it.\n\n  BUG: KASAN: slab-use-after-free in nlm_async_call+0xd6/0x230\n  Read of size 8 at addr ffff88811b04c808 by task lockd/8377\n    nlm_async_call+0xd6/0x230\n    nlmsvc_retry_blocked+0x61c/0x800\n    lockd+0x144/0x1c0\n  Freed by task 8392:\n    nlmsvc_release_block+0x231/0x290\n    nlmsvc_traverse_blocks+0x139/0x1b0\n    nlm_traverse_files+0x1aa/0xa00\n    nlmsvc_free_host_resources+0x12/0x60\n    nlm_shutdown_hosts_net+0x127/0x280\n    lockd_down+0xd5/0x1c0\n\nTake a reference before releasing nlm_blocked_lock and drop it once\nthe retry has run.","provenance":"source","from":"NVD"},"summary":null,"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.00213,"percentile":0.11655,"date":"2026-11-22","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":6,"pulses":[{"name":"Known_Cve | Nov 22, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6b02ab7c3da7db7d1f97822a","created":"2026-11-22"},{"name":"Known_Cve | Nov 22, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6b0202e1bd989a8931b8e3d5","created":"2026-11-21"},{"name":"Known_Cve | Nov 21, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6b015ae680c25725932aa476","created":"2026-11-21"},{"name":"Known_Cve | Nov 21, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6b00b21837c47161cd80a32c","created":"2026-11-20"},{"name":"Known_Cve | Nov 20, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6b00093f9db33bfdc055d784","created":"2026-11-20"},{"name":"Known_Cve | Nov 20, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6aff5fb2dac8a5d861c8dea0","created":"2026-11-19"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/25d0baa6adb4a0b3f6889d42033ce8df3232bea7","tags":[]},{"url":"https://git.kernel.org/stable/c/6506c27da6756c0c7590ef60774ee5d35f6a4100","tags":[]},{"url":"https://git.kernel.org/stable/c/70825b251e5f7855fd7bd93afc0b698154e00e70","tags":[]},{"url":"https://git.kernel.org/stable/c/f5b7634f0f213299a07b461fb10385c8639a4ab8","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-130192","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130192","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-11-19","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99513","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":11.1,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":2.33,"detail":"percentile 0.1166"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":1.92,"detail":"6 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}