VDB

CVE-2025-38231

CVE-2025-38231 PUBLISHED

nfsd: Initialize ssc before laundromat_work to prevent NULL dereference

Reported by linux · Published July 4, 2025

In the Linux kernel, the following vulnerability has been resolved: nfsd: Initialize ssc before laundromat_work to prevent NULL dereference In nfs4_state_start_net(), laundromat_work may access nfsd_ssc through nfs4_laundromat -> nfsd4_ssc_expire_umount. If nfsd_ssc isn't initialized, this can cause NULL pointer dereference. Normally the delayed start of laundromat_work allows sufficient time for nfsd_ssc initialization to complete. However, when the kernel waits too long for userspace responses (e.g. in nfs4_state_start_net -> nfsd4_end_grace -> nfsd4_record_grace_done -> nfsd4_cld_grace_done -> cld_pipe_upcall -> __cld_pipe_upcall -> wait_for_completion path), the delayed work may start before nfsd_ssc initialization finishes. Fix this by moving nfsd_ssc initialization before starting laundromat_work.

Fixed versions

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

PackageEcosystemFixed in
kernel-develAmazon Linux6.12.35-55.103.amzn2023
kernel-headersAmazon Linux6.12.35-55.103.amzn2023
perfAmazon Linux1:6.1.144-170.251.amzn2023
kernel-tools-develAmazon Linux6.12.35-55.103.amzn2023
python3-perfAmazon Linux1:6.1.144-170.251.amzn2023
perf6.12Amazon Linux6.12.35-55.103.amzn2023
kernel-libbpf-develAmazon Linux6.12.35-55.103.amzn2023
kernel-livepatch-6.12.35-55.103Amazon Linux1.0-0.amzn2023

Affected products

VendorProductVersions
LinuxLinuxa4bc287943f5695209ff36bdc89f17b48d68fae7, f4e44b393389c77958f7c58bf4415032b4cda15b, f4e44b393389c77958f7c58bf4415032b4cda15b
LinuxLinux5.14, 0, 5.10.239
amazon:2023kernel-devel0
amazon:2023kernel-headers0
amazon:2023perf0
amazon:2023kernel-tools-devel0
amazon:2023python3-perf0
amazon:2023perf6.120
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.5
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-livepatch-6.12.35-55.1030
LinuxLinux*, 6.16, 6.15.4
amazon:2023kernel-livepatch-6.1.144-170.2510
amazon:2023bpftool0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.5
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-modules-extra0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.5
amazon:2023python3-perf6.120
amazon:2023kernel-tools0

…and 6 more

Timeline

  • Jul 4, 2025 CVE Published
  • Jul 5, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (18 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (266 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (317 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38231
vulnetix vdb fixes CVE-2025-38231

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-38231/fixes/registry"

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

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