Bug 1227619 (CVE-2024-39492) - VUL-0: CVE-2024-39492: kernel: mailbox: mtk-cmdq: fix pm_runtime_get_sync() warning in mbox shutdown
Summary: VUL-0: CVE-2024-39492: kernel: mailbox: mtk-cmdq: fix pm_runtime_get_sync() w...
Status: NEW
Alias: CVE-2024-39492
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/413563/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-39492:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-10 10:21 UTC by SMASH SMASH
Modified: 2024-07-10 15:30 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-07-10 10:21:56 UTC
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().

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-39492
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-39492.mbox
https://git.kernel.org/stable/c/2d42a37a4518478f075ccf848242b4a50e313a46
https://git.kernel.org/stable/c/747a69a119c469121385543f21c2d08562968ccc
https://www.cve.org/CVERecord?id=CVE-2024-39492