summaryrefslogtreecommitdiff
path: root/include/asm-generic/unaligned.h
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2026-04-05 14:45:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-06 10:55:58 +0300
commit16d41d32b7c76f547f98932f2d1e4b6ae2c0666c (patch)
tree611d8e6d8d7a05d0e030f1fef0f2a10fbd263920 /include/asm-generic/unaligned.h
parent08667c1437c07ce2e5d323165031ae152d6f061a (diff)
downloadlinux-16d41d32b7c76f547f98932f2d1e4b6ae2c0666c.tar.xz
Revert "xattr: switch to CLASS(fd)"
This reverts commit 5a1e865e51063d6c56f673ec8ad4b6604321b455 which is commit a71874379ec8c6e788a61d71b3ad014a8d9a5c08 upstream. A backporting mistake erroneously removed file descriptor checks for `fgetxattr`, `flistxattr`, `fremovexattr`, and `fsetxattr` which lead to kernel panics when those functions were called from userspace with a file descriptor which did not reference an open file. Reported-by: Brad Spengler <spender@grsecurity.net> Closes: https://x.com/spendergrsec/status/2040049852793450561 Cc: Alva Lan <alvalan9@foxmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Tomasz Kramkowski <tomasz@kramkow.ski> Tested-by: Barry K. Nathan <barryn@pobox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/asm-generic/unaligned.h')
0 files changed, 0 insertions, 0 deletions