* Linux 6.6.133
@ 2026-04-06 8:00 Greg Kroah-Hartman
2026-04-06 8:00 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Greg Kroah-Hartman @ 2026-04-06 8:00 UTC (permalink / raw)
To: linux-kernel, akpm, torvalds, stable; +Cc: lwn, jslaby, Greg Kroah-Hartman
I'm announcing the release of the 6.6.133 kernel.
All users of the 6.6 kernel series must upgrade.
The updated 6.6.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.6.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 +-
fs/xattr.c | 10 +++++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
Al Viro (1):
xattr: switch to CLASS(fd)
Greg Kroah-Hartman (1):
Linux 6.6.133
Tomasz Kramkowski (1):
Revert "xattr: switch to CLASS(fd)"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linux 6.6.133
2026-04-06 8:00 Linux 6.6.133 Greg Kroah-Hartman
@ 2026-04-06 8:00 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2026-04-06 8:00 UTC (permalink / raw)
To: linux-kernel, akpm, torvalds, stable; +Cc: lwn, jslaby, Greg Kroah-Hartman
diff --git a/Makefile b/Makefile
index 56ff90e4d603..753e98740a5e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 6
-SUBLEVEL = 132
+SUBLEVEL = 133
EXTRAVERSION =
NAME = Pinguïn Aangedreven
diff --git a/fs/xattr.c b/fs/xattr.c
index 5f2d74332ea6..20a038b06d12 100644
--- a/fs/xattr.c
+++ b/fs/xattr.c
@@ -699,6 +699,8 @@ SYSCALL_DEFINE5(fsetxattr, int, fd, const char __user *, name,
CLASS(fd, f)(fd);
+ if (!f.file)
+ return -EBADF;
audit_file(f.file);
error = setxattr_copy(name, &ctx);
if (error)
@@ -810,6 +812,8 @@ SYSCALL_DEFINE4(fgetxattr, int, fd, const char __user *, name,
{
CLASS(fd, f)(fd);
+ if (!f.file)
+ return -EBADF;
audit_file(f.file);
return getxattr(file_mnt_idmap(f.file), f.file->f_path.dentry,
name, value, size);
@@ -881,8 +885,10 @@ SYSCALL_DEFINE3(flistxattr, int, fd, char __user *, list, size_t, size)
{
CLASS(fd, f)(fd);
+ if (!f.file)
+ return -EBADF;
audit_file(f.file);
- return listxattr(f.file->f_path.dentry, list, size);
+ return listxattr(f.file->f_path.dentry, list, size);
}
/*
@@ -943,6 +949,8 @@ SYSCALL_DEFINE2(fremovexattr, int, fd, const char __user *, name)
char kname[XATTR_NAME_MAX + 1];
int error;
+ if (!f.file)
+ return -EBADF;
audit_file(f.file);
error = strncpy_from_user(kname, name, sizeof(kname));
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-06 8:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-06 8:00 Linux 6.6.133 Greg Kroah-Hartman
2026-04-06 8:00 ` 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