CVE-2023-52916 media: aspeed: Fix memory overwrite if timing is 1600x900

High 7.8 Published Updated

A memory overwrite in the Linux kernel's Aspeed media driver can cause a system crash when capturing 1600x900 video under tight memory conditions.

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-2023-52916?

CVE-2023-52916 is a high-severity memory corruption vulnerability in Linux kernel, published on 6 Sep 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:

media: aspeed: Fix memory overwrite if timing is 1600x900

When capturing 1600x900, system could crash when system memory usage is tight.

The way to reproduce this issue: 1. Use 1600x900 to display on host 2. Mount ISO through 'Virtual media' on OpenBMC's web 3. Run script as below on host to do sha continuously #!/bin/bash while [ [1] ]; do find /media -type f -printf '"%h/%f"\n' | xargs sha256sum done 4. Open KVM on OpenBMC's web

The size of macro block captured is 8x8. Therefore, we should make sure the height of src-buf is 8 aligned to fix this issue.

Weakness: CWE-787

Which versions are affected by CVE-2023-52916?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52916?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-52916 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52916, DEBIAN-CVE-2023-52916, GHSA-722x-w6hg-5675, ROOT-OS-DEBIAN-11-CVE-2023-52916, ROOT-OS-UBUNTU-2204-CVE-2023-52916, UBUNTU-CVE-2023-52916.

Is CVE-2023-52916 in your software?

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

Check your SBOMs for free