diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2022-06-20 09:15:47 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2023-01-06 06:31:01 +0100 |
commit | 0bb324ec3d27998155ec92f5e196b5912930538e (patch) | |
tree | 8c439c662773b6b19bcebeed70a1bea66e542488 /Documentation | |
parent | 4c00ac500d0edd1a6730c4e8293834a694c1b304 (diff) | |
download | linux-drm-udmabuf-fix.tar.gz |
udmabuf: add sanity checkdrm-udmabuf-fix
Check vm_fault->pgoff before using it.
Also set VM_DONTEXPAND for the vma, dma-bufs have a fixed size.
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions