CVE-2024-42319
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-42319 affects the Linux kernel's CMDQ (Command Queue) mailbox driver. The vulnerability was discovered when a WARN_ON message occurred during mtk-cmdq unbinding, specifically when pm_runtime_get_sync() returned a negative value. The issue was disclosed on August 17, 2024, and affects the MediaTek CMDQ driver implementation in the Linux kernel (NVD).

Technical details

The vulnerability stems from an incorrect ordering of operations in the cmdq_probe() function. The issue occurs because devm_mbox_controller_register() is called before devm_pm_runtime_enable(), causing pm_runtime_get_sync() to be called after pm_runtime_disable() during device unbinding. This creates a race condition in the following call sequence: cmdq_mbox_shutdown -> mbox_free_channel -> mbox_controller_unregister -> __devm_mbox_controller_unregister (Kernel Commit).

Impact

When the vulnerability is triggered during device unbinding, it results in a WARN_ON message and potential system instability. The issue affects systems using the MediaTek CMDQ driver in the Linux kernel (NVD).

Exploitability

The vulnerability requires local access to a system using the affected MediaTek CMDQ driver and can only be triggered during device unbinding operations. There are no known reports of this vulnerability being exploited in the wild (NVD).

Mitigation and workarounds

The issue has been fixed by moving the devm_mbox_controller_register() call after devm_pm_runtime_enable() in the cmdq_probe() function. This ensures that devm_pm_runtime_disable() is called after devm_mbox_controller_unregister(). The fix is available in the Linux kernel through commit a8bd68e4329f9a0ad1b878733e0f80be6a971649 (Kernel Commit). Users should update their Linux kernel to a version containing this fix.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.123-1

Fixed

bullseye

linux-6.1: 6.1.128-1~deb11u1

Fixed

sid

linux: 6.10.3-1

Fixed

trixie

linux: 6.10.3-1

Fixed

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management