public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.6.y v2 0/2] Fix `fremovexattr` missing `fdput`
@ 2026-04-05 11:45 Tomasz Kramkowski
  2026-04-05 11:45 ` [PATCH 6.6.y v2 1/2] Revert "xattr: switch to CLASS(fd)" Tomasz Kramkowski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tomasz Kramkowski @ 2026-04-05 11:45 UTC (permalink / raw)
  To: Greg Kroah-Hartman, stable
  Cc: Alexander Viro, Christian Brauner, linux-fsdevel,
	Tomasz Kramkowski

As discussed, a v2 which includes the revert from the previous version
[0] and a new attempt at backporiting the upstream change which doesn't
cause the regression introduced in the first attempt[1].

In total, this fixes the missing `fdput` in the `fremovexattr`
`copy_from_user` error path that the backport was intended for.

I tested both the error case and the happy case in qemu.

[0]: https://lore.kernel.org/stable/20260404112219.389495-1-tomasz@kramkow.ski/
[1]: https://lore.kernel.org/stable/tencent_72B5370E2D4C4AC319ED4F0DCB479CA4B406@qq.com/

Al Viro (1):
  xattr: switch to CLASS(fd)

Tomasz Kramkowski (1):
  Revert "xattr: switch to CLASS(fd)"

 fs/xattr.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

-- 
2.51.0


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

end of thread, other threads:[~2026-04-06  7:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-05 11:45 [PATCH 6.6.y v2 0/2] Fix `fremovexattr` missing `fdput` Tomasz Kramkowski
2026-04-05 11:45 ` [PATCH 6.6.y v2 1/2] Revert "xattr: switch to CLASS(fd)" Tomasz Kramkowski
2026-04-05 11:45 ` [PATCH 6.6.y v2 2/2] xattr: switch to CLASS(fd) Tomasz Kramkowski
2026-04-05 17:05 ` [PATCH 6.6.y v2 0/2] Fix `fremovexattr` missing `fdput` Barry K. Nathan
2026-04-06  7:18   ` Greg Kroah-Hartman

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