CVE-2026-89484

lockd: fix NULL dereference on lockowner allocation failure

State
Published
Severity
Not scored
Published
Sep 11, 2026
Updated
Oct 30, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b61053a3795c2913a7af3ab6218acfdaf52fcafeAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6db5af172ccc3223c8f730a9a4212f6427feee3eAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 07adfbb3de7529f58ca708a97ead7fa4fdb71056Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d662f7fc04fde305a27f304b3cd19b614d366839Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 51af080ca4e553256c59a75a877b9b4fff828311Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4c7fc129db061c7daab841c4f3c342d894832362Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.109 through 6.12.*Not affected
  • 6.18.50 through 6.18.*Not affected
  • 7.2.4 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.