Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-43826

nfs: pass explicit offset/count to trace events

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • eb5654b3b89d5e836312cea9f3fdb49457852e89 to < 1562138b9cababf637eee485e98491f9206a990daffected
  • eb5654b3b89d5e836312cea9f3fdb49457852e89 to < 387e6e9d110250946df4d4ebef9c2def5c7a4722affected
  • eb5654b3b89d5e836312cea9f3fdb49457852e89 to < fada32ed6dbc748f447c8d050a961b75d946055aaffected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 6.6.130 to ≤ 6.6.*unaffected
  • 6.10.3 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References