CVE-2024-40926

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-40926
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40926.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-40926
Downstream
Related
Published
2024-07-12T12:25:06Z
Modified
2025-10-16T00:46:50.644140Z
Summary
drm/nouveau: don't attempt to schedule hpd_work on headless cards
Details

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, hpdwork and hpdlock 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

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ae1aadb1eb8d3cbc52e42bee71d67bd4a71f9f07
Fixed
227349998e5740f14d531b0f0d704e66b1ed3c2f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ae1aadb1eb8d3cbc52e42bee71d67bd4a71f9f07
Fixed
b96a225377b6602299a03d2ce3c289b68cd41bb7

Affected versions

v6.*

v6.10-rc1
v6.7
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7
v6.9.1
v6.9.2
v6.9.3
v6.9.4
v6.9.5

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.6