CVE-2024-39492

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-39492
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-39492.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-39492
Downstream
Published
2024-07-10T07:14:10Z
Modified
2025-10-17T07:39:04.797319Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
mailbox: mtk-cmdq: Fix pm_runtime_get_sync() warning in mbox shutdown
Details

In the Linux kernel, the following vulnerability has been resolved:

mailbox: mtk-cmdq: Fix pmruntimeget_sync() warning in mbox shutdown

The return value of pmruntimegetsync() in cmdqmbox_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().

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
8afe816b0c9944a11adb12628e3b700a08a55d52
Fixed
2d42a37a4518478f075ccf848242b4a50e313a46
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8afe816b0c9944a11adb12628e3b700a08a55d52
Fixed
747a69a119c469121385543f21c2d08562968ccc

Affected versions

v6.*

v6.6
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
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

Database specific

vanir_signatures

[
    {
        "id": "CVE-2024-39492-5ae2b814",
        "digest": {
            "length": 730.0,
            "function_hash": "307943815787191775612493315489334057831"
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/mailbox/mtk-cmdq-mailbox.c",
            "function": "cmdq_mbox_shutdown"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@747a69a119c469121385543f21c2d08562968ccc",
        "signature_type": "Function",
        "deprecated": false
    },
    {
        "id": "CVE-2024-39492-7c0bae61",
        "digest": {
            "length": 730.0,
            "function_hash": "307943815787191775612493315489334057831"
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/mailbox/mtk-cmdq-mailbox.c",
            "function": "cmdq_mbox_shutdown"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d42a37a4518478f075ccf848242b4a50e313a46",
        "signature_type": "Function",
        "deprecated": false
    },
    {
        "id": "CVE-2024-39492-83b7f900",
        "digest": {
            "line_hashes": [
                "302390445529414563176213144990875856151",
                "127031979504968798712202540188188759378",
                "53701003449595287657609249282733471776",
                "269005576542522053928221796721156038267"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/mailbox/mtk-cmdq-mailbox.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@747a69a119c469121385543f21c2d08562968ccc",
        "signature_type": "Line",
        "deprecated": false
    },
    {
        "id": "CVE-2024-39492-d419ea1a",
        "digest": {
            "line_hashes": [
                "302390445529414563176213144990875856151",
                "127031979504968798712202540188188759378",
                "53701003449595287657609249282733471776",
                "269005576542522053928221796721156038267"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/mailbox/mtk-cmdq-mailbox.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d42a37a4518478f075ccf848242b4a50e313a46",
        "signature_type": "Line",
        "deprecated": false
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.4