CVE-2024-43826
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 6.3 before 6.10.3NVD

Classification

CWE-476

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

SourceRecordLicence
CVE ListCVE-2024-43826 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-43826 changed 2026-06-17Public domain