{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-31419 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-31419 is a high-severity use after free vulnerability in Linux kernel, published on 13 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-31419 and fix it if it is affected.\n\nWhat it is: CVE-2026-31419 is a high-severity use after free vulnerability in Linux kernel, published on 13 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-31419 in the wild and no public exploit code.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-31419/ (Markdown: https://insights.sbomify.com/CVE-2026-31419/index.md)","id":"CVE-2026-31419","markdown":"https://insights.sbomify.com/CVE-2026-31419/index.md","name":"CVE-2026-31419","record":{"aliases":["AZL-82715","BELL-CVE-2026-31419","DEBIAN-CVE-2026-31419","GHSA-47j5-hmhq-4c74","RHSA-2026:35870","RHSA-2026:36172","ROOT-OS-DEBIAN-11-CVE-2026-31419","ROOT-OS-DEBIAN-12-CVE-2026-31419","ROOT-OS-DEBIAN-13-CVE-2026-31419","ROOT-OS-UBUNTU-2204-CVE-2026-31419","ROOT-OS-UBUNTU-2404-CVE-2026-31419","UBUNTU-CVE-2026-31419"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A race condition in the Linux kernel bonding driver causes a use-after-free, potentially allowing local attackers to crash the system or execute code.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bonding: fix use-after-free in bond_xmit_broadcast()\n\nbond_xmit_broadcast() reuses the original skb for the last slave\n(determined by bond_is_last_slave()) and clones it for others.\nConcurrent slave enslave/release can mutate the slave list during\nRCU-protected iteration, changing which slave is \"last\" mid-loop.\nThis causes the original skb to be double-consumed (double-freed).\n\nReplace the racy bond_is_last_slave() check with a simple index\ncomparison (i + 1 == slaves_count) against the pre-snapshot slave\ncount taken via READ_ONCE() before the loop.  This preserves the\nzero-copy optimization for the last slave while making the \"last\"\ndetermination stable against concurrent list mutations.\n\nThe UAF can trigger the following crash:\n\n==================================================================\nBUG: KASAN: slab-use-after-free in skb_clone\nRead of size 8 at addr ffff888100ef8d40 by task exploit/147\n\nCPU: 1 UID: 0 PID: 147 Comm: exploit Not tainted 7.0.0-rc3+ #4 PREEMPTLAZY\nCall Trace:\n \u003cTASK\u003e\n dump_stack_lvl (lib/dump_stack.c:123)\n print_report (mm/kasan/report.c:379 mm/kasan/report.c:482)\n kasan_report (mm/kasan/report.c:597)\n skb_clone (include/linux/skbuff.h:1724 include/linux/skbuff.h:1792 include/linux/skbuff.h:3396 net/core/skbuff.c:2108)\n bond_xmit_broadcast (drivers/net/bonding/bond_main.c:5334)\n bond_start_xmit (drivers/net/bonding/bond_main.c:5567 drivers/net/bonding/bond_main.c:5593)\n dev_hard_start_xmit (include/linux/netdevice.h:5325 include/linux/netdevice.h:5334 net/core/dev.c:3871 net/core/dev.c:3887)\n __dev_queue_xmit (include/linux/netdevice.h:3601 net/core/dev.c:4838)\n ip6_finish_output2 (include/net/neighbour.h:540 include/net/neighbour.h:554 net/ipv6/ip6_output.c:136)\n ip6_finish_output (net/ipv6/ip6_output.c:208 net/ipv6/ip6_output.c:219)\n ip6_output (net/ipv6/ip6_output.c:250)\n ip6_send_skb (net/ipv6/ip6_output.c:1985)\n udp_v6_send_skb (net/ipv6/udp.c:1442)\n udpv6_sendmsg (net/ipv6/udp.c:1733)\n __sys_sendto (net/socket.c:730 net/socket.c:742 net/socket.c:2206)\n __x64_sys_sendto (net/socket.c:2209)\n do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)\n entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)\n \u003c/TASK\u003e\n\nAllocated by task 147:\n\nFreed by task 147:\n\nThe buggy address belongs to the object at ffff888100ef8c80\n which belongs to the cache skbuff_head_cache of size 224\nThe buggy address is located 192 bytes inside of\n freed 224-byte region [ffff888100ef8c80, ffff888100ef8d60)\n\nMemory state around the buggy address:\n ffff888100ef8c00: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc\n ffff888100ef8c80: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb\n\u003effff888100ef8d00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc\n                                                    ^\n ffff888100ef8d80: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb\n ffff888100ef8e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb\n==================================================================","ecosystems":["Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:9::baseos"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"net: bonding: fix use-after-free in bond_xmit_broadcast()","id":"CVE-2026-31419","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"use_after_free","year":"2026"},"n_packages":6,"n_references":6,"next":{"headline":"bridge: mrp: reject zero test interval to avoid OOM panic","id":"CVE-2026-31420"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1-3.el10_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-6_12_0-211_16_1","purl":"pkg:rpm/redhat/kpatch-patch-6_12_0-211_16_1","source":"RHSA-2026:35870"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1-3.el10_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-6_12_0-211_16_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-6_12_0-211_16_1-debuginfo","source":"RHSA-2026:35870"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1-3.el10_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-6_12_0-211_16_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-6_12_0-211_16_1-debugsource","source":"RHSA-2026:35870"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1-3.el9_8"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-687_10_1","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-687_10_1","source":"RHSA-2026:36172"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1-3.el9_8"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-687_10_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-687_10_1-debuginfo","source":"RHSA-2026:36172"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1-3.el9_8"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-687_10_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-687_10_1-debugsource","source":"RHSA-2026:36172"}],"prev":{"headline":"netfilter: ipset: drop logically empty buckets in mtype_del","id":"CVE-2026-31418"},"products":["Linux"],"published":"2026-04-13","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-19","vendors":["Linux"]},"summary":"A race condition in the Linux kernel bonding driver causes a use-after-free, potentially allowing local attackers to crash the system or execute code.","url":"https://insights.sbomify.com/CVE-2026-31419/"}