CVE-2024-39492·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: mailbox: mtk-cmdq: Fix pm_runtime_get_sync() warning in mbox shutdown The return value of pm_runtime_get_sync() in cmdq_mbox_shutdown() will return 1 when pm runtime state is active, and we don't want to get the warning message in this case. So we change the return value < 0 for WARN_ON().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.9.4
- Published
- 2024-07-10
Affected versions
From: 6.7
Until: 6.9.4
Fixed in: 6.9.4
How to fix this CVE
Update your Linux kernel to version 6.9.4 or later to resolve this mailbox driver vulnerability. The MTK CMDQ mailbox subsystem contained a logic error in shutdown procedures that could trigger erroneous runtime PM warnings and potentially mask real issues. Apply this kernel update as soon as possible to systems running affected versions 6.7 through 6.9.3.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with `uname -r` and compare against 6.9.4 — if less than 6.9.4 and within 6.7-6.9.3 range, the system is vulnerable
- Step 2: Verify MTK CMDQ mailbox module is loaded on ARM-based systems with `lsmod | grep -i cmdq` or `modprobe -n mtk_cmdq` — affected systems typically have this enabled
- Step 3: Search system logs for pm_runtime warnings in mailbox shutdown sequences with `sudo journalctl -u kernel --since='24 hours ago' | grep -E '(pm_runtime|cmdq_mbox_shutdown|WARNING|WARN_ON)'`
- Step 4: After patching, verify the new kernel is booted with `uname -r` showing 6.9.4 or later, then rerun Step 3 to confirm shutdown warnings are not present during normal operations
FAQ
What is CVE-2024-39492?
This vulnerability is a logic flaw in the MTK CMDQ mailbox driver's shutdown function where pm_runtime_get_sync() return value handling was incorrect, causing spurious warning messages and potentially obscuring real runtime power management errors on ARM-based systems.
Is CVE-2024-39492 being actively exploited?
No, there is no evidence of active exploitation in the wild. This is a local code issue affecting error handling rather than a remotely exploitable security flaw.
What versions of Kernel are affected by CVE-2024-39492?
Linux kernel versions 6.7, 6.8, 6.9, 6.9.1, 6.9.2, and 6.9.3 are affected. The vulnerability was resolved in version 6.9.4 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2024-39492?
Run `uname -r` to get your kernel version. If it shows a version between 6.7 and 6.9.3 inclusive, your system is vulnerable. Additionally, check if MTK CMDQ is enabled with `grep -i cmdq /boot/config-$(uname -r)` looking for CONFIG_MTK_CMDQ=y or =m.
Does Defensia detect CVE-2024-39492?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-39492 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-39492. Free for 1 server.
Get started free