Linux
riscv: module: Fix out-of-bounds relocation access
In the Linux kernel, the following vulnerability has been resolved: riscv: module: Fix out-of-bounds relocation access The current code allows rel[j] to access one element past the end of the relocation section. Simplify to num_relocations which is equivalent to the existing size expression.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 080c4324fa5e81ff3780206a138223abfb57a68e, < a068ea00009d373d825c528f9c168501519211b4
- >= 080c4324fa5e81ff3780206a138223abfb57a68e, < 95e4e1c1cf614d125f159db9726b7abb32e18385
- >= 080c4324fa5e81ff3780206a138223abfb57a68e, < 0b4cce68efb93e31a8e51795d696df6e379cb41c
Fixed in a068ea00009d373d825c528f9c168501519211b4, 95e4e1c1cf614d125f159db9726b7abb32e18385, 0b4cce68efb93e31a8e51795d696df6e379cb41c
- 6.8
Fixed in 0, 6.12.25, 6.14.4, 6.15
Mitigation
Upgrade Linux to a068ea00009d373d825c528f9c168501519211b4 or 95e4e1c1cf614d125f159db9726b7abb32e18385 or 0b4cce68efb93e31a8e51795d696df6e379cb41c or later.
Upgrade Linux to 0 or 6.12.25 or 6.14.4 or 6.15 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.