CVE-2026-142823: bonding: fix out-of-bounds read of arp_ip_target
In the Linux kernel, the following vulnerability has been resolved:
bonding: fix out-of-bounds read of arpiptarget
arpiptarget is a module parameter array with BONDMAXARPTARGETS entries. In the loop parsing it in bondcheckparams(), arpipcount is the number of accepted targets, while i is the index into arpiptarget. Invalid and duplicate entries are skipped without bumping arpipcount, so bounding the loop with arpipcount lets i run past the end of arpiptarget, e.g. 16 targets with one duplicate:
BUG: KASAN: global-out-of-bounds in bondcheckparams.constprop.0+0x1148/0x1440 Read of size 8 at addr ffffffff96e9ee00 by task swapper/0/1 Call Trace: <TASK> dumpstacklvl+0x91/0xf0 printreport+0xd1/0x630 kasanreport+0xf3/0x130 asanreportload8noabort+0x14/0x30 bondcheckparams.constprop.0+0x1148/0x1440 bondinginit+0x13/0xe0 dooneinitcall+0xe7/0x5b0 kernelinitfreeable+0xa91/0x1120 kernelinit+0x24/0x220 retfromfork+0x5b3/0x820 retfromforkasm+0x1a/0x30 </TASK>
The buggy address belongs to the variable: arpiptarget+0x80/0xa0
Bound the loop with i instead. arpipcount never exceeds i, so it stays within BONDMAXARPTARGETS too.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Compensating control
In bond_check_params(), bound the loop that parses arp_ip_target using the index i instead of arp_ip_count.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel bonding driver are exposed when the bonding module's arp_ip_target parameter includes enough entries with at least one invalid or duplicate target. The described trigger is 16 targets with one duplicate entry.
What must occur for the out-of-bounds read to be triggered?
The bonding driver's parameter validation must parse arp_ip_target entries such that invalid or duplicate addresses are skipped. Because those skipped entries do not increase the accepted-target count, the affected loop can continue indexing beyond the arp_ip_target array.
How can I identify a possible occurrence on an affected system?
A triggered issue may produce a KASAN global-out-of-bounds report in bond_check_params during bonding module initialization, with the read attributed to arp_ip_target. The supplied trace shows bonding_init in the call path.