mailbox: qcom-cpucp: handle NULL data in send_data callback
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: mailbox: qcom-cpucp: handle NULL data in send_data callback mailbox_clear_channel() calls mbox_send_message() with NULL data to notify the remote side that the RX channel has been cleared. qcom_cpucp_mbox_send_data() blindly dereferenced the data pointer, causing a NULL pointer dereference kernel panic when invoked from this path under PREEMPT_RT. Add an explicit NULL check and return early without writing to the TX register, which is the correct behaviour for a channel-clear notification.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 0e2a9a03106cd5fa0dbc9047675e7645c55e2669 · fixed in 3d11d2a6c9a10de287e0f1b53a5e65d16afe2760; From 0e2a9a03106cd5fa0dbc9047675e7645c55e2669 · fixed in 413b0b94d6d06b8d49735280e86a01dac90cf177; From 0e2a9a03106cd5fa0dbc9047675e7645c55e2669 · fixed in b3d73e7440e0c40644285be1bda349cdf90122d8; From 0e2a9a03106cd5fa0dbc9047675e7645c55e2669 · fixed in fc4f2f99530298a1739226947aa76525142d421d
- Linux Linux
6.11
- KernelLinux
From 6.11.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6