summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-04-05 12:42:25 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-04-05 12:42:25 -0700
commit5401b9adebc9e5f68df58226f51493ef0e6ceb4d (patch)
treea743fde152e65e85bb255b2662d83295af74c2d1 /include/asm-powerpc/git@git.tavy.me:linux.git
parenteb3765aa711ff93664cd5ffcf0c2df02da2d9c26 (diff)
i915: don't use a vma that didn't match the context VM
In eb_lookup_vma(), the code checks that the context vm matches before incrementing the i915 vma usage count, but for the non-matching case it didn't clear the non-matching vma pointer, so it would then mistakenly be returned, causing potential UaF and refcount issues. Reported-by: Yassine Mounir <sosohero200@gmail.com> Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-powerpc/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions