{"id":"CVE-2026-142823","summary":"bonding: fix out-of-bounds read of arp_ip_target","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbonding: fix out-of-bounds read of arp_ip_target\n\narp_ip_target is a module parameter array with BOND_MAX_ARP_TARGETS\nentries. In the loop parsing it in bond_check_params(), arp_ip_count is\nthe number of accepted targets, while i is the index into\narp_ip_target. Invalid and duplicate entries are skipped without\nbumping arp_ip_count, so bounding the loop with arp_ip_count lets i run\npast the end of arp_ip_target, e.g. 16 targets with one duplicate:\n\n  BUG: KASAN: global-out-of-bounds in bond_check_params.constprop.0+0x1148/0x1440\n  Read of size 8 at addr ffffffff96e9ee00 by task swapper/0/1\n  Call Trace:\n   \u003cTASK\u003e\n   dump_stack_lvl+0x91/0xf0\n   print_report+0xd1/0x630\n   kasan_report+0xf3/0x130\n   __asan_report_load8_noabort+0x14/0x30\n   bond_check_params.constprop.0+0x1148/0x1440\n   bonding_init+0x13/0xe0\n   do_one_initcall+0xe7/0x5b0\n   kernel_init_freeable+0xa91/0x1120\n   kernel_init+0x24/0x220\n   ret_from_fork+0x5b3/0x820\n   ret_from_fork_asm+0x1a/0x30\n   \u003c/TASK\u003e\n\n  The buggy address belongs to the variable:\n   arp_ip_target+0x80/0xa0\n\nBound the loop with i instead. arp_ip_count never exceeds i, so it\nstays within BOND_MAX_ARP_TARGETS too.","modified":"2026-12-03T05:00:30.776299352Z","published":"2026-12-03T03:20:42.643Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142823.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46f1631f9ccbcabd0ea569897ecd5b47971caf7d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/727bda272a2f5d5db5f2bf2247938ab58a516233"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a81513bf5bdf29cf00c0a11f56be515c1ec260f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac361a18a8e96ea72cc68d7761167129141a8a69"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b124b5a2d82f894cda2b327f4b9fec28b7a590a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7d2c477cffbf5de7e50e1d80638f14c607eb8c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eae73af432d023765f2b899a83f9b09d06cebc0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4d61cbd5c7be43bd4ea3621fcd589fda539054d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142823.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142823"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5a5c5fd48e3bcd57572e9a7a4964ed8f38a20b87"},{"fixed":"f4d61cbd5c7be43bd4ea3621fcd589fda539054d"},{"fixed":"ac361a18a8e96ea72cc68d7761167129141a8a69"},{"fixed":"eae73af432d023765f2b899a83f9b09d06cebc0a"},{"fixed":"e7d2c477cffbf5de7e50e1d80638f14c607eb8c3"},{"fixed":"727bda272a2f5d5db5f2bf2247938ab58a516233"},{"fixed":"b124b5a2d82f894cda2b327f4b9fec28b7a590a3"},{"fixed":"46f1631f9ccbcabd0ea569897ecd5b47971caf7d"},{"fixed":"a81513bf5bdf29cf00c0a11f56be515c1ec260f4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142823.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142823.json"}}],"schema_version":"1.9.2"}