Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>,
	regressions@lists.linux.dev, willy@infradead.org,
	brauner@kernel.org, Oleg Chaun <olegchaun@gmail.com>
Subject: Re: Subject:[REGRESSION] fs/qnx6: incorrect pointer arithmetic breaks dir scanning completely
Date: Tue, 26 May 2026 09:38:15 -0400	[thread overview]
Message-ID: <20260526140000.agent5-0003@kernel.org> (raw)
In-Reply-To: <d02905f7-6ef8-4df0-bb55-dea44fda6ce2@gmail.com>

On Tue, May 26, 2026 at 12:40:12PM +0200, Oleg Chaun wrote:
> Commit b2aa61556fcf ("qnx6: Convert qnx6_get_page() to
> qnx6_get_folio()") breaks qnx6 readdir on 6.12, 6.18 and 7.0 by
> dropping the QNX6_DIR_ENTRY_SIZE scaling in the entry-pointer
> arithmetic.

Thanks for the report. As Thorsten noted, Arpith already posted a fix
at:

  https://lore.kernel.org/all/20260310102233.391113-1-arpithk@nvidia.com/

with Al Viro's review feedback still pending. There is no upstream
commit to cherry-pick yet, so I cannot queue anything for stable until
an upstream fix lands.

-- 
Thanks,
Sasha

      parent reply	other threads:[~2026-05-26 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-26 10:40 Subject:[REGRESSION] fs/qnx6: incorrect pointer arithmetic breaks dir scanning completely Oleg Chaun
2026-05-26 11:02 ` Thorsten Leemhuis
2026-05-26 13:12   ` Arpith Kalaginanavoor
2026-05-26 13:38 ` Sasha Levin [this message]

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=20260526140000.agent5-0003@kernel.org \
    --to=sashal@kernel.org \
    --cc=brauner@kernel.org \
    --cc=olegchaun@gmail.com \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    --cc=willy@infradead.org \
    /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