summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-06-20 10:15:47 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-06-20 16:38:29 +0300
commit05b252cccb2e5c3f56119d25de684b4f810ba40a (patch)
tree3440116ce35993ffedcfa6067503574208e77062 /tools/include
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e (diff)
downloadlinux-05b252cccb2e5c3f56119d25de684b4f810ba40a.tar.xz
udmabuf: add back sanity check
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>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions