In the Linux kernel, the following vulnerability has been resolved:
nfsd: Initialize ssc before laundromat_work 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 nfsd_ssc initialization finishes.
Fix this by moving nfsdssc initialization before starting laundromatwork.
[
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2025-38231-33ae8865",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64",
"digest": {
"line_hashes": [
"193574004376107012117556467871994551863",
"250277143465434067011676889574978993763",
"141814966584680637219776417574440461988",
"106141283209951558724743169139577053669",
"12304949698480016393855398540629134830",
"179073216031348495158060852398077669522",
"62156487977713798631224342425966967038",
"157942267795083676771397369181721858035",
"269775687393377984758665683355576803382"
],
"threshold": 0.9
},
"target": {
"file": "fs/nfsd/nfssvc.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2025-38231-387937d4",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@deaeb74ae9318252829c59a84a7d2316fc335660",
"digest": {
"line_hashes": [
"193574004376107012117556467871994551863",
"250277143465434067011676889574978993763",
"141814966584680637219776417574440461988",
"106141283209951558724743169139577053669",
"12304949698480016393855398540629134830",
"179073216031348495158060852398077669522",
"62156487977713798631224342425966967038",
"157942267795083676771397369181721858035",
"269775687393377984758665683355576803382"
],
"threshold": 0.9
},
"target": {
"file": "fs/nfsd/nfssvc.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2025-38231-434e394a",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@deaeb74ae9318252829c59a84a7d2316fc335660",
"digest": {
"function_hash": "289745669168091180619706889284049549413",
"length": 882.0
},
"target": {
"file": "fs/nfsd/nfssvc.c",
"function": "nfsd_startup_net"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2025-38231-62529726",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a97668ec6d73dab237cd1c15efe012a10090a4ed",
"digest": {
"function_hash": "289745669168091180619706889284049549413",
"length": 882.0
},
"target": {
"file": "fs/nfsd/nfssvc.c",
"function": "nfsd_startup_net"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2025-38231-8e26ff9a",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a97668ec6d73dab237cd1c15efe012a10090a4ed",
"digest": {
"line_hashes": [
"193574004376107012117556467871994551863",
"250277143465434067011676889574978993763",
"141814966584680637219776417574440461988",
"106141283209951558724743169139577053669",
"12304949698480016393855398540629134830",
"179073216031348495158060852398077669522",
"62156487977713798631224342425966967038",
"157942267795083676771397369181721858035",
"269775687393377984758665683355576803382"
],
"threshold": 0.9
},
"target": {
"file": "fs/nfsd/nfssvc.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2025-38231-b28bfcf0",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0",
"digest": {
"line_hashes": [
"193574004376107012117556467871994551863",
"250277143465434067011676889574978993763",
"141814966584680637219776417574440461988",
"106141283209951558724743169139577053669",
"12304949698480016393855398540629134830",
"179073216031348495158060852398077669522",
"62156487977713798631224342425966967038",
"157942267795083676771397369181721858035",
"269775687393377984758665683355576803382"
],
"threshold": 0.9
},
"target": {
"file": "fs/nfsd/nfssvc.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2025-38231-b7ad0cb9",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5060e1a5fef184bd11d298e3f0ee920d96a23236",
"digest": {
"function_hash": "289745669168091180619706889284049549413",
"length": 882.0
},
"target": {
"file": "fs/nfsd/nfssvc.c",
"function": "nfsd_startup_net"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2025-38231-e5f1efdd",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0",
"digest": {
"function_hash": "289745669168091180619706889284049549413",
"length": 882.0
},
"target": {
"file": "fs/nfsd/nfssvc.c",
"function": "nfsd_startup_net"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2025-38231-e930d3db",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64",
"digest": {
"function_hash": "289745669168091180619706889284049549413",
"length": 882.0
},
"target": {
"file": "fs/nfsd/nfssvc.c",
"function": "nfsd_startup_net"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2025-38231-faf2ed65",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5060e1a5fef184bd11d298e3f0ee920d96a23236",
"digest": {
"line_hashes": [
"193574004376107012117556467871994551863",
"250277143465434067011676889574978993763",
"141814966584680637219776417574440461988",
"106141283209951558724743169139577053669",
"12304949698480016393855398540629134830",
"179073216031348495158060852398077669522",
"62156487977713798631224342425966967038",
"157942267795083676771397369181721858035",
"269775687393377984758665683355576803382"
],
"threshold": 0.9
},
"target": {
"file": "fs/nfsd/nfssvc.c"
}
}
]