Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Nicolai Buchwitz <nb@tipi-net.de>
Cc: stable@vger.kernel.org, sashal@kernel.org, technoboy85@gmail.com,
	hirofumi@mail.parknet.co.jp, brauner@kernel.org
Subject: Re: Please backport FAT end-of-directory fix to 6.18 and 6.12
Date: Fri, 16 Oct 2026 18:27:58 +0200	[thread overview]
Message-ID: <2026101626-tattling-mutation-26ee@gregkh> (raw)
In-Reply-To: <96dbd7d103fa6df33b0bbd492e309bd7@tipi-net.de>

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

  reply	other threads:[~2026-10-16 16:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2026-10-19 20:55 ` Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026101626-tattling-mutation-26ee@gregkh \
    --to=greg@kroah.com \
    --cc=brauner@kernel.org \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=nb@tipi-net.de \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=technoboy85@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox