CVE-2023-53378

Summary

In the Linux kernel, the following vulnerability has been resolved:

drm/i915/dpt: Treat the DPT BO as a framebuffer

Currently i915_gem_object_is_framebuffer() doesn't treat the BO containing the framebuffer's DPT as a framebuffer itself. This means eg. that the shrinker can evict the DPT BO while leaving the actual FB BO bound, when the DPT is allocated from regular shmem.

That causes an immediate oops during hibernate as we try to rewrite the PTEs inside the already evicted DPT obj.

TODO: presumably this might also be the reason for the DPT related display faults under heavy memory pressure, but I'm still not sure how that would happen as the object should be pinned by intel_dpt_pin() while in active use by the display engine…

(cherry picked from commit 779cb5ba64ec7df80675a956c9022929514f517a)

Affected Software

VendorProductVersion RangeStatus
LinuxLinux0dc987b699ce4266450d407d6d79d41eab88c5d0 < c781c107731fc09ce4330c8c636b8446d0f72aa4affected
LinuxLinux0dc987b699ce4266450d407d6d79d41eab88c5d0 < 5390a02b4508416b9bee96674f141c68f89bafbcaffected
LinuxLinux0dc987b699ce4266450d407d6d79d41eab88c5d0 < 3413881e1ecc3cba722a2e87ec099692eed5be28affected
LinuxLinux6.0affected
LinuxLinux0 < 6.0unaffected
LinuxLinux6.1.23 <= 6.1.*unaffected
LinuxLinux6.2.10 <= 6.2.*unaffected
LinuxLinux6.3 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References