{"id":77146,"date":"2026-02-14T19:45:57","date_gmt":"2026-02-14T16:15:57","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-23171-bonding-fix-use-after-free-due-to-enslave-fail-after-slave-array-update\/"},"modified":"2026-02-14T19:45:57","modified_gmt":"2026-02-14T16:15:57","slug":"cve-2026-23171-bonding-fix-use-after-free-due-to-enslave-fail-after-slave-array-update","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-23171-bonding-fix-use-after-free-due-to-enslave-fail-after-slave-array-update\/","title":{"rendered":"CVE-2026-23171 &#8211; bonding: fix use-after-free due to enslave fail after slave array update"},"content":{"rendered":"<p>CVE ID : CVE-2026-23171<\/p>\n<p>Published :  Feb. 14, 2026, 4:15 p.m. | 14\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bonding: fix use-after-free due to enslave fail after slave array update<\/p>\n<p>Fix a use-after-free which happens due to enslave failure after the new<br \/>\nslave has been added to the array. Since the new slave can be used for Tx<br \/>\nimmediately, we can use it after it has been freed by the enslave error<br \/>\ncleanup path which frees the allocated slave memory. Slave update array is<br \/>\nsupposed to be called last when further enslave failures are not expected.<br \/>\nMove it after xdp setup to avoid any problems.<\/p>\n<p>It is very easy to reproduce the problem with a simple xdp_pass prog:<br \/>\n ip l add bond1 type bond mode balance-xor<br \/>\n ip l set bond1 up<br \/>\n ip l set dev bond1 xdp object xdp_pass.o sec xdp_pass<br \/>\n ip l add dumdum type dummy<\/p>\n<p>Then run in parallel:<br \/>\n while :; do ip l set dumdum master bond1 1&gt;\/dev\/null 2&gt;&amp;1; done;<br \/>\n mausezahn bond1 -a own -b rand -A rand -B 1.1.1.1 -c 0 -t tcp &#8220;dp=1-1023, flags=syn&#8221;<\/p>\n<p>The crash happens almost immediately:<br \/>\n [  605.602850] Oops: general protection fault, probably for non-canonical address 0xe0e6fc2460000137: 0000 [#1] SMP KASAN NOPTI<br \/>\n [  605.602916] KASAN: maybe wild-memory-access in range [0x07380123000009b8-0x07380123000009bf]\n [  605.602946] CPU: 0 UID: 0 PID: 2445 Comm: mausezahn Kdump: loaded Tainted: G    B               6.19.0-rc6+ #21 PREEMPT(voluntary)<br \/>\n [  605.602979] Tainted: [B]=BAD_PAGE<br \/>\n [  605.602998] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04\/01\/2014<br \/>\n [  605.603032] RIP: 0010:netdev_core_pick_tx+0xcd\/0x210<br \/>\n [  605.603063] Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 3e 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6b 08 49 8d 7d 30 48 89 fa 48 c1 ea 03  3c 02 00 0f 85 25 01 00 00 49 8b 45 30 4c 89 e2 48 89 ee 48 89<br \/>\n [  605.603111] RSP: 0018:ffff88817b9af348 EFLAGS: 00010213<br \/>\n [  605.603145] RAX: dffffc0000000000 RBX: ffff88817d28b420 RCX: 0000000000000000<br \/>\n [  605.603172] RDX: 00e7002460000137 RSI: 0000000000000008 RDI: 07380123000009be<br \/>\n [  605.603199] RBP: ffff88817b541a00 R08: 0000000000000001 R09: fffffbfff3ed8c0c<br \/>\n [  605.603226] R10: ffffffff9f6c6067 R11: 0000000000000001 R12: 0000000000000000<br \/>\n [  605.603253] R13: 073801230000098e R14: ffff88817d28b448 R15: ffff88817b541a84<br \/>\n [  605.603286] FS:  00007f6570ef67c0(0000) GS:ffff888221dfa000(0000) knlGS:0000000000000000<br \/>\n [  605.603319] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br \/>\n [  605.603343] CR2: 00007f65712fae40 CR3: 000000011371b000 CR4: 0000000000350ef0<br \/>\n [  605.603373] Call Trace:<br \/>\n [  605.603392]\n [  605.603410]  __dev_queue_xmit+0x448\/0x32a0<br \/>\n [  605.603434]  ? __pfx_vprintk_emit+0x10\/0x10<br \/>\n [  605.603461]  ? __pfx_vprintk_emit+0x10\/0x10<br \/>\n [  605.603484]  ? __pfx___dev_queue_xmit+0x10\/0x10<br \/>\n [  605.603507]  ? bond_start_xmit+0xbfb\/0xc20 [bonding]\n [  605.603546]  ? _printk+0xcb\/0x100<br \/>\n [  605.603566]  ? __pfx__printk+0x10\/0x10<br \/>\n [  605.603589]  ? bond_start_xmit+0xbfb\/0xc20 [bonding]\n [  605.603627]  ? add_taint+0x5e\/0x70<br \/>\n [  605.603648]  ? add_taint+0x2a\/0x70<br \/>\n [  605.603670]  ? end_report.cold+0x51\/0x75<br \/>\n [  605.603693]  ? bond_start_xmit+0xbfb\/0xc20 [bonding]\n [  605.603731]  bond_start_xmit+0x623\/0xc20 [bonding]\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-23171 Published : Feb. 14, 2026, 4:15 p.m. | 14\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: bonding: fix use-after-free due to enslave fail after slave array update Fix a use-after-free which happens due to enslave failure after the new slave has been added to the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-77146","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=77146"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77146\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}