exfat: fix the new buffer was not zeroed before writing
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel's exfat code did not zero new buffers before writing them, allowing uninitialized page-cache data to be written. The input does not specify how an attacker could access that data or whether authentication or user interaction is required.
Anyone running the Linux kernel with exfat support should check their version against the vendor advisory; affected versions are not specified.