CVE-2025-38231
published 2025-07-04CVE-2025-38231: In the Linux kernel, the following vulnerability has been resolved: nfsd: Initialize ssc before laundromat_work to prevent NULL dereference In…
medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
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
35 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | linux | < linux 6.1.147-1 (bookworm) | linux 6.1.147-1 (bookworm) |
| debian | linux-6.1 | < linux 6.1.147-1 (bookworm) | linux 6.1.147-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 5.10.220 < 5.10.239 | 5.10.239 |
| linux | linux | >= a4bc287943f5695209ff36bdc89f17b48d68fae7 < deaeb74ae9318252829c59a84a7d2316fc335660 | deaeb74ae9318252829c59a84a7d2316fc335660 |
| linux | linux | >= f4e44b393389c77958f7c58bf4415032b4cda15b < 0fccf5f01ed28725cc313a66ca1247eef911d55e | 0fccf5f01ed28725cc313a66ca1247eef911d55e |
| linux | linux | >= f4e44b393389c77958f7c58bf4415032b4cda15b < a97668ec6d73dab237cd1c15efe012a10090a4ed | a97668ec6d73dab237cd1c15efe012a10090a4ed |
| linux | linux | >= f4e44b393389c77958f7c58bf4415032b4cda15b < 5060e1a5fef184bd11d298e3f0ee920d96a23236 | 5060e1a5fef184bd11d298e3f0ee920d96a23236 |
| linux | linux | >= f4e44b393389c77958f7c58bf4415032b4cda15b < d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0 | d622c2ee6c08147ab8c9b9e37d93b6e95d3258e0 |
| linux | linux | >= f4e44b393389c77958f7c58bf4415032b4cda15b < 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64 | 83ac1ba8ca102ab5c0ed4351f8ac6e74ac4d5d64 |
| linux | linux | >= f4e44b393389c77958f7c58bf4415032b4cda15b < b31da62889e6d610114d81dc7a6edbcaa503fcf8 | b31da62889e6d610114d81dc7a6edbcaa503fcf8 |
| linux | linux_kernel | >= 0 < 5.10.244-1 | 5.10.244-1 |
| linux | linux_kernel | >= 0 < 6.1.147-1 | 6.1.147-1 |
| linux | linux_kernel | >= 0 < 6.12.35-1 | 6.12.35-1 |
| linux | linux_kernel | >= 0 < 6.12.35-1 | 6.12.35-1 |
| linux | linux_kernel | >= 0 < 5.15.0-156.166 | 5.15.0-156.166 |
| linux | linux_kernel | >= 0 < 6.8.0-100.100 | 6.8.0-100.100 |
| linux | linux_kernel | >= 5.10.220 < 5.10.239 | 5.10.239 |
| linux | linux_kernel | >= 5.14 < 5.15.186 | 5.15.186 |
| linux | linux_kernel | >= 5.16 < 6.1.142 | 6.1.142 |
| linux | linux_kernel | >= 6.13 < 6.15.4 | 6.15.4 |
| linux | linux_kernel | >= 6.2 < 6.6.95 | 6.6.95 |
| linux | linux_kernel | >= 6.7 < 6.12.35 | 6.12.35 |
| msrc | azl3_kernel_6.6.92.2-2_on_azure_linux_3.0 | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.6MEDIUM