CVE-2025-38231: nfsd: Initialize ssc before laundromat_work to prevent NULL dereference

Published Jul 4, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nfsd: Initialize ssc before laundromatwork to prevent NULL dereference

In nfs4statestartnet(), laundromatwork may access nfsdssc through nfs4laundromat -> nfsd4sscexpireumount. If nfsdssc isn't initialized, this can cause NULL pointer dereference.

Normally the delayed start of laundromatwork allows sufficient time for nfsdssc initialization to complete. However, when the kernel waits too long for userspace responses (e.g. in nfs4statestartnet -> nfsd4endgrace -> nfsd4recordgracedone -> nfsd4cldgracedone -> cldpipeupcall -> cldpipeupcall -> waitforcompletion path), the delayed work may start before nfsdssc initialization finishes.

Fix this by moving nfsdssc initialization before starting laundromatwork.

Affected Software

10 affected componentsFixes available
Linux Kernel Linux kernel
Linux Linux kernel>=5.10.220<5.10.239
Linux Linux kernel>=5.14<5.15.186
Linux Linux kernel>=5.16<6.1.142
Linux Linux kernel>=6.2<6.6.95
Linux Linux kernel>=6.7<6.12.35
Linux Linux kernel>=6.13<6.15.4
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.92.2-2
Microsoft azl3 kernel 6.6.96.1-1

Event History

Jul 4, 2025
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 7, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-38231?

CVE-2025-38231 is considered a medium severity vulnerability due to the potential for a NULL pointer dereference in the Linux kernel.

2

How do I fix CVE-2025-38231?

To resolve CVE-2025-38231, update the Linux kernel to a patched version where nfsd_ssc is properly initialized.

3

Which Linux kernel versions are affected by CVE-2025-38231?

CVE-2025-38231 affects various recent versions of the Linux kernel where nfsd_ssc may not be initialized correctly.

4

What components are impacted by CVE-2025-38231?

CVE-2025-38231 specifically impacts the NFS (Network File System) related components of the Linux kernel.

5

Is CVE-2025-38231 being actively exploited?

As of now, there have been no confirmed exploitations reported for CVE-2025-38231.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203