{"id":"CVE-2026-74726","aliases":["CVE-2026-74726"],"related":[],"kind":"vulnerability","state":"published","title":"bonding: alb: re-check primary_is_promisc under RTNL in bond_alb_monitor","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nbonding: alb: volver a verificar primary_is_promisc bajo RTNL en bond_alb_monitor\n\nbond_alb_monitor() lee primary_is_promisc bajo RCU, luego libera RCU y toma RTNL a través de rtnl_trylock() antes de deshacer la promiscuidad que estableció en el esclavo activo. En esa ventana, el esclavo activo puede cambiar bajo RTNL (RTM_DELLINK  ->  __bond_release_one()  ->  bond_alb_handle_active_change()), lo que ya libera la promiscuidad y borra primary_is_promisc. El monitor sigue actuando sobre la decisión obsoleta: si el esclavo fue eliminado sin conmutación por error, curr_active_slave es ahora NULL y la desreferencia falla; si conmutó por error, el obsoleto dev_set_promiscuity(-1) provoca un desbordamiento negativo en el contador de promiscuidad del nuevo esclavo y lo fija en IFF_PROMISC.\n\n  Oops: fallo de protección general, probablemente por una dirección no canónica ...\n  KASAN: desreferencia de puntero nulo en el rango [0x0000000000000000-0x0000000000000007]\n  Cola de trabajo: 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  Pánico del kernel - no sincronizando: Excepción fatal\n\nVolver a verificar primary_is_promisc (y curr_active_slave) después de tomar RTNL para que el monitor solo deshaga un incremento que aún posee. Los otros monitores de bonding ya releen el estado bajo RTNL en su fase de confirmación (bond_miimon_commit/bond_ab_arp_commit); bond_alb_monitor() era el único que actuaba sobre la decisión previa al trylock.","source":"nvd"}],"published":"2026-08-22T15:33:17.128Z","modified":"2026-10-16T20:17:55.033Z","severity":{"scorer":"Linux","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"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,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d0e81b7e2246a41d068ecaf15aac9de570816d63","fixed":"f7668762bf5fd6db9397de5c0514407489d9d815","status":"affected"},{"type":"git","introduced":"d0e81b7e2246a41d068ecaf15aac9de570816d63","fixed":"09add8d5cfa9c46828f51eaad162c36e86366b71","status":"affected"},{"type":"git","introduced":"d0e81b7e2246a41d068ecaf15aac9de570816d63","fixed":"b82f51681a7a88c7d3c865e817a3340d42b5fa2a","status":"affected"},{"type":"git","introduced":"d0e81b7e2246a41d068ecaf15aac9de570816d63","fixed":"dd148539fb4741d01c06b7d2c8bd84b01920756c","status":"affected"},{"type":"git","introduced":"d0e81b7e2246a41d068ecaf15aac9de570816d63","fixed":"dccec0227ed8d9e36936d66e256b957dc2858468","status":"affected"},{"type":"git","introduced":"d0e81b7e2246a41d068ecaf15aac9de570816d63","fixed":"2faf75a8a06504071b4c0aea7e45a9cc49a4e187","status":"affected"},{"type":"git","introduced":"d0e81b7e2246a41d068ecaf15aac9de570816d63","fixed":"257c4a3a34d8f51efb00f35375a0c6ce3c8f6ce2","status":"affected"},{"type":"git","introduced":"d0e81b7e2246a41d068ecaf15aac9de570816d63","fixed":"683c6ba6e58e6ed1037831ea97dd58d9c0e76b8d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.24","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.24","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f7668762bf5fd6db9397de5c0514407489d9d815","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09add8d5cfa9c46828f51eaad162c36e86366b71","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b82f51681a7a88c7d3c865e817a3340d42b5fa2a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd148539fb4741d01c06b7d2c8bd84b01920756c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dccec0227ed8d9e36936d66e256b957dc2858468","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2faf75a8a06504071b4c0aea7e45a9cc49a4e187","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/257c4a3a34d8f51efb00f35375a0c6ce3c8f6ce2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/683c6ba6e58e6ed1037831ea97dd58d9c0e76b8d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T19:15:46.761Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74726","url":"https://www.cve.org/CVERecord?id=CVE-2026-74726","licence":"CVE Terms of Use","modified":"2026-10-16T19:16:12.256Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74726","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74726","licence":"Public domain","modified":"2026-10-16T20:17:55.033Z"}],"updatedAt":"2026-11-25T22:59:34.953Z","epss":{"score":0.00126,"percentile":0.02445,"date":"2026-12-01T12:00:22.000Z"}}