diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2022-06-20 10:15:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-29 09:58:46 +0300 |
commit | c7bdaad9cbfe17c83e4f56c7bb7a2d87d944f0fb (patch) | |
tree | 43e2fc3174411cd47a1adff1ccb80275b3ca16cc /arch | |
parent | 05c6c36c79311d9a00a79f88647f83a7cf009624 (diff) | |
download | linux-c7bdaad9cbfe17c83e4f56c7bb7a2d87d944f0fb.tar.xz |
udmabuf: add back sanity check
[ Upstream commit 05b252cccb2e5c3f56119d25de684b4f810ba40a ]
Check vm_fault->pgoff before using it. When we removed the warning, we
also removed the check.
Fixes: 7b26e4e2119d ("udmabuf: drop WARN_ON() check.")
Reported-by: zdi-disclosures@trendmicro.com
Suggested-by: Linus Torvalds <torvalds@linuxfoundation.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions