CVE-2023-52608
firmware: arm_scmi: Check mailbox/SMT channel for consistency
Description
In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scmi: Check mailbox/SMT channel for consistency On reception of a completion interrupt the shared memory area is accessed to retrieve the message header at first and then, if the message sequence number identifies a transaction which is still pending, the related payload is fetched too. When an SCMI command times out the channel ownership remains with the platform until eventually a late reply is received and, as a consequence, any further transmission attempt remains pending, waiting for the channel to be relinquished by the platform. Once that late reply is received the channel ownership is given back to the agent and any pending request is then allowed to proceed and overwrite the SMT area of the just delivered late reply; then the wait for the reply to the new request starts. It has been observed that the spurious IRQ related to the late reply can be wrongly associated with the freshly enqueued request: when that happens the SCMI stack in-flight lookup procedure is fooled by the fact that the message header now present in the SMT area is related to the new pending transaction, even though the real reply has still to arrive. This race-condition on the A2P channel can be detected by looking at the channel status bits: a genuine reply from the platform will have set the channel free bit before triggering the completion IRQ. Add a consistency check to validate such condition in the A2P ISR.
INFO
Published Date :
March 13, 2024, 2:15 p.m.
Last Modified :
Feb. 25, 2025, 6:52 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to a patched version.
- Reboot the system after the update.
Public PoC/Exploit Available at Github
CVE-2023-52608 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52608.
| URL | Resource |
|---|---|
| https://git.kernel.org/stable/c/12dc4217f16551d6dee9cbefc23fdb5659558cda | Mailing List Patch |
| https://git.kernel.org/stable/c/437a310b22244d4e0b78665c3042e5d1c0f45306 | Mailing List Patch |
| https://git.kernel.org/stable/c/614cc65032dcb0b64d23f5c5e338a8a04b12be5d | Mailing List Patch |
| https://git.kernel.org/stable/c/7f95f6997f4fdd17abec3200cae45420a5489350 | Mailing List Patch |
| https://git.kernel.org/stable/c/9b5e1b93c83ee5fc9f5d7bd2d45b421bd87774a2 | Mailing List Patch |
| https://git.kernel.org/stable/c/12dc4217f16551d6dee9cbefc23fdb5659558cda | Mailing List Patch |
| https://git.kernel.org/stable/c/437a310b22244d4e0b78665c3042e5d1c0f45306 | Mailing List Patch |
| https://git.kernel.org/stable/c/614cc65032dcb0b64d23f5c5e338a8a04b12be5d | Mailing List Patch |
| https://git.kernel.org/stable/c/7f95f6997f4fdd17abec3200cae45420a5489350 | Mailing List Patch |
| https://git.kernel.org/stable/c/9b5e1b93c83ee5fc9f5d7bd2d45b421bd87774a2 | Mailing List Patch |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52608 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52608
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Ini adalah repository kumpulan CVE v.5
allcve cve cvelist newcve
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52608 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52608 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 25, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-362 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.7 up to (excluding) 5.15.149 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.76 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.15 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.3 *cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/12dc4217f16551d6dee9cbefc23fdb5659558cda No Types Assigned https://git.kernel.org/stable/c/12dc4217f16551d6dee9cbefc23fdb5659558cda Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/12dc4217f16551d6dee9cbefc23fdb5659558cda No Types Assigned https://git.kernel.org/stable/c/12dc4217f16551d6dee9cbefc23fdb5659558cda Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/437a310b22244d4e0b78665c3042e5d1c0f45306 No Types Assigned https://git.kernel.org/stable/c/437a310b22244d4e0b78665c3042e5d1c0f45306 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/437a310b22244d4e0b78665c3042e5d1c0f45306 No Types Assigned https://git.kernel.org/stable/c/437a310b22244d4e0b78665c3042e5d1c0f45306 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/614cc65032dcb0b64d23f5c5e338a8a04b12be5d No Types Assigned https://git.kernel.org/stable/c/614cc65032dcb0b64d23f5c5e338a8a04b12be5d Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/614cc65032dcb0b64d23f5c5e338a8a04b12be5d No Types Assigned https://git.kernel.org/stable/c/614cc65032dcb0b64d23f5c5e338a8a04b12be5d Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/7f95f6997f4fdd17abec3200cae45420a5489350 No Types Assigned https://git.kernel.org/stable/c/7f95f6997f4fdd17abec3200cae45420a5489350 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/7f95f6997f4fdd17abec3200cae45420a5489350 No Types Assigned https://git.kernel.org/stable/c/7f95f6997f4fdd17abec3200cae45420a5489350 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/9b5e1b93c83ee5fc9f5d7bd2d45b421bd87774a2 No Types Assigned https://git.kernel.org/stable/c/9b5e1b93c83ee5fc9f5d7bd2d45b421bd87774a2 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/9b5e1b93c83ee5fc9f5d7bd2d45b421bd87774a2 No Types Assigned https://git.kernel.org/stable/c/9b5e1b93c83ee5fc9f5d7bd2d45b421bd87774a2 Mailing List, Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/12dc4217f16551d6dee9cbefc23fdb5659558cda Added Reference https://git.kernel.org/stable/c/437a310b22244d4e0b78665c3042e5d1c0f45306 Added Reference https://git.kernel.org/stable/c/614cc65032dcb0b64d23f5c5e338a8a04b12be5d Added Reference https://git.kernel.org/stable/c/7f95f6997f4fdd17abec3200cae45420a5489350 Added Reference https://git.kernel.org/stable/c/9b5e1b93c83ee5fc9f5d7bd2d45b421bd87774a2 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 13, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scmi: Check mailbox/SMT channel for consistency On reception of a completion interrupt the shared memory area is accessed to retrieve the message header at first and then, if the message sequence number identifies a transaction which is still pending, the related payload is fetched too. When an SCMI command times out the channel ownership remains with the platform until eventually a late reply is received and, as a consequence, any further transmission attempt remains pending, waiting for the channel to be relinquished by the platform. Once that late reply is received the channel ownership is given back to the agent and any pending request is then allowed to proceed and overwrite the SMT area of the just delivered late reply; then the wait for the reply to the new request starts. It has been observed that the spurious IRQ related to the late reply can be wrongly associated with the freshly enqueued request: when that happens the SCMI stack in-flight lookup procedure is fooled by the fact that the message header now present in the SMT area is related to the new pending transaction, even though the real reply has still to arrive. This race-condition on the A2P channel can be detected by looking at the channel status bits: a genuine reply from the platform will have set the channel free bit before triggering the completion IRQ. Add a consistency check to validate such condition in the A2P ISR. Added Reference Linux https://git.kernel.org/stable/c/614cc65032dcb0b64d23f5c5e338a8a04b12be5d [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/7f95f6997f4fdd17abec3200cae45420a5489350 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/9b5e1b93c83ee5fc9f5d7bd2d45b421bd87774a2 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/12dc4217f16551d6dee9cbefc23fdb5659558cda [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/437a310b22244d4e0b78665c3042e5d1c0f45306 [No types assigned]