CVE-2023-53654

Source
https://cve.org/CVERecord?id=CVE-2023-53654
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53654.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53654
Downstream
Related
Published
2025-10-07T15:19:49.985Z
Modified
2026-03-20T12:33:16.769819Z
Summary
octeontx2-af: Add validation before accessing cgx and lmac
Details

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 : cgxlmacread+0x38/0x70 [ 23.219154] lr : rvuprogramchannels+0x3f0/0x498 [ 23.223852] sp : ffff000100d6fc80 [ 23.227158] x29: ffff000100d6fc80 x28: ffff00010009f880 x27: 000000000000005a [ 23.234288] x26: ffff000102586768 x25: 0000000000002500 x24: fffffffffff0f000

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53654.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
91c6945ea1f9059fea886630d0fd8070740e2aaf
Fixed
e425e2ba933618ee5ec8e4f3eb341efeb6c9ddef
Fixed
a5485a943193e55c79150382e6461e8ea759e96e
Fixed
b04872e15f3df62cb2fd530950f769626e1ef489
Fixed
79ebb53772c95d3a6ae51b3c65f9985fdd430df6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53654.json"