CVE-2023-53654 octeontx2-af: Add validation before accessing cgx and lmac

Medium 5.5 Published Updated

A missing validation in the Linux kernel octeontx2-af driver causes a kernel panic when accessing noncontiguous LMACs, leading to 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-53654?

CVE-2023-53654 is a medium-severity vulnerability in Linux kernel, published on 7 Oct 2025. 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:

octeontx2-af: Add validation before accessing cgx and lmac

with the addition of new MAC blocks like CN10K RPM and CN10KB RPM_USX, LMACs are noncontiguous and CGX blocks are also noncontiguous. But during RVU driver initialization, the driver is assuming they are contiguous and trying to access cgx or lmac with their id which is resulting in kernel panic.

This patch fixes the issue by adding proper checks.

[ 23.219150] pc : cgx_lmac_read+0x38/0x70 [ 23.219154] lr : rvu_program_channels+0x3f0/0x498 [ 23.223852] sp : ffff000100d6fc80 [ 23.227158] x29: ffff000100d6fc80 x28: ffff00010009f880 x27: 000000000000005a [ 23.234288] x26: ffff000102586768 x25: 0000000000002500 x24: fffffffffff0f000

Which versions are affected by CVE-2023-53654?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53654?

Apply the vendor's patch.

Is CVE-2023-53654 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53654, DEBIAN-CVE-2023-53654, GHSA-qw28-7x42-46v9, UBUNTU-CVE-2023-53654.

Is CVE-2023-53654 in your software?

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

Check your SBOMs for free