Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Please backport FAT end-of-directory fix to 6.18 and 6.12
@ 2026-10-16 12:25 Nicolai Buchwitz
  2026-10-16 16:27 ` Greg KH
  2026-10-19 20:55 ` Sasha Levin
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolai Buchwitz @ 2026-10-16 12:25 UTC (permalink / raw)
  To: stable; +Cc: sashal, technoboy85, hirofumi, brauner

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Please backport FAT end-of-directory fix to 6.18 and 6.12
  2026-10-16 12:25 Please backport FAT end-of-directory fix to 6.18 and 6.12 Nicolai Buchwitz
@ 2026-10-16 16:27 ` Greg KH
  2026-10-19 20:55 ` Sasha Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2026-10-16 16:27 UTC (permalink / raw)
  To: Nicolai Buchwitz; +Cc: stable, sashal, technoboy85, hirofumi, brauner

On Fri, Oct 16, 2026 at 02:25:02PM +0200, Nicolai Buchwitz wrote:
> 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Please backport FAT end-of-directory fix to 6.18 and 6.12
  2026-10-16 12:25 Please backport FAT end-of-directory fix to 6.18 and 6.12 Nicolai Buchwitz
  2026-10-16 16:27 ` Greg KH
@ 2026-10-19 20:55 ` Sasha Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Sasha Levin @ 2026-10-19 20:55 UTC (permalink / raw)
  To: stable; +Cc: Sasha Levin, technoboy85, hirofumi, brauner, Nicolai Buchwitz

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

Queued for 6.12, thanks. 6.18 is already queued. For the older trees,
please send backports if you want it applied there.

-- 
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-19 20:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 12:25 Please backport FAT end-of-directory fix to 6.18 and 6.12 Nicolai Buchwitz
2026-10-16 16:27 ` Greg KH
2026-10-19 20:55 ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox