lockd: fix NULL dereference on lockowner allocation failure (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: lockd: fix NULL dereference on lockowner allocation failure nlmclnt_locks_init_private() installs NLM file lock operations even when nlmclnt_find_lockowner() fails to allocate a lockowner. nlmclnt_proc() then returns -ENOMEM, but the VFS still tears down the partially initialized file_lock and calls locks_release_private(). That invokes nlmclnt_locks_release_private(), which dereferences fl->fl_u.nfs_fl.owner and crashes because the owner was never installed. Clear fl_ops before attempting to initialize the NLM private state, and install the NLM lock operations only after a lockowner has been allocated successfully.
References
- https://git.kernel.org/stable/c/b61053a3795c2913a7af3ab6218acfdaf52fcafe
- https://git.kernel.org/stable/c/6db5af172ccc3223c8f730a9a4212f6427feee3e
- https://git.kernel.org/stable/c/07adfbb3de7529f58ca708a97ead7fa4fdb71056
- https://git.kernel.org/stable/c/d662f7fc04fde305a27f304b3cd19b614d366839
- https://git.kernel.org/stable/c/51af080ca4e553256c59a75a877b9b4fff828311
- https://git.kernel.org/stable/c/4c7fc129db061c7daab841c4f3c342d894832362
European references
- ENISA EUVD · EUVD-2026-76390
- GCVE · GCVE-0-2026-89484
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b61053a3795c2913a7af3ab6218acfdaf52fcafe ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6db5af172ccc3223c8f730a9a4212f6427feee3e ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 07adfbb3de7529f58ca708a97ead7fa4fdb71056 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d662f7fc04fde305a27f304b3cd19b614d366839 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 51af080ca4e553256c59a75a877b9b4fff828311 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4c7fc129db061c7daab841c4f3c342d894832362 |
| Linux · Linux | affected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |