CVE-2025-38231

MEDIUM

Linux Kernel - NULL Pointer Dereference

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 30.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (25)
debian/debian_linux 11.0
linux/Kernel < 5.10.239linux
linux/Kernel 5.11.0 - 5.15.186linux
linux/Kernel 5.14.0 - 6.1.142linux
linux/Kernel 5.16.0 - 6.6.95linux
linux/Kernel 6.2.0 - 6.12.35linux
linux/Kernel 6.7.0 - 6.15.4linux
Linux/Linux < 5.14
Linux/Linux 5.10.220 - 5.10.239
Linux/Linux 5.10.239 - 5.10.*
... and 15 more
Published Jul 04, 2025
Tracked Since Feb 18, 2026