← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel lockd Use-After-Free in the Blocked-Lock Retry Path Scores CVSS 9.8 Over the Network

Last refreshed2026-11-23

Status: UPDATED  |  Advisory ID: CVE-2026-99513

Key Details

CVECVE-2026-99513
CVSS Score / Version
9.8 (Critical) / CVSS v3.1
Updated2026-11-22
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

In the Linux kernel, the following vulnerability has been resolved:

lockd: Fix use-after-free in nlmsvc_retry_blocked

nlmsvc_retry_blocked() examines the block at the head of nlm_blocked

under nlm_blocked_lock, then releases the lock before calling

nlmsvc_grant_blocked() or retry_deferred_block(). The nlm_blocked list

reference is all that keeps the block alive across that window.

nlmsvc_grant_blocked() does take one of its own, but not until after

the lock has been dropped. Unmounting the nfsd filesystem while a lock

request is still blocked reaches nlmsvc_traverse_blocks(), which drops

the list reference and frees the block along with the nlm_rqst hanging

off it.

BUG: KASAN: slab-use-after-free in nlm_async_call+0xd6/0x230

Read of size 8 at addr ffff88811b04c808 by task lockd/8377

nlm_async_call+0xd6/0x230

nlmsvc_retry_blocked+0x61c/0x800

lockd+0x144/0x1c0

Freed by task 8392:

nlmsvc_release_block+0x231/0x290

nlmsvc_traverse_blocks+0x139/0x1b0

nlm_traverse_files+0x1aa/0xa00

nlmsvc_free_host_resources+0x12/0x60

nlm_shutdown_hosts_net+0x127/0x280

lockd_down+0xd5/0x1c0

Take a reference before releasing nlm_blocked_lock and drop it once

the retry has run. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-99513
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-99513
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.