CVE-2026-142823
Description
In the Linux kernel, the following vulnerability has been resolved:
bonding: fix out-of-bounds read of arp_ip_target
arp_ip_target is a module parameter array with BOND_MAX_ARP_TARGETS entries. In the loop parsing it in bond_check_params(), arp_ip_count is the number of accepted targets, while i is the index into arp_ip_target. Invalid and duplicate entries are skipped without bumping arp_ip_count, so bounding the loop with arp_ip_count lets i run past the end of arp_ip_target, e.g. 16 targets with one duplicate:
BUG: KASAN: global-out-of-bounds in bond_check_params.constprop.0+0x1148/0x1440 Read of size 8 at addr ffffffff96e9ee00 by task swapper/0/1 Call Trace:
dump_stack_lvl+0x91/0xf0 print_report+0xd1/0x630 kasan_report+0xf3/0x130 __asan_report_load8_noabort+0x14/0x30 bond_check_params.constprop.0+0x1148/0x1440 bonding_init+0x13/0xe0 do_one_initcall+0xe7/0x5b0 kernel_init_freeable+0xa91/0x1120 kernel_init+0x24/0x220 ret_from_fork+0x5b3/0x820 ret_from_fork_asm+0x1a/0x30
The buggy address belongs to the variable: arp_ip_target+0x80/0xa0
Bound the loop with i instead. arp_ip_count never exceeds i, so it stays within BOND_MAX_ARP_TARGETS too.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/46f1631f9ccbcabd0ea569897ecd5b47971caf7dnvd
- git.kernel.org/stable/c/727bda272a2f5d5db5f2bf2247938ab58a516233nvd
- git.kernel.org/stable/c/a81513bf5bdf29cf00c0a11f56be515c1ec260f4nvd
- git.kernel.org/stable/c/ac361a18a8e96ea72cc68d7761167129141a8a69nvd
- git.kernel.org/stable/c/b124b5a2d82f894cda2b327f4b9fec28b7a590a3nvd
- git.kernel.org/stable/c/e7d2c477cffbf5de7e50e1d80638f14c607eb8c3nvd
- git.kernel.org/stable/c/eae73af432d023765f2b899a83f9b09d06cebc0anvd
- git.kernel.org/stable/c/f4d61cbd5c7be43bd4ea3621fcd589fda539054dnvd
News mentions
0No linked articles in our index yet.