{"id":"CVE-2026-74726","revision":"d13c22b68d3b449ebe1a8fb208663d3a","records":[{"revision":"d13c22b68d3b449ebe1a8fb208663d3a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-74726","aliases":[],"title":"bonding: alb: re-check primary_is_promisc under RTNL in bond_alb_monitor","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbonding: alb: re-check primary_is_promisc under RTNL in bond_alb_monitor\n\nbond_alb_monitor() reads primary_is_promisc under RCU, then drops RCU and\ntakes RTNL via rtnl_trylock() before undoing the promiscuity it set on the\nactive slave. In that window the active slave can change under RTNL\n(RTM_DELLINK -> __bond_release_one() -> bond_alb_handle_active_change()),\nwhich already drops the promiscuity and clears primary_is_promisc. The\nmonitor still acts on the stale decision: if the slave was removed with no\nfailover, curr_active_slave is now NULL and the deref faults; if it failed\nover, the stale dev_set_promiscuity(-1) underflows the new slave's\npromiscuity counter and pins it in IFF_PROMISC.\n\n  Oops: general protection fault, probably for non-canonical address ...\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n  Workqueue: b42 bond_alb_monitor\n  RIP: 0010:bond_alb_monitor (drivers/net/bonding/bond_alb.c:1600)\n   process_one_work (kernel/workqueue.c:3322)\n   worker_thread (kernel/workqueue.c:3486)\n   kthread (kernel/kthread.c:436)\n   ret_from_fork (arch/x86/kernel/process.c:158)\n  Kernel panic - not syncing: Fatal exception\n\nRe-check primary_is_promisc (and curr_active_slave) after taking RTNL so\nthe monitor only undoes an increment it still owns. The other bonding\nmonitors already re-read state under RTNL in their commit phase\n(bond_miimon_commit/bond_ab_arp_commit); bond_alb_monitor() was the only\none acting on the pre-trylock decision.","state":0,"publishedAt":"2026-08-22T15:33:17.128+00:00","modifiedAt":"2026-10-16T19:16:12.256+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/bonding/bond_alb.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"d0e81b7e2246a41d068ecaf15aac9de570816d63\",\n                            \"lessThan\": \"f7668762bf5fd6db9397de5c0514407489d9d815\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d0e81b7e2246a41d068ecaf15aac9de570816d63\",\n                            \"lessThan\": \"09add8d5cfa9c46828f51eaad162c36e86366b71\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d0e81b7e2246a41d068ecaf15aac9de570816d63\",\n                            \"lessThan\": \"b82f51681a7a88c7d3c865e817a3340d42b5fa2a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d0e81b7e2246a41d068ecaf15aac9de570816d63\",\n                            \"lessThan\": \"dd148539fb4741d01c06b7d2c8bd84b01920756c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d0e81b7e2246a41d068ecaf15aac9de570816d63\",\n                            \"lessThan\": \"dccec0227ed8d9e36936d66e256b957dc2858468\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d0e81b7e2246a41d068ecaf15aac9de570816d63\",\n                            \"lessThan\": \"2faf75a8a06504071b4c0aea7e45a9cc49a4e187\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d0e81b7e2246a41d068ecaf15aac9de570816d63\",\n                            \"lessThan\": \"257c4a3a34d8f51efb00f35375a0c6ce3c8f6ce2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d0e81b7e2246a41d068ecaf15aac9de570816d63\",\n                            \"lessThan\": \"683c6ba6e58e6ed1037831ea97dd58d9c0e76b8d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/bonding/bond_alb.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2.6.24\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"2.6.24\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.265\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.216\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.183\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.152\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.104\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.45\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.9\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","score":7.3,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/f7668762bf5fd6db9397de5c0514407489d9d815","https://git.kernel.org/stable/c/09add8d5cfa9c46828f51eaad162c36e86366b71","https://git.kernel.org/stable/c/b82f51681a7a88c7d3c865e817a3340d42b5fa2a","https://git.kernel.org/stable/c/dd148539fb4741d01c06b7d2c8bd84b01920756c","https://git.kernel.org/stable/c/dccec0227ed8d9e36936d66e256b957dc2858468","https://git.kernel.org/stable/c/2faf75a8a06504071b4c0aea7e45a9cc49a4e187","https://git.kernel.org/stable/c/257c4a3a34d8f51efb00f35375a0c6ce3c8f6ce2","https://git.kernel.org/stable/c/683c6ba6e58e6ed1037831ea97dd58d9c0e76b8d"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74726","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-74726","identifiers":["CVE-2026-74726"]},"retained":false,"historicalAffected":[]}],"coverage":[]}