# CVE-2024-57943: exfat: fix the new buffer was not zeroed before writing

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-01-21T12:18:11.195Z
- Modified: 2026-06-17T08:14:17.093Z
- Weaknesses: CWE-824
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

exfat: fix the new buffer was not zeroed before writing

Before writing, if a buffer_head marked as new, its data must
be zeroed, otherwise uninitialized data in the page cache will
be written.

So this commit uses folio_zero_new_buffers() to zero the new
buffers before ->write_end().

(As written by CVE List.)

## Affected

- Linux Linux: from 6630ea49103c3d45461e29b0f6eb0ce750aeb8f5 before 942c6f91ab8d82a41650e717940b4e577173762f; from 6630ea49103c3d45461e29b0f6eb0ce750aeb8f5 before 98e2fb26d1a9eafe79f46d15d54e68e014d81d8c; 6.12 (not affected: before 6.12; from 6.12.10 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.12 before 6.12.10; 6.13

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/942c6f91ab8d82a41650e717940b4e577173762f> (patch)
- <https://git.kernel.org/stable/c/98e2fb26d1a9eafe79f46d15d54e68e014d81d8c> (patch)

## Sources

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

---

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