Bug 1227791 (CVE-2024-40926) - VUL-0: CVE-2024-40926: kernel: drm/nouveau: don't attempt to schedule hpd_work on headless cards
Summary: VUL-0: CVE-2024-40926: kernel: drm/nouveau: don't attempt to schedule hpd_wor...
Status: RESOLVED FIXED
Alias: CVE-2024-40926
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/413853/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-40926:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-15 12:19 UTC by SMASH SMASH
Modified: 2024-07-16 19:42 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-07-15 12:19:54 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau: don't attempt to schedule hpd_work on headless cards

If the card doesn't have display hardware, hpd_work and hpd_lock are
left uninitialized which causes BUG when attempting to schedule hpd_work
on runtime PM resume.

Fix it by adding headless flag to DRM and skip any hpd if it's set.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40926
https://www.cve.org/CVERecord?id=CVE-2024-40926
https://git.kernel.org/stable/c/227349998e5740f14d531b0f0d704e66b1ed3c2f
https://git.kernel.org/stable/c/b96a225377b6602299a03d2ce3c289b68cd41bb7
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40926.mbox