# CVE-2026-89485: lockd: pin next file across nlm\_inspect\_file lock-drop

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **Published:** 2026-09-11T19:43:39.403Z
- **Modified:** 2026-10-19T09:17:42.023Z

## Who should check

- Anyone running Linux \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< e3c413f789eaf0170275c7eba523ead73d963f30; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 08a455f87b14c7ff22ae3fdadda62a796a3a5572; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 550c19222c7132c888e23c9d89079ba1c9bc4cca; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 350087f231c11efcd288c310707c40eab63ca583; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< c24bdb7df2f34bdc38ca8a73796f5acb40f1830c; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 41f0a6d31615fcae261bf28a0aa50050dc93a401; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< e999a88133654c6dfc68487fb49da5f20dfa2d4f; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 526c49cff3f72c3ec74752016380c7567040581b
- Anyone running Linux 2.6.18

## Description

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

lockd: pin next file across nlm\_inspect\_file lock-drop

nlm\_traverse\_files() pins the current file with f\_count++ across
a mutex\_unlock for nlm\_inspect\_file(), but nothing pins the saved
next pointer.  A concurrent nlm\_release\_file() can kfree the next
file during the unlock window, and the iterator dereferences freed
memory on the next loop step.

Pin both current and next before the lock-drop.  Advance by
swapping the pinned cursors at the end of each iteration so next
is always held alive across the unlock.

Always call nlm\_file\_release() after dropping the iteration pin,
regardless of whether the file matched the predicate.  Use
nlm\_file\_inuse(), which does a live walk of the inode lock list,
rather than the cached f\_locks field, so skipped files that never
ran nlm\_inspect\_file() are evaluated correctly.

Because every file in a hash bucket is now pinned and released,
files skipped by the is\_failover\_file predicate that have no
locks, blocks, shares, or external references are deleted during
traversal.  The old code never evaluated skipped files for
cleanup.  The new behavior is intentional: such files are stale
and should not persist in the table.

## Affected and fixed versions

- Linux: \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< e3c413f789eaf0170275c7eba523ead73d963f30; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 08a455f87b14c7ff22ae3fdadda62a796a3a5572; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 550c19222c7132c888e23c9d89079ba1c9bc4cca; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 350087f231c11efcd288c310707c40eab63ca583; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< c24bdb7df2f34bdc38ca8a73796f5acb40f1830c; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 41f0a6d31615fcae261bf28a0aa50050dc93a401; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< e999a88133654c6dfc68487fb49da5f20dfa2d4f; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 526c49cff3f72c3ec74752016380c7567040581b (cvelist)
- Linux: 2.6.18 (cvelist)

## Mitigation

- Upgrade Linux to 526c49cff3f72c3ec74752016380c7567040581b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89485. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89485.md
Affected: Linux >= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, < e3c413f789eaf0170275c7eba523ead73d963f30; >= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, < 08a455f87b14c7ff22ae3fdadda62a796a3a5572; >= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, < 550c19222c7132c888e23c9d89079ba1c9bc4cca; >= 01df9c5e918ae5559f2d96d…
Fixed in: Linux 08a455f87b14c7ff22ae3fdadda62a796a3a5572, Linux 550c19222c7132c888e23c9d89079ba1c9bc4cca, Linux 350087f231c11efcd288c310707c40eab63ca583, Linux 41f0a6d31615fcae261bf28a0aa50050dc93a401, Linux 526c49cff3f72c3ec74752016380c7567040581b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89485 being exploited?

There is no confirmed exploitation: CVE-2026-89485 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89485?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-89485?

Linux \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< e3c413f789eaf0170275c7eba523ead73d963f30; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 08a455f87b14c7ff22ae3fdadda62a796a3a5572; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 550c19222c7132c888e23c9d89079ba1c9bc4cca; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 350087f231c11efcd288c310707c40eab63ca583; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< c24bdb7df2f34bdc38ca8a73796f5acb40f1830c; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 41f0a6d31615fcae261bf28a0aa50050dc93a401; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< e999a88133654c6dfc68487fb49da5f20dfa2d4f; \>= 01df9c5e918ae5559f2d96da0143f8bfbb9e6171, \< 526c49cff3f72c3ec74752016380c7567040581b; Linux 2.6.18.

### Is there a fix for CVE-2026-89485?

Yes. Fixed in Linux 08a455f87b14c7ff22ae3fdadda62a796a3a5572, Linux 550c19222c7132c888e23c9d89079ba1c9bc4cca, Linux 350087f231c11efcd288c310707c40eab63ca583, Linux 41f0a6d31615fcae261bf28a0aa50050dc93a401, Linux 526c49cff3f72c3ec74752016380c7567040581b. Upgrade Linux to 526c49cff3f72c3ec74752016380c7567040581b or later.

### How do I check if I'm affected by CVE-2026-89485?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e3c413f789eaf0170275c7eba523ead73d963f30>
- other: <https://git.kernel.org/stable/c/08a455f87b14c7ff22ae3fdadda62a796a3a5572>
- other: <https://git.kernel.org/stable/c/550c19222c7132c888e23c9d89079ba1c9bc4cca>
- other: <https://git.kernel.org/stable/c/350087f231c11efcd288c310707c40eab63ca583>
- other: <https://git.kernel.org/stable/c/c24bdb7df2f34bdc38ca8a73796f5acb40f1830c>
- other: <https://git.kernel.org/stable/c/41f0a6d31615fcae261bf28a0aa50050dc93a401>
- other: <https://git.kernel.org/stable/c/e999a88133654c6dfc68487fb49da5f20dfa2d4f>
- other: <https://git.kernel.org/stable/c/526c49cff3f72c3ec74752016380c7567040581b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89485>

HTML: <https://flawdb.com/CVE-2026-89485> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89485>
