bonding: alb: re-check primary_is_promisc under RTNL in bond_alb_monitor

Summary

CVECVE-2026-74726
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-22 16:16:47 UTC
Updated2026-08-22 16:16:47 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected d0e81b7e2246a41d068ecaf15aac9de570816d63 f7668762bf5fd6db9397de5c0514407489d9d815 git Not specified
CNA Linux Linux affected d0e81b7e2246a41d068ecaf15aac9de570816d63 09add8d5cfa9c46828f51eaad162c36e86366b71 git Not specified
CNA Linux Linux affected d0e81b7e2246a41d068ecaf15aac9de570816d63 b82f51681a7a88c7d3c865e817a3340d42b5fa2a git Not specified
CNA Linux Linux affected d0e81b7e2246a41d068ecaf15aac9de570816d63 dd148539fb4741d01c06b7d2c8bd84b01920756c git Not specified
CNA Linux Linux affected d0e81b7e2246a41d068ecaf15aac9de570816d63 dccec0227ed8d9e36936d66e256b957dc2858468 git Not specified
CNA Linux Linux affected d0e81b7e2246a41d068ecaf15aac9de570816d63 2faf75a8a06504071b4c0aea7e45a9cc49a4e187 git Not specified
CNA Linux Linux affected d0e81b7e2246a41d068ecaf15aac9de570816d63 257c4a3a34d8f51efb00f35375a0c6ce3c8f6ce2 git Not specified
CNA Linux Linux affected d0e81b7e2246a41d068ecaf15aac9de570816d63 683c6ba6e58e6ed1037831ea97dd58d9c0e76b8d git Not specified
CNA Linux Linux affected 2.6.24 Not specified
CNA Linux Linux unaffected 2.6.24 semver Not specified
CNA Linux Linux unaffected 5.10.265 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.216 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.183 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.152 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.104 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.45 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.9 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/2faf75a8a06504071b4c0aea7e45a9cc49a4e187 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f7668762bf5fd6db9397de5c0514407489d9d815 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b82f51681a7a88c7d3c865e817a3340d42b5fa2a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dd148539fb4741d01c06b7d2c8bd84b01920756c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dccec0227ed8d9e36936d66e256b957dc2858468 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/683c6ba6e58e6ed1037831ea97dd58d9c0e76b8d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/257c4a3a34d8f51efb00f35375a0c6ce3c8f6ce2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/09add8d5cfa9c46828f51eaad162c36e86366b71 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report