5.5medium
nfs: pass explicit offset/count to trace events
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.30% (higher than 16% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: nfs: pass explicit offset/count to trace events nfs_folio_length is unsafe to use without having the folio locked and a check for a NULL ->f_mapping that protects against truncations and can lead to kernel crashes. E.g. when running xfstests generic/065 with all nfs trace points enabled. Follow the model of the XFS trace points and pass in an explіcit offset and length. This has the additional benefit that these values can be more accurate as some of the users touch partial folio ranges.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from eb5654b3b89d5e836312cea9f3fdb49457852e89 before 1562138b9cababf637eee485e98491f9206a990d, from eb5654b3b89d5e836312cea9f3fdb49457852e89 before 387e6e9d110250946df4d4ebef9c2def5c7a4722, from eb5654b3b89d5e836312cea9f3fdb49457852e89 before fada32ed6dbc748f447c8d050a961b75d946055a, 6.3 Not affected: before 6.3, from 6.6.130 up to 6.6.*, from 6.10.3 up to 6.10.*, from 6.11 up to * | CVE List |
| linux linux_kernel | from 6.3 before 6.10.3 | NVD |
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: nfs: pass explicit offset/count to trace events nfs_folio_length is unsafe to use without having the folio locked and a check for a NULL ->f_mapping that protects against truncations and can lead to kernel crashes. E.g. when running xfstests generic/065 with all nfs trace points enabled. Follow the model of the XFS trace points and pass in an explіcit offset and length. This has the additional benefit that these values can be more accurate as some of the users touch partial folio ranges.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfs: pasar compensación/recuento explícito para rastrear eventos nfs_folio_length no es seguro de usar sin tener el folio bloqueado y una verificación de NULL ->f_mapping que protege contra truncamientos y puede llevar al kernel accidentes. Por ejemplo, cuando se ejecuta xfstests generic/065 con todos los puntos de seguimiento nfs habilitados. Siga el modelo de los puntos de seguimiento XFS y pase un desplazamiento y una longitud explícitos. Esto tiene el beneficio adicional de que estos valores pueden ser más precisos ya que algunos de los usuarios tocan rangos de folios parciales.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-43826 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-43826 changed 2026-06-17 | Public domain |