CVE-2023-52766 i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler

High 7.8 Published Updated

An out-of-bounds access in the Linux kernel's MIPI I3C HCI driver allows attackers to cause denial of service or potentially execute code.

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

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

i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler

Do not loop over ring headers in hci_dma_irq_handler() that are not allocated and enabled in hci_dma_init(). Otherwise out of bounds access will occur from rings->headers[i] access when i >= number of allocated ring headers.

Weakness: CWE-125

Which versions are affected by CVE-2023-52766?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52766?

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

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52766, DEBIAN-CVE-2023-52766, GHSA-h7cv-m349-g3xp, ROOT-OS-DEBIAN-11-CVE-2023-52766, UBUNTU-CVE-2023-52766.

Is CVE-2023-52766 in your software?

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

Check your SBOMs for free