CVE-2024-53127 Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K"

High 7.8 Published Updated

A regression in the Linux kernel MMC driver causes system panics and data corruption when booting from SD cards on specific hardware.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-53127?

CVE-2024-53127 is a high-severity denial of service vulnerability in Linux kernel, published on 4 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2024-53127?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53127?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-53127 being exploited?

There is no known exploitation of CVE-2024-53127 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-54120, BELL-CVE-2024-53127, DEBIAN-CVE-2024-53127, GHSA-5cwm-fg2p-g6pp, UBUNTU-CVE-2024-53127.

Is CVE-2024-53127 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free