CVE-2023-53654: octeontx2-af: Add validation before accessing cgx and lmac
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 RPMUSX, 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
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2023-53654?
CVE-2023-53654 has been classified with a specific severity rating based on its impact on the Linux kernel.
How do I fix CVE-2023-53654?
To fix CVE-2023-53654, update your Linux kernel to the latest patched version which includes the security fixes.
What systems are affected by CVE-2023-53654?
CVE-2023-53654 affects various versions of the Linux kernel, particularly those utilizing new MAC blocks.
What are the potential risks of CVE-2023-53654?
CVE-2023-53654 could potentially lead to unauthorized access or instability in systems using vulnerable Linux kernel versions.
Is there a workaround for CVE-2023-53654?
Currently, the recommended solution for CVE-2023-53654 is to apply security updates rather than mitigating workarounds.