Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38231

MEDIUM 5.5EPSS 15%

nfsd: Initialize ssc before laundromat_work to prevent NULL dereference

Mitigation

  • Upgrade Linux to 5.10.239 or later.

Who should check

  • Anyone running Linux >= a4bc287943f5695209ff36bdc89f17b48d68fae7, < deaeb74ae9318252829c59a84a7d2316fc335660; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 0fccf5f01ed28725cc313a66ca1247eef911d55e; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < a97668ec6d73dab237cd1c15efe012a10090a4ed; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 5060e1a5fef184bd11d298e3f0ee920d96a23236; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < b31da62889e6d610114d81dc7a6edbcaa503fcf8; >= 5.10.220, < 5.10.239
  • Anyone running Linux 5.14

Vulnerability facts

Affected
Linux >= a4bc287943f5695209ff36bdc89f17b48d68fae7, < deaeb74ae9318252829c59a84a7d2316fc335660; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 0fccf5f01ed28725cc313a66ca1247eef911d55e; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < a97668ec6d73dab237cd1c15efe012a10090a4ed; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 5060e1a5fef184bd11d298e3f0ee920d96a23236; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < b31da62889e6d610114d81dc7a6edbcaa503fcf8; >= 5.10.220, < 5.10.239; Linux 5.14
Fixed in
Linux 0fccf5f01ed28725cc313a66ca1247eef911d55e, Linux 5060e1a5fef184bd11d298e3f0ee920d96a23236, Linux 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64, Linux 5.10.239
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a4bc287943f5695209ff36bdc89f17b48d68fae7, < deaeb74ae9318252829c59a84a7d2316fc335660; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 0fccf5f01ed28725cc313a66ca1247eef911d55e; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < a97668ec6d73dab237cd1c15efe012a10090a4ed; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 5060e1a5fef184bd11d298e3f0ee920d96a23236; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < b31da62889e6d610114d81dc7a6edbcaa503fcf8; >= 5.10.220, < 5.10.239—cvelist
Linux5.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38231. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38231.md
Affected: Linux >= a4bc287943f5695209ff36bdc89f17b48d68fae7, < deaeb74ae9318252829c59a84a7d2316fc335660; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 0fccf5f01ed28725cc313a66ca1247eef911d55e; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < a97668ec6d73dab237cd1c15efe012a10090a4ed; >= f4e44b393389c77958f7c58…
Fixed in: Linux 0fccf5f01ed28725cc313a66ca1247eef911d55e, Linux 5060e1a5fef184bd11d298e3f0ee920d96a23236, Linux 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64, Linux 5.10.239

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.

References

FAQ

Is CVE-2025-38231 being exploited?

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

How serious is CVE-2025-38231?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38231?

Linux >= a4bc287943f5695209ff36bdc89f17b48d68fae7, < deaeb74ae9318252829c59a84a7d2316fc335660; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 0fccf5f01ed28725cc313a66ca1247eef911d55e; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < a97668ec6d73dab237cd1c15efe012a10090a4ed; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 5060e1a5fef184bd11d298e3f0ee920d96a23236; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64; >= f4e44b393389c77958f7c58bf4415032b4cda15b, < b31da62889e6d610114d81dc7a6edbcaa503fcf8; >= 5.10.220, < 5.10.239; Linux 5.14.

Is there a fix for CVE-2025-38231?

Yes. Fixed in Linux 0fccf5f01ed28725cc313a66ca1247eef911d55e, Linux 5060e1a5fef184bd11d298e3f0ee920d96a23236, Linux 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64, Linux 5.10.239. Upgrade Linux to 5.10.239 or later.

How do I check if I'm affected by CVE-2025-38231?

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.

Sponsors