CVE-2024-57943

exfat: fix the new buffer was not zeroed before writing

State
Published
Severity
7.8 High
Published
Jan 21, 2025
Updated
May 11, 2026
Reserved
Jan 19, 2025

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-824 Access of Uninitialized Pointer

Affected Products

ProductVersions
LinuxLinux
  • 6630ea49103c3d45461e29b0f6eb0ce750aeb8f5 to before 942c6f91ab8d82a41650e717940b4e577173762fAffected
  • 6630ea49103c3d45461e29b0f6eb0ce750aeb8f5 to before 98e2fb26d1a9eafe79f46d15d54e68e014d81d8cAffected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.10 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.