# CVE-2024-53127: Revert "mmc: dw\_mmc: Fix IDMAC operation with pages bigger than 4K"

> 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, CNA) `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.34% (percentile 20, 2026-11-26)
- **Published:** 2024-12-04T14:20:31.547Z
- **Modified:** 2026-08-05T11:43:57.321Z

## Who should check

- Anyone running Linux \>= 32bd402f6760d57127d58a9888553b2db574bba6, \< 00bff71745bc3583bd5ca59be91e0ee1d27f1944; \>= b9ee16a20d9976686185d7e59cd006c328b6a1e0, \< 47693ba35bccaa16efa465159a1c12d78258349e; \>= 2793f423893579b35dc1fc24dd7c1ce58fa0345a, \< 938c13740f8b555986e53c0fcbaf00dcd1fabd4c; \>= 9d715a234dd8f01af970b78ae2144a2fd3ead21c, \< f701eb601470bfc0a551913ce5f6ebaa770f0ce0; \>= 373f8f5b087f010dddae3306a79c6fdd5c2f8953, \< 8f9416147d7ed414109d3501f1cb3d7a1735b25a; \>= 5b4bf3948875064a9adcda4b52b59e0520a8c576, \< 56de724c58c07a7ca3aac027cfd2ccb184ed9e4e; \>= 8396c793ffdf28bb8aee7cfe0891080f8cab7890, \< a4685366f07448420badb710ff5c12aaaadf63ad; \>= 8396c793ffdf28bb8aee7cfe0891080f8cab7890, \< 1635e407a4a64d08a8517ac59ca14ad4fc785e75; 5b1ef10f7d49f3320b0faa894204259e590ce588; \>= 4.19.322, \< 4.19.325; …
- Anyone running Linux 6.11

## Description

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

Revert "mmc: dw\_mmc: Fix IDMAC operation with pages bigger than 4K"

The commit 8396c793ffdf ("mmc: dw\_mmc: Fix IDMAC operation with pages
bigger than 4K") increased the max\_req\_size, even for 4K pages, causing
various issues:
- Panic booting the kernel/rootfs from an SD card on Rockchip RK3566
- Panic booting the kernel/rootfs from an SD card on StarFive JH7100
- "swiotlb buffer is full" and data corruption on StarFive JH7110

At this stage no fix have been found, so it's probably better to just
revert the change.

This reverts commit 8396c793ffdf28bb8aee7cfe0891080f8cab7890.

## Affected and fixed versions

- Linux: \>= 32bd402f6760d57127d58a9888553b2db574bba6, \< 00bff71745bc3583bd5ca59be91e0ee1d27f1944; \>= b9ee16a20d9976686185d7e59cd006c328b6a1e0, \< 47693ba35bccaa16efa465159a1c12d78258349e; \>= 2793f423893579b35dc1fc24dd7c1ce58fa0345a, \< 938c13740f8b555986e53c0fcbaf00dcd1fabd4c; \>= 9d715a234dd8f01af970b78ae2144a2fd3ead21c, \< f701eb601470bfc0a551913ce5f6ebaa770f0ce0; \>= 373f8f5b087f010dddae3306a79c6fdd5c2f8953, \< 8f9416147d7ed414109d3501f1cb3d7a1735b25a; \>= 5b4bf3948875064a9adcda4b52b59e0520a8c576, \< 56de724c58c07a7ca3aac027cfd2ccb184ed9e4e; \>= 8396c793ffdf28bb8aee7cfe0891080f8cab7890, \< a4685366f07448420badb710ff5c12aaaadf63ad; \>= 8396c793ffdf28bb8aee7cfe0891080f8cab7890, \< 1635e407a4a64d08a8517ac59ca14ad4fc785e75; 5b1ef10f7d49f3320b0faa894204259e590ce588; \>= 4.19.322, \< 4.19.325; … (cvelist)
- Linux: 6.11 (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-2024-53127. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53127.md
Affected: Linux >= 32bd402f6760d57127d58a9888553b2db574bba6, < 00bff71745bc3583bd5ca59be91e0ee1d27f1944; >= b9ee16a20d9976686185d7e59cd006c328b6a1e0, < 47693ba35bccaa16efa465159a1c12d78258349e; >= 2793f423893579b35dc1fc24dd7c1ce58fa0345a, < 938c13740f8b555986e53c0fcbaf00dcd1fabd4c; >= 9d715a234dd8f01af970b78…
Fixed in: Linux 00bff71745bc3583bd5ca59be91e0ee1d27f1944, Linux 47693ba35bccaa16efa465159a1c12d78258349e, Linux 938c13740f8b555986e53c0fcbaf00dcd1fabd4c, Linux 8f9416147d7ed414109d3501f1cb3d7a1735b25a, Linux 56de724c58c07a7ca3aac027cfd2ccb184ed9e4e, Linux 1635e407a4a64d08a8517ac59ca14ad4fc785e75, Linux 4.19.…

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-2024-53127 being exploited?

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

### How serious is CVE-2024-53127?

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

### Which versions are affected by CVE-2024-53127?

Linux \>= 32bd402f6760d57127d58a9888553b2db574bba6, \< 00bff71745bc3583bd5ca59be91e0ee1d27f1944; \>= b9ee16a20d9976686185d7e59cd006c328b6a1e0, \< 47693ba35bccaa16efa465159a1c12d78258349e; \>= 2793f423893579b35dc1fc24dd7c1ce58fa0345a, \< 938c13740f8b555986e53c0fcbaf00dcd1fabd4c; \>= 9d715a234dd8f01af970b78ae2144a2fd3ead21c, \< f701eb601470bfc0a551913ce5f6ebaa770f0ce0; \>= 373f8f5b087f010dddae3306a79c6fdd5c2f8953, \< 8f9416147d7ed414109d3501f1cb3d7a1735b25a; \>= 5b4bf3948875064a9adcda4b52b59e0520a8c576, \< 56de724c58c07a7ca3aac027cfd2ccb184ed9e4e; \>= 8396c793ffdf28bb8aee7cfe0891080f8cab7890, \< a4685366f07448420badb710ff5c12aaaadf63ad; \>= 8396c793ffdf28bb8aee7cfe0891080f8cab7890, \< 1635e407a4a64d08a8517ac59ca14ad4fc785e75; 5b1ef10f7d49f3320b0faa894204259e590ce588; \>= 4.19.322, \< 4.19.325; …; Linux 6.11.

### Is there a fix for CVE-2024-53127?

Yes. Fixed in Linux 00bff71745bc3583bd5ca59be91e0ee1d27f1944, Linux 47693ba35bccaa16efa465159a1c12d78258349e, Linux 938c13740f8b555986e53c0fcbaf00dcd1fabd4c, Linux 8f9416147d7ed414109d3501f1cb3d7a1735b25a, Linux 56de724c58c07a7ca3aac027cfd2ccb184ed9e4e, Linux 1635e407a4a64d08a8517ac59ca14ad4fc785e75, Linux 4.19.325. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-53127?

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/00bff71745bc3583bd5ca59be91e0ee1d27f1944>
- patch: <https://git.kernel.org/stable/c/8f9416147d7ed414109d3501f1cb3d7a1735b25a>
- patch: <https://git.kernel.org/stable/c/56de724c58c07a7ca3aac027cfd2ccb184ed9e4e>
- patch: <https://git.kernel.org/stable/c/a4685366f07448420badb710ff5c12aaaadf63ad>
- patch: <https://git.kernel.org/stable/c/1635e407a4a64d08a8517ac59ca14ad4fc785e75>
- other: <https://git.kernel.org/stable/c/47693ba35bccaa16efa465159a1c12d78258349e>
- other: <https://git.kernel.org/stable/c/938c13740f8b555986e53c0fcbaf00dcd1fabd4c>
- other: <https://git.kernel.org/stable/c/f701eb601470bfc0a551913ce5f6ebaa770f0ce0>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## 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-2024-53127>

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