CVE-2023-52606 powerpc/lib: Validate size for vector operations

High 7.8 Published Updated

A missing size validation in PowerPC vector operations allows kernel stack corruption, potentially leading to privilege escalation or denial of service.

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-52606?

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

powerpc/lib: Validate size for vector operations

Some of the fp/vmx code in sstep.c assume a certain maximum size for the instructions being emulated. The size of those operations however is determined separately in analyse_instr().

Add a check to validate the assumption on the maximum size of the operations, so as to prevent any unintended kernel stack corruption.

Weakness: CWE-770

Which versions are affected by CVE-2023-52606?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52606?

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-52606 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52606, DEBIAN-CVE-2023-52606, GHSA-vcwv-jw38-8hqp, UBUNTU-CVE-2023-52606.

Is CVE-2023-52606 in your software?

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

Check your SBOMs for free