CVE-2024-42319
mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 623a6143a845bd485b00ba684f0ccef11835edab, < 1403991a40b94438a2acc749bf05c117abdb34f9; >= 623a6143a845bd485b00ba684f0ccef11835edab, < d00df6700ad10974a7e20646956f4ff22cdbe0ec; >= 623a6143a845bd485b00ba684f0ccef11835edab, < 11fa625b45faf0649118b9deaf2d31c86ac41911; >= 623a6143a845bd485b00ba684f0ccef11835edab, < a8bd68e4329f9a0ad1b878733e0f80be6a971649
- Anyone running Linux 4.19
Vulnerability facts
- Affected
- Linux >= 623a6143a845bd485b00ba684f0ccef11835edab, < 1403991a40b94438a2acc749bf05c117abdb34f9; >= 623a6143a845bd485b00ba684f0ccef11835edab, < d00df6700ad10974a7e20646956f4ff22cdbe0ec; >= 623a6143a845bd485b00ba684f0ccef11835edab, < 11fa625b45faf0649118b9deaf2d31c86ac41911; >= 623a6143a845bd485b00ba684f0ccef11835edab, < a8bd68e4329f9a0ad1b878733e0f80be6a971649; Linux 4.19
- Fixed in
- Linux 1403991a40b94438a2acc749bf05c117abdb34f9, Linux 11fa625b45faf0649118b9deaf2d31c86ac41911
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable() When mtk-cmdq unbinds, a WARN_ON message with condition pm_runtime_get_sync() < 0 occurs. According to the call tracei below: cmdq_mbox_shutdown mbox_free_channel mbox_controller_unregister __devm_mbox_controller_unregister ... The root cause can be deduced to be calling pm_runtime_get_sync() after calling pm_runtime_disable() as observed below: 1. CMDQ driver uses devm_mbox_controller_register() in cmdq_probe() to bind the cmdq device to the mbox_controller, so devm_mbox_controller_unregister() will automatically unregister the device bound to the mailbox controller when the device-managed resource is removed. That means devm_mbox_controller_unregister() and cmdq_mbox_shoutdown() will be called after cmdq_remove(). 2. CMDQ driver also uses devm_pm_runtime_enable() in cmdq_probe() after devm_mbox_controller_register(), so that devm_pm_runtime_disable() will be called after cmdq_remove(), but before devm_mbox_controller_unregister(). To fix this problem, cmdq_probe() needs to move devm_mbox_controller_register() after devm_pm_runtime_enable() to make devm_pm_runtime_disable() be called after devm_mbox_controller_unregister().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 623a6143a845bd485b00ba684f0ccef11835edab, < 1403991a40b94438a2acc749bf05c117abdb34f9; >= 623a6143a845bd485b00ba684f0ccef11835edab, < d00df6700ad10974a7e20646956f4ff22cdbe0ec; >= 623a6143a845bd485b00ba684f0ccef11835edab, < 11fa625b45faf0649118b9deaf2d31c86ac41911; >= 623a6143a845bd485b00ba684f0ccef11835edab, < a8bd68e4329f9a0ad1b878733e0f80be6a971649 | — | cvelist |
| Linux | 4.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-42319. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-42319.md Affected: Linux >= 623a6143a845bd485b00ba684f0ccef11835edab, < 1403991a40b94438a2acc749bf05c117abdb34f9; >= 623a6143a845bd485b00ba684f0ccef11835edab, < d00df6700ad10974a7e20646956f4ff22cdbe0ec; >= 623a6143a845bd485b00ba684f0ccef11835edab, < 11fa625b45faf0649118b9deaf2d31c86ac41911; >= 623a6143a845bd485b00ba6… Fixed in: Linux 1403991a40b94438a2acc749bf05c117abdb34f9, Linux 11fa625b45faf0649118b9deaf2d31c86ac41911 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2024-42319 being exploited?
There is no confirmed exploitation: CVE-2024-42319 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-42319?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-42319?
Linux >= 623a6143a845bd485b00ba684f0ccef11835edab, < 1403991a40b94438a2acc749bf05c117abdb34f9; >= 623a6143a845bd485b00ba684f0ccef11835edab, < d00df6700ad10974a7e20646956f4ff22cdbe0ec; >= 623a6143a845bd485b00ba684f0ccef11835edab, < 11fa625b45faf0649118b9deaf2d31c86ac41911; >= 623a6143a845bd485b00ba684f0ccef11835edab, < a8bd68e4329f9a0ad1b878733e0f80be6a971649; Linux 4.19.
Is there a fix for CVE-2024-42319?
Yes. Fixed in Linux 1403991a40b94438a2acc749bf05c117abdb34f9, Linux 11fa625b45faf0649118b9deaf2d31c86ac41911. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-42319?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.