CVE-2024-40976
publisheddrm/lima: mask irqs in timeout path before hard reset
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 03e7b2f7ae4c0ae5fb8e4e2454ba4008877f196a · a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 70aa1f2dec46b6fdb5f6b9f37b6bfa4a4dee0d3a · a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 9fd8ddd23793a50dbcd11c6ba51f437f1ea7d344 · a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < bdbc4ca77f5eaac15de7230814253cddfed273b1 · a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 58bfd311c93d66d8282bf21ebbf35cc3bb8ad9db · a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < a421cc7a6a001b70415aa4f66024fa6178885a14 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.2 (affected) · 0 to < 5.2 (unaffected · semver) · 5.10.221 through 5.10.* (unaffected · semver) · 5.15.162 through 5.15.* (unaffected · semver) · 6.1.96 through 6.1.* (unaffected · semver) · 6.6.36 through 6.6.* (unaffected · semver) · 6.9.7 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.99-1 | DSA-5731-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| Debian | bullseye | linux | Advisory build | 5.10.221-1 | DSA-5730-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.64.1 | SUSE-SU-2024:2894-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.64.1 | SUSE-SU-2024:2894-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.64.1 | SUSE-SU-2024:2894-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.63.1 | SUSE-SU-2024:2947-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.63.1 | SUSE-SU-2024:2947-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.63.1 | SUSE-SU-2024:2947-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.63.1 | SUSE-SU-2024:2947-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.73.1.150500.6.33.8 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.73.1.150500.6.33.8 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.73.1.150500.6.33.8 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-extrax86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-azurenoarch | Advisory build | 5.14.21-150500.33.63.1 | SUSE-SU-2024:2947-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: drm/lima: mask irqs in timeout path before hard reset There is a race condition in which a rendering job might take just long enough to trigger the drm sched job timeout handler but also still complete before the hard reset is done by the timeout handler. This runs into race conditions not expected by the timeout handler. In some very specific cases it currently may result in a refcount imbalance on lima_pm_idle, with a stack dump such as: [10136.669170] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/lima/lima_devfreq.c:205 lima_devfreq_record_idle+0xa0/0xb0 ... [10136.669459] pc : lima_devfreq_record_idle+0xa0/0xb0 ... [10136.669628] Call trace: [10136.669634] lima_devfreq_record_idle+0xa0/0xb0 [10136.669646] lima_sched_pipe_task_done+0x5c/0xb0 [10136.669656] lima_gp_irq_handler+0xa8/0x120 [10136.669666] __handle_irq_event_percpu+0x48/0x160 [10136.669679] handle_irq_event+0x4c/0xc0 We can prevent that race condition entirely by masking the irqs at the beginning of the timeout handler, at which point we give up on waiting for that job entirely. The irqs will be enabled again at the next hard reset which is already done as a recovery by the timeout handler.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 03e7b2f7ae4c0ae5fb8e4e2454ba4008877f196a (affected · git)a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 70aa1f2dec46b6fdb5f6b9f37b6bfa4a4dee0d3a (affected · git)a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 9fd8ddd23793a50dbcd11c6ba51f437f1ea7d344 (affected · git)a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < bdbc4ca77f5eaac15de7230814253cddfed273b1 (affected · git)a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 58bfd311c93d66d8282bf21ebbf35cc3bb8ad9db (affected · git)a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < a421cc7a6a001b70415aa4f66024fa6178885a14 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.2 (affected)0 to < 5.2 (unaffected · semver)5.10.221 through 5.10.* (unaffected · semver)5.15.162 through 5.15.* (unaffected · semver)6.1.96 through 6.1.* (unaffected · semver)6.6.36 through 6.6.* (unaffected · semver)6.9.7 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/03e7b2f7ae4c0ae5fb8e4e2454ba4008877f196a
- https://git.kernel.org/stable/c/58bfd311c93d66d8282bf21ebbf35cc3bb8ad9db
- https://git.kernel.org/stable/c/70aa1f2dec46b6fdb5f6b9f37b6bfa4a4dee0d3a
- https://git.kernel.org/stable/c/9fd8ddd23793a50dbcd11c6ba51f437f1ea7d344
- https://git.kernel.org/stable/c/a421cc7a6a001b70415aa4f66024fa6178885a14
- https://git.kernel.org/stable/c/bdbc4ca77f5eaac15de7230814253cddfed273b1
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
drm/lima: mask irqs in timeout path before hard reset
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- da9526d8281c4ca3ee079eb2c0bf231fb69fb533e6e4ca789a7625e6b706f4f5
- Ingested
- 23 Sep 2026, 08:26:02 UTC
- Source record
- Official CVE record