VDB

CVE-2025-68185

CVE-2025-68185 PUBLISHED

nfs4_setup_readdir(): insufficient locking for ->d_parent->d_inode dereferencing

Reported by linux · Published December 16, 2025

In the Linux kernel, the following vulnerability has been resolved: nfs4_setup_readdir(): insufficient locking for ->d_parent->d_inode dereferencing Theoretically it's an oopsable race, but I don't believe one can manage to hit it on real hardware; might become doable on a KVM, but it still won't be easy to attack. Anyway, it's easy to deal with - since xdr_encode_hyper() is just a call of put_unaligned_be64(), we can put that under ->d_lock and be done with that.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-headersAmazon Linux1:6.12.58-82.121.amzn2023
python3-perf6.12Amazon Linux1:6.12.58-82.121.amzn2023
kernel-headersAmazon Linux1:6.1.159-181.297.amzn2023
kernel6.12Amazon Linux1:6.12.58-82.121.amzn2023
python3-perfAmazon Linux1:6.1.159-181.297.amzn2023
kernel-develAmazon Linux1:6.1.159-181.297.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.58-82.121.amzn2023
kernel6.12-develAmazon Linux1:6.12.58-82.121.amzn2023
perf6.12Amazon Linux1:6.12.58-82.121.amzn2023
perfAmazon Linux1:6.1.159-181.297.amzn2023
kernel-modules-extraAmazon Linux1:6.1.159-181.297.amzn2023
kernelAmazon Linux1:6.1.159-181.297.amzn2023

2 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.4.302
amazon:2023kernel6.12-headers0
amazon:2023python3-perf6.120
amazon:2023kernel-headers0
amazon:2023kernel6.120
amazon:2023python3-perf0
amazon:2023kernel-devel0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-devel0
amazon:2023perf6.120
amazon:2023perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel0
amazon:2023kernel-tools-devel0
LinuxLinux6.12.58, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.12.58-82.1210

…and 12 more

Timeline

  • Dec 16, 2025 CVE Published
  • Dec 17, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (212 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (219 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68185
vulnetix vdb fixes CVE-2025-68185

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68185/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›