CVE-2025-38231
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-devel | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-headers | Amazon Linux | 6.12.35-55.103.amzn2023 |
| perf | Amazon Linux | 1:6.1.144-170.251.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.12.35-55.103.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.144-170.251.amzn2023 |
| perf6.12 | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-livepatch-6.12.35-55.103 | Amazon Linux | 1.0-0.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a4bc287943f5695209ff36bdc89f17b48d68fae7, f4e44b393389c77958f7c58bf4415032b4cda15b, f4e44b393389c77958f7c58bf4415032b4cda15b |
| Linux | Linux | 5.14, 0, 5.10.239 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | perf6.12 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.5 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.35-55.103 | 0 |
| Linux | Linux | *, 6.16, 6.15.4 |
| amazon:2023 | kernel-livepatch-6.1.144-170.251 | 0 |
| amazon:2023 | bpftool | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
…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