CVE-2025-38231

nfsd: Initialize ssc before laundromat_work to prevent NULL dereference

MEDIUM
5.5
CVSS Score
Published: July 4, 2025 at 01:37 PM UTC
Updated: October 15, 2026 at 01:06 AM UTC
5 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.220 ≤ v < 5.10.2395.14 ≤ v < 5.15.1865.14 ≤ v < 6.1.1425.14 ≤ v < 6.12.355.14 ≤ v < 6.15.45.14 ≤ v < 6.165.14 ≤ v < 6.6.955.16 ≤ v < 6.1.1426.13 ≤ v < 6.15.46.2 ≤ v < 6.6.956.7 ≤ v < 6.12.355.10.2205.14a4bc287943f5695209ff36bdc89f17b48d68fae7f4e44b393389c77958f7c58bf4415032b4cda15b
Vendor states this is fixed in 0fccf5f01ed28725cc313a66ca1247eef911d55e (fixed)
Vendor states this is fixed in 5060e1a5fef184bd11d298e3f0ee920d96a23236 (fixed)
Vendor states this is fixed in 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64 (fixed)
Vendor states this is fixed in a97668ec6d73dab237cd1c15efe012a10090a4ed (fixed)
Vendor states this is fixed in b31da62889e6d610114d81dc7a6edbcaa503fcf8 (fixed)
Vendor states this is fixed in d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0 (fixed)
Vendor states this is fixed in deaeb74ae9318252829c59a84a7d2316fc335660 (fixed)
Vendor states this is fixed in 5.10.239 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.15.186 (unaffected)
Vendor states this is fixed in 6.1.142 (unaffected)
Vendor states this is fixed in 6.12.35 (unaffected)
Vendor states this is fixed in 6.15.4 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.95 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0fccf5f01ed28725cc313a66ca1247eef911d55e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5060e1a5fef184bd11d298e3f0ee920d96a23236
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a97668ec6d73dab237cd1c15efe012a10090a4ed
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b31da62889e6d610114d81dc7a6edbcaa503fcf8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/deaeb74ae9318252829c59a84a7d2316fc335660
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card