Please backport FAT end-of-directory fix to 6.18 and 6.12
Hi,
Please consider backporting upstream commit
6a2875517c778ac1111b6920e94cbab91cda8724
fat: stop reading directory entries past the end-of-directory marker
to 6.18.y and 6.12.y, and any other affected supported stable branches.
The fix prevents directory traversal from interpreting residual data after the FAT end-of-directory marker as real directory entries, resulting in bogus filenames and I/O errors.
This affects FAT16 CompactFlash media written by devices such as the Psion Series 7/netBook running EPOC32.
Thanks,
Nicolai
Quoted 7 lines · Nicolai Buchwitz
Hi,
Please consider backporting upstream commit
6a2875517c778ac1111b6920e94cbab91cda8724
fat: stop reading directory entries past the end-of-directory marker
Quoted 8 lines
to 6.18.y and 6.12.y, and any other affected supported stable branches.
The fix prevents directory traversal from interpreting residual data after the FAT end-of-directory marker as real directory entries, resulting in bogus filenames and I/O errors.
This affects FAT16 CompactFlash media written by devices such as the Psion Series 7/netBook running EPOC32.
It does not apply cleanly to 6.12.y so please provide a working version for there, and older kernels, if you wish to see it applied there.
thanks,
greg k-h
Quoted 6 lines
Please consider backporting upstream commit
6a2875517c778ac1111b6920e94cbab91cda8724
fat: stop reading directory entries past the end-of-directory markerto 6.18.y and 6.12.y, and any other affected supported stable branches.
Queued for 6.12, thanks. 6.18 is already queued. For the older trees, please send backports if you want it applied there.
Signature · 2 lines
Thanks, Sasha