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

Published Nov 19, 2026
·
Updated

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

lockd: Fix use-after-free in nlmsvcretryblocked

nlmsvcretryblocked() examines the block at the head of nlmblocked under nlmblockedlock, then releases the lock before calling nlmsvcgrantblocked() or retrydeferredblock(). The nlmblocked list reference is all that keeps the block alive across that window. nlmsvcgrantblocked() 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 nlmsvctraverseblocks(), which drops the list reference and frees the block along with the nlmrqst hanging off it.

BUG: KASAN: slab-use-after-free in nlmasynccall+0xd6/0x230 Read of size 8 at addr ffff88811b04c808 by task lockd/8377 nlmasynccall+0xd6/0x230 nlmsvcretryblocked+0x61c/0x800 lockd+0x144/0x1c0 Freed by task 8392: nlmsvcreleaseblock+0x231/0x290 nlmsvctraverseblocks+0x139/0x1b0 nlmtraversefiles+0x1aa/0xa00 nlmsvcfreehostresources+0x12/0x60 nlmshutdownhostsnet+0x127/0x280 lockddown+0xd5/0x1c0

Take a reference before releasing nlmblockedlock and drop it once the retry has run.

Affected Software

3 affected componentsFixes available
linux/kernel>=2.6.22<6.12.117
6.12.117
linux/kernel>=6.13.0<6.18.61
6.18.61
linux/kernel>=6.19.0<7.3.2
7.3.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.117
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.61
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.2

Event History

Nov 19, 2026
CVE Published
via MITRE·02:44 PM
Data Sourced
via MITRE·02:44 PM
Description
Data Sourced
via OSV·02:44 PM
DescriptionAffected Software
Data Sourced
via NVD·03:18 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203