{"id":"CVE-2026-68336","summary":"bonding: fix devconf_all NULL dereference when IPv6 is disabled","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbonding: fix devconf_all NULL dereference when IPv6 is disabled\n\nWhen booting with the 'ipv6.disable=1' parameter, the devconf_all is\nnever initialized because inet6_init() exits before addrconf_init() is\ncalled which initializes it. bond_send_validate(), however, will still\ncall bond_ns_send_all() even ipv6 is indeed disabled. It will lead to\nNULL derefence of net-\u003eipv6.devconf_all in ip6_pol_route().\n\n BUG: kernel NULL pointer dereference, address: 000000000000000c\n [...]\n Workqueue: bond0 bond_arp_monitor [bonding]\n RIP: 0010:ip6_pol_route+0x69/0x480\n [...]\n Call Trace:\n  \u003cTASK\u003e\n  ? srso_return_thunk+0x5/0x5f\n  ? __pfx_ip6_pol_route_output+0x10/0x10\n  fib6_rule_lookup+0xfe/0x260\n  ? wakeup_preempt+0x8a/0x90\n  ? srso_return_thunk+0x5/0x5f\n  ? srso_return_thunk+0x5/0x5f\n  ? sched_balance_rq+0x369/0x810\n  ip6_route_output_flags+0xd7/0x170\n  bond_ns_send_all+0xde/0x280 [bonding]\n  bond_ab_arp_probe+0x296/0x320 [bonding]\n  ? srso_return_thunk+0x5/0x5f\n  bond_activebackup_arp_mon+0xb4/0x2c0 [bonding]\n  process_one_work+0x196/0x370\n  worker_thread+0x1af/0x320\n  ? srso_return_thunk+0x5/0x5f\n  ? __pfx_worker_thread+0x10/0x10\n  kthread+0xe3/0x120\n  ? __pfx_kthread+0x10/0x10\n  ret_from_fork+0x199/0x260\n  ? __pfx_kthread+0x10/0x10\n  ret_from_fork_asm+0x1a/0x30\n  \u003c/TASK\u003e\n\nFix this by adding ipv6_mod_enabled() condition check in the caller.","modified":"2026-08-21T03:30:37.957110198Z","published":"2026-08-10T12:03:12.592Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68336.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1c975de3343cdef506f2eecc833cc1f14b0401c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a4bad24ac5296b262ad821aa5e08bb265e6b154"},{"type":"WEB","url":"https://git.kernel.org/stable/c/451c2d5422a309393aa8ae161fc1a527c2f19ab2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/690ce66782778e8c4b1fdd79c0b0890a100e9522"},{"type":"WEB","url":"https://git.kernel.org/stable/c/738039ad21e20ca2c5bbde2f5a4f5ad5fb718038"},{"type":"WEB","url":"https://git.kernel.org/stable/c/992dce02bdabbd9883255ea9b36494e34a7821d7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68336.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68336"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4e24be018eb9dbcefa4b01c07e298b147dc1a4d7"},{"fixed":"451c2d5422a309393aa8ae161fc1a527c2f19ab2"},{"fixed":"2a4bad24ac5296b262ad821aa5e08bb265e6b154"},{"fixed":"690ce66782778e8c4b1fdd79c0b0890a100e9522"},{"fixed":"992dce02bdabbd9883255ea9b36494e34a7821d7"},{"fixed":"738039ad21e20ca2c5bbde2f5a4f5ad5fb718038"},{"fixed":"1c975de3343cdef506f2eecc833cc1f14b0401c4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68336.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.18.0"},{"fixed":"6.1.183"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.101"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68336.json"}}],"schema_version":"1.9.0"}