Bug 1227787 (CVE-2024-40924)

Summary: VUL-0: CVE-2024-40924: kernel: drm/i915/dpt: make DPT object unshrinkable
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: camila.matos, miroslav.franc
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/413851/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-40924:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-07-15 12:03:09 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/i915/dpt: Make DPT object unshrinkable

In some scenarios, the DPT object gets shrunk but
the actual framebuffer did not and thus its still
there on the DPT's vm->bound_list. Then it tries to
rewrite the PTEs via a stale CPU mapping. This causes panic.

[vsyrjala: Add TODO comment]
(cherry picked from commit 51064d471c53dcc8eddd2333c3f1c1d9131ba36c)

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40924
https://www.cve.org/CVERecord?id=CVE-2024-40924
https://git.kernel.org/stable/c/327280149066f0e5f2e50356b5823f76dabfe86e
https://git.kernel.org/stable/c/43e2b37e2ab660c3565d4cff27922bc70e79c3f1
https://git.kernel.org/stable/c/7a9883be3b98673333eec65c4a21cc18e60292eb
https://git.kernel.org/stable/c/a2552020fb714ff357182c3c179abfac2289f84d
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40924.mbox