Linux
octeontx2-af: CGX: add bounds check to cgx_speed_mbps index
In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: CGX: add bounds check to cgx_speed_mbps index cgx_speed_mbps has 13 elements but RESP_LINKSTAT_SPEED can yield values 0-15. If it returns a value >= 13, this causes an out-of-bounds array access. Add a bounds check and default to speed 0 if the index is out of range.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 94071141f00bc414e8f8f7f5db3b5143d535299f
- >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 985b5e38ac4f4d5ff03c8bfd8484353b440a1579
- >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 93d3dc81098cd60fb74d434ba7985ddfd9de5acb
- >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < e043017ac429caee73bd30c5a725659f1a3a4568
- >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 8201bf45cc7c1c1a09290c4db8ab1e19801f8fec
- >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 47a4cf2229be379cf88f92e32e1240337cd6273f
- >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 2c3d26b4a62454945ba9ef3af3174d3e40e7afef
- >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < c0bf0a4f3f1f5f57aa83e1400ba4f56f0abfd542
Fixed in 94071141f00bc414e8f8f7f5db3b5143d535299f, 985b5e38ac4f4d5ff03c8bfd8484353b440a1579, 93d3dc81098cd60fb74d434ba7985ddfd9de5acb, e043017ac429caee73bd30c5a725659f1a3a4568, 8201bf45cc7c1c1a09290c4db8ab1e19801f8fec, 47a4cf2229be379cf88f92e32e1240337cd6273f, 2c3d26b4a62454945ba9ef3af3174d3e40e7afef, c0bf0a4f3f1f5f57aa83e1400ba4f56f0abfd542
- 4.20
Fixed in 0, 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.92, 6.18.34, 7.0.11, 7.1
Mitigation
Upgrade Linux to 94071141f00bc414e8f8f7f5db3b5143d535299f or 985b5e38ac4f4d5ff03c8bfd8484353b440a1579 or 93d3dc81098cd60fb74d434ba7985ddfd9de5acb or e043017ac429caee73bd30c5a725659f1a3a4568 or 8201bf45cc7c1c1a09290c4db8ab1e19801f8fec or 47a4cf2229be379cf88f92e32e1240337cd6273f or 2c3d26b4a62454945ba9ef3af3174d3e40e7afef or c0bf0a4f3f1f5f57aa83e1400ba4f56f0abfd542 or later.
Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.