[git pull] vfs.git fixes
From: Al Viro
Date: Fri Mar 10 2023 - 15:27:59 EST
fs/file.c one is a genuine missing speculation barrier in pick_file() (reachable
e.g. via close(2)); alpha one is strictly speaking not a bug fix, but only
because confusion between preempt_enable() and preempt_disable() is harmless
on architecture without CONFIG_PREEMPT. Looks like alpha.git picked the
wrong version of patch - that braino used to be there in early versions, but
it had been fixed quite a while ago... I've checked what ended up in mainline,
fortunately all other parts of commit match the latest variant in my tree.
The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:
Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fixes
for you to fetch changes up to 609d54441493c99f21c1823dfd66fa7f4c512ff4:
fs: prevent out-of-bounds array speculation when closing a file descriptor (2023-03-09 22:46:21 -0500)
----------------------------------------------------------------
pick_file() speculation fix + fix for alpha mis(merge,cherry-pick)
Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
----------------------------------------------------------------
Al Viro (1):
alpha: fix lazy-FPU mis(merged/applied/whatnot)
Theodore Ts'o (1):
fs: prevent out-of-bounds array speculation when closing a file descriptor
arch/alpha/lib/fpreg.c | 4 ++--
fs/file.c | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)