summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2023-03-06 04:20:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-30 13:51:31 +0300
commit3cee5bd222488dc986b5242cee7f80919e75ad62 (patch)
tree9330429fe4b84c54fbe1f33e386a310df5ac7397 /drivers/gpu/drm/amd
parent9519b377f61ba2eb39dc509024c0cda4c11c6c7b (diff)
downloadlinux-3cee5bd222488dc986b5242cee7f80919e75ad62.tar.xz
sh: sanitize the flags on sigreturn
[ Upstream commit 573b22ccb7ce9ab7f0539a2e11a9d3609a8783f5 ] We fetch %SR value from sigframe; it might have been modified by signal handler, so we can't trust it with any bits that are not modifiable in user mode. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Rich Felker <dalias@libc.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd')
0 files changed, 0 insertions, 0 deletions