# CVE-2024-43826: nfs: pass explicit offset/count to trace events

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 16% of CVEs (2026-11-30)
- Published: 2024-08-17T09:21:45.988Z
- Modified: 2026-06-17T07:51:47.260Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.3 before 6.10.3

## References

- <https://git.kernel.org/stable/c/1562138b9cababf637eee485e98491f9206a990d>
- <https://git.kernel.org/stable/c/387e6e9d110250946df4d4ebef9c2def5c7a4722> (patch)
- <https://git.kernel.org/stable/c/fada32ed6dbc748f447c8d050a961b75d946055a> (patch)

## Sources

- CVE List: [CVE-2024-43826](https://www.cve.org/CVERecord?id=CVE-2024-43826), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-43826](https://nvd.nist.gov/vuln/detail/CVE-2024-43826), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43826 · Whole record: https://cve.day/CVE-2024-43826.json · Rebuilt by cve.day 2026-11-25T22:58:44.491Z
