# CVE-2026-99513: lockd: Fix use-after-free in nlmsvc_retry_blocked

Status: published. Published: 2026-11-19. Updated: 2026-11-22.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 0e4ac9d93515b27fd7635332d73eae3192ed5d4e; < 6506c27da6756c0c7590ef60774ee5d35f6a4100 (affected, git); ≥ 0e4ac9d93515b27fd7635332d73eae3192ed5d4e; < 70825b251e5f7855fd7bd93afc0b698154e00e70 (affected, git); ≥ 0e4ac9d93515b27fd7635332d73eae3192ed5d4e; < 25d0baa6adb4a0b3f6889d42033ce8df3232bea7 (affected, git); ≥ 0e4ac9d93515b27fd7635332d73eae3192ed5d4e; < f5b7634f0f213299a07b461fb10385c8639a4ab8 (affected, git). Source: CNA: Linux
- Linux / Linux: 2.6.22 (affected); ≥ 0; < 2.6.22 (unaffected, semver); ≥ 6.12.117; ≤ 6.12.* (unaffected, semver); ≥ 6.18.61; ≤ 6.18.* (unaffected, semver); ≥ 7.3.2; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc1; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: CNA: Linux

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: NVD: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

- CISA KEV: No listing in collected sources

- EPSS: 0.21% as of 2026-11-21; percentile 10.87%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/6506c27da6756c0c7590ef60774ee5d35f6a4100 (CNA: Linux)

- https://git.kernel.org/stable/c/70825b251e5f7855fd7bd93afc0b698154e00e70 (CNA: Linux)

- https://git.kernel.org/stable/c/25d0baa6adb4a0b3f6889d42033ce8df3232bea7 (CNA: Linux)

- https://git.kernel.org/stable/c/f5b7634f0f213299a07b461fb10385c8639a4ab8 (CNA: Linux)

- https://git.kernel.org/stable/c/25d0baa6adb4a0b3f6889d42033ce8df3232bea7 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/6506c27da6756c0c7590ef60774ee5d35f6a4100 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/70825b251e5f7855fd7bd93afc0b698154e00e70 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/f5b7634f0f213299a07b461fb10385c8639a4ab8 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99513; retrieved 2026-11-22; source updated 2026-11-22

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99513; retrieved 2026-11-22; source updated 2026-11-22

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99513; retrieved 2026-11-22; source updated Not reported

Revision: 7a4926df4cd1e8e33fdacddf52a46987e491014782d3404bae374a59ceba266c

Canonical: https://y2.dev/cve/CVE-2026-99513

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.