CVE-2026-74726
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
bonding: alb: check primary_is_promisc opnieuw onder RTNL in bond_alb_monitor
bond_alb_monitor() leest primary_is_promisc onder RCU, laat vervolgens RCU vallen en
neemt RTNL via rtnl_trylock () voordat het de promiscuïteit ongedaan maakt die het op de
actieve slaaf. In dat venster kan de actieve slaaf veranderen onder RTNL
(RTM_DELLINK -> __bond_release_ONE() -> bond_alb_handle_ACTIVE_Change()),
die de promiscuïteit al laat vallen en primary_is_promisc wist. De
monitor handelt nog steeds naar de oude beslissing: als de slaaf is verwijderd zonder
failover, curr_active_slave is nu NULL en de deref fouten; als het is mislukt
voorbij, de muffe dev_set_promiscuïteit(-1) onderstroomt de nieuwe slaaf
promiscuïteitsteller en pinnen in IFF_PROMISC. Oeps: algemene beschermingsfout, waarschijnlijk voor niet-canoniek adres ... KASAN: null-ptr-deref binnen bereik [0x000000000000-0x0000000000000007]
Werkvoorraad: b42 bond_alb_monitor
RIP: 0010:bond_alb_monitor (drivers/net/bonding/bond_alb.c:1600)
process_one_work (kernel/werkwachtrij.c:3322)
worker_thread (kernel/werkvoorraad.c:3486)
kthread (kernel/kthread.c:436)
ret_from_fork (arch/x86/kernel/process.c:158)
Kernel panic - not syncing: Fatale uitzondering
Controleer primary_is_promisc (en curr_active_slave) opnieuw na inname van RTNL dus
alleen de monitor maakt een verhoging ongedaan die het nog steeds bezit. De andere binding
bewaakt reeds herleesbare toestand onder RTNL in hun commit-fase
(bond_miimon_commit/bond_ab_arp_commit); bond_alb_monitor() was de enige
een die handelt op basis van de pre-trylock-beslissing.
Origineel (Engels) tonen
In the Linux kernel, the following vulnerability has been resolved:
bonding: alb: re-check primary_is_promisc under RTNL in bond_alb_monitor
bond_alb_monitor() reads primary_is_promisc under RCU, then drops RCU and
takes RTNL via rtnl_trylock() before undoing the promiscuity it set on the
active slave. In that window the active slave can change under RTNL
(RTM_DELLINK -> __bond_release_one() -> bond_alb_handle_active_change()),
which already drops the promiscuity and clears primary_is_promisc. The
monitor still acts on the stale decision: if the slave was removed with no
failover, curr_active_slave is now NULL and the deref faults; if it failed
over, the stale dev_set_promiscuity(-1) underflows the new slave's
promiscuity counter and pins it in IFF_PROMISC.
Oops: general protection fault, probably for non-canonical address ...
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
Workqueue: b42 bond_alb_monitor
RIP: 0010:bond_alb_monitor (drivers/net/bonding/bond_alb.c:1600)
process_one_work (kernel/workqueue.c:3322)
worker_thread (kernel/workqueue.c:3486)
kthread (kernel/kthread.c:436)
ret_from_fork (arch/x86/kernel/process.c:158)
Kernel panic - not syncing: Fatal exception
Re-check primary_is_promisc (and curr_active_slave) after taking RTNL so
the monitor only undoes an increment it still owns. The other bonding
monitors already re-read state under RTNL in their commit phase
(bond_miimon_commit/bond_ab_arp_commit); bond_alb_monitor() was the only
one acting on the pre-trylock decision.