# CVE-2023-52494: bus: mhi: host: Add alignment check for event ring read pointer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2024-02-29T15:52:11.674Z
- **Modified:** 2026-07-24T15:16:54.377Z

## Who should check

- Anyone running Linux \>= a1d2bd164c1c78f87968b7883964175ec41c32ae, \< 76ed0c6f6418cec6efe6f65a0b91f84be80b72eb; \>= ec32332df7645e0ba463a08d483fe97665167071, \< 94991728c84f8df54fd9eec9b85855ef9057ea08; \>= ec32332df7645e0ba463a08d483fe97665167071, \< 2df39ac8f813860f79782807c3f7acff40b3c551; \>= ec32332df7645e0ba463a08d483fe97665167071, \< a9ebfc405fe1be145f414eafadcbf09506082010; \>= ec32332df7645e0ba463a08d483fe97665167071, \< ecf8320111822a1ae5d5fc512953eab46d543d0b; \>= ec32332df7645e0ba463a08d483fe97665167071, \< eff9704f5332a13b08fbdbe0f84059c9e7051d5f; fd5f40fc887485a8b9a6806a640a0d8e0ef1afb6; 76879a980cd5ede4cb9a638999fb80d37bc09db5; \>= 5.10.36, \< 5.10.261; \>= 5.11.20, \< 5.12; …
- Anyone running Linux 5.13

## Description

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

bus: mhi: host: Add alignment check for event ring read pointer

Though we do check the event ring read pointer by "is\_valid\_ring\_ptr"
to make sure it is in the buffer range, but there is another risk the
pointer may be not aligned.  Since we are expecting event ring elements
are 128 bits(struct mhi\_ring\_element) aligned, an unaligned read pointer
could lead to multiple issues like DoS or ring buffer memory corruption.

So add a alignment check for event ring read pointer.

## Affected and fixed versions

- Linux: \>= a1d2bd164c1c78f87968b7883964175ec41c32ae, \< 76ed0c6f6418cec6efe6f65a0b91f84be80b72eb; \>= ec32332df7645e0ba463a08d483fe97665167071, \< 94991728c84f8df54fd9eec9b85855ef9057ea08; \>= ec32332df7645e0ba463a08d483fe97665167071, \< 2df39ac8f813860f79782807c3f7acff40b3c551; \>= ec32332df7645e0ba463a08d483fe97665167071, \< a9ebfc405fe1be145f414eafadcbf09506082010; \>= ec32332df7645e0ba463a08d483fe97665167071, \< ecf8320111822a1ae5d5fc512953eab46d543d0b; \>= ec32332df7645e0ba463a08d483fe97665167071, \< eff9704f5332a13b08fbdbe0f84059c9e7051d5f; fd5f40fc887485a8b9a6806a640a0d8e0ef1afb6; 76879a980cd5ede4cb9a638999fb80d37bc09db5; \>= 5.10.36, \< 5.10.261; \>= 5.11.20, \< 5.12; … (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52494. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52494.md
Affected: Linux >= a1d2bd164c1c78f87968b7883964175ec41c32ae, < 76ed0c6f6418cec6efe6f65a0b91f84be80b72eb; >= ec32332df7645e0ba463a08d483fe97665167071, < 94991728c84f8df54fd9eec9b85855ef9057ea08; >= ec32332df7645e0ba463a08d483fe97665167071, < 2df39ac8f813860f79782807c3f7acff40b3c551; >= ec32332df7645e0ba463a08…
Fixed in: Linux 76ed0c6f6418cec6efe6f65a0b91f84be80b72eb, Linux 94991728c84f8df54fd9eec9b85855ef9057ea08, Linux 2df39ac8f813860f79782807c3f7acff40b3c551, Linux 5.10.261, Linux 5.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52494 being exploited?

There is no confirmed exploitation: CVE-2023-52494 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52494?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52494?

Linux \>= a1d2bd164c1c78f87968b7883964175ec41c32ae, \< 76ed0c6f6418cec6efe6f65a0b91f84be80b72eb; \>= ec32332df7645e0ba463a08d483fe97665167071, \< 94991728c84f8df54fd9eec9b85855ef9057ea08; \>= ec32332df7645e0ba463a08d483fe97665167071, \< 2df39ac8f813860f79782807c3f7acff40b3c551; \>= ec32332df7645e0ba463a08d483fe97665167071, \< a9ebfc405fe1be145f414eafadcbf09506082010; \>= ec32332df7645e0ba463a08d483fe97665167071, \< ecf8320111822a1ae5d5fc512953eab46d543d0b; \>= ec32332df7645e0ba463a08d483fe97665167071, \< eff9704f5332a13b08fbdbe0f84059c9e7051d5f; fd5f40fc887485a8b9a6806a640a0d8e0ef1afb6; 76879a980cd5ede4cb9a638999fb80d37bc09db5; \>= 5.10.36, \< 5.10.261; \>= 5.11.20, \< 5.12; …; Linux 5.13.

### Is there a fix for CVE-2023-52494?

Yes. Fixed in Linux 76ed0c6f6418cec6efe6f65a0b91f84be80b72eb, Linux 94991728c84f8df54fd9eec9b85855ef9057ea08, Linux 2df39ac8f813860f79782807c3f7acff40b3c551, Linux 5.10.261, Linux 5.12. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52494?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/94991728c84f8df54fd9eec9b85855ef9057ea08>
- patch: <https://git.kernel.org/stable/c/2df39ac8f813860f79782807c3f7acff40b3c551>
- patch: <https://git.kernel.org/stable/c/a9ebfc405fe1be145f414eafadcbf09506082010>
- patch: <https://git.kernel.org/stable/c/ecf8320111822a1ae5d5fc512953eab46d543d0b>
- patch: <https://git.kernel.org/stable/c/eff9704f5332a13b08fbdbe0f84059c9e7051d5f>
- other: <https://git.kernel.org/stable/c/76ed0c6f6418cec6efe6f65a0b91f84be80b72eb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52494>

HTML: <https://flawdb.com/CVE-2023-52494> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52494>
