What’s Vulnerable › Vulnerabilities
CVE-2023-53654: octeontx2-af: Add validation before accessing cgx and lmac
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-07 · updated 2026-06-17
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
Affected products
- Linux kernel: from 5.12 before 5.15.121; from 5.16 before 6.1.39; from 6.2 before 6.4.4 — fixed in 5.15.121, 6.1.39, 6.4.4
How to fix
Upgrade to a fixed version: Linux kernel 5.15.121, 6.1.39, 6.4.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/79ebb53772c95d3a6ae51b3c65f9985fdd430df6
- https://git.kernel.org/stable/c/a5485a943193e55c79150382e6461e8ea759e96e
- https://git.kernel.org/stable/c/b04872e15f3df62cb2fd530950f769626e1ef489
- https://git.kernel.org/stable/c/e425e2ba933618ee5ec8e4f3eb341efeb6c9ddef
Get alerted when CVE-2023-53654 or the next vulnerability affects your stack