9.8critical
nfsd: fix possible badness in FREE_STATEID
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.49% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix possible badness in FREE_STATEID When multiple FREE_STATEIDs are sent for the same delegation stateid, it can lead to a possible either use-after-free or counter refcount underflow errors. In nfsd4_free_stateid() under the client lock we find a delegation stateid, however the code drops the lock before calling nfs4_put_stid(), that allows another FREE_STATE to find the stateid again. The first one will proceed to then free the stateid which leads to either use-after-free or decrementing already zeroed counter.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3f29cc82a84c23cfd12b903029dd26002ca825f5 before 7ca9e472ce5c67daa3188a348ece8c02a0765039, from 3f29cc82a84c23cfd12b903029dd26002ca825f5 before c88c150a467fcb670a1608e2272beeee3e86df6e, 172d038b7c4d3cfa9fc5ac210577c5c4f8256320, from 6.6.160 before 6.7, 6.9 Not affected: before 6.9, from 6.11.4 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | from 6.9 before 6.11.4, 6.12 | NVD |
All scores
| Linux | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix possible badness in FREE_STATEID When multiple FREE_STATEIDs are sent for the same delegation stateid, it can lead to a possible either use-after-free or counter refcount underflow errors. In nfsd4_free_stateid() under the client lock we find a delegation stateid, however the code drops the lock before calling nfs4_put_stid(), that allows another FREE_STATE to find the stateid again. The first one will proceed to then free the stateid which leads to either use-after-free or decrementing already zeroed counter.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfsd: corregir posible maldad en FREE_STATEID Cuando se envían múltiples FREE_STATEID para el mismo stateid de delegación, puede conducir a un posible error de subdesbordamiento de contador o de use after free. En nfsd4_free_stateid() bajo el bloqueo del cliente encontramos un stateid de delegación, sin embargo, el código elimina el bloqueo antes de llamar a nfs4_put_stid(), que permite que otro FREE_STATE encuentre el stateid nuevamente. El primero procederá a liberar el stateid, lo que conduce a un use after free o a la disminución del contador ya puesto a cero.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50043 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2024-50043 changed 2026-10-21 | Public domain |