# CVE-2026-63989: bridge: Fix sleep in atomic context in netlink path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.09% (percentile 1, 2026-12-03)
- **CWE:** CWE-667
- **Published:** 2026-07-19T14:56:10.396Z
- **Modified:** 2026-10-08T14:45:00.623Z

## Who should check

- Anyone running Linux \>= 78cd408356fe3edbac66598772fd347bf3e32c1f, \< c9c2e609e8397bb57b4d73675f33a99183c4a0bd; \>= 78cd408356fe3edbac66598772fd347bf3e32c1f, \< 803d39accfbdf223ccbb49684d5b5069b4c44586; \>= 78cd408356fe3edbac66598772fd347bf3e32c1f, \< 5eec4427b89c2fb2beac54920101e55a2f1c0c21
- Anyone running Linux 6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

bridge: Fix sleep in atomic context in netlink path

Since the introduction of the netlink configuration path for bridge
ports in commit 25c71c75ac87 ("bridge: bridge port parameters over
netlink"), br\_setport() was always called with the bridge lock held
around it. Back then this decision made sense: The bridge lock protects
the STP state of the bridge and its ports and at that time the function
only processed three STP related netlink attributes (cost, priority and
state).

Nowadays, br\_setport() processes a lot more attributes and most of them
do not need the bridge lock:

\* Bridge flags: Only require RTNL. Read locklessly by the data path.
  Annotations can be added in net-next.

\* FDB port flushing: Only requires the FDB lock.

\* Multicast attributes: Only require the multicast lock.

\* Group forward mask: Only requires RTNL. Read locklessly by the data
  path. Annotations can be added in net-next.

\* Backup port and NHID: Only require RTNL. Read locklessly by the data
  path.

This is a problem as the bridge calls dev\_set\_promiscuity() when certain
bridge port flags change and this function can sleep since the commit
cited below, resulting in a splat such as \[1\].

Fix this by reducing the scope of the bridge lock and only take it when
processing the three STP related attributes that require it. This is
consistent with the multicast attributes where each attribute acquires
the multicast lock instead of having one critical section for all
relevant attributes.

\[1\]
BUG: sleeping function called from invalid context at net/core/dev\_addr\_lists.c:1262
in\_atomic(): 1, irqs\_disabled(): 0, non\_block: 0, pid: 356, name: bridge
preempt\_count: 201, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by bridge/356:
\#0: ffffffff919473a0 (rtnl\_mutex){+.+.}-{4:4}, at: rtnetlink\_rcv\_msg (net/core/rtnetlink.c:80 net/core/rtnetlink.c:7002)
\#1: ffff888115072d58 (&br-\>lock){+...}-{3:3}, at: br\_setlink (./include/linux/spinlock.h:348 net/bridge/br\_netlink.c:1117)
Preemption disabled at:
 0x0
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
Call Trace:
\<TASK\>
dump\_stack\_lvl (lib/dump\_stack.c:94 lib/dump\_stack.c:120)
\_\_might\_resched.cold (kernel/sched/core.c:9163)
netif\_rx\_mode\_run (net/core/dev\_addr\_lists.c:1262)
netif\_rx\_mode\_sync (net/core/dev\_addr\_lists.c:1428)
dev\_set\_promiscuity (net/core/dev\_api.c:289)
br\_manage\_promisc (net/bridge/br\_if.c:135 net/bridge/br\_if.c:172)
br\_port\_flags\_change (net/bridge/br\_if.c:242 net/bridge/br\_if.c:747)
br\_setport (net/bridge/br\_netlink.c:1000)
br\_setlink (net/bridge/br\_netlink.c:1118)
rtnl\_bridge\_setlink (net/core/rtnetlink.c:5572)
rtnetlink\_rcv\_msg (net/core/rtnetlink.c:7005)
netlink\_rcv\_skb (net/netlink/af\_netlink.c:2550)
netlink\_unicast (net/netlink/af\_netlink.c:1318 net/netlink/af\_netlink.c:1344)
netlink\_sendmsg (net/netlink/af\_netlink.c:1894)
\_\_sock\_sendmsg (net/socket.c:787 (discriminator 4) net/socket.c:802 (discriminator 4))
\_\_\_\_sys\_sendmsg (net/socket.c:2698)
\_\_\_sys\_sendmsg (net/socket.c:2752)
\_\_sys\_sendmsg (net/socket.c:2784)
do\_syscall\_64 (arch/x86/entry/syscall\_64.c:63 arch/x86/entry/syscall\_64.c:94)
entry\_SYSCALL\_64\_after\_hwframe (arch/x86/entry/entry\_64.S:121)

## Affected and fixed versions

- Linux: \>= 78cd408356fe3edbac66598772fd347bf3e32c1f, \< c9c2e609e8397bb57b4d73675f33a99183c4a0bd; \>= 78cd408356fe3edbac66598772fd347bf3e32c1f, \< 803d39accfbdf223ccbb49684d5b5069b4c44586; \>= 78cd408356fe3edbac66598772fd347bf3e32c1f, \< 5eec4427b89c2fb2beac54920101e55a2f1c0c21 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 5eec4427b89c2fb2beac54920101e55a2f1c0c21 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63989. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63989.md
Affected: Linux >= 78cd408356fe3edbac66598772fd347bf3e32c1f, < c9c2e609e8397bb57b4d73675f33a99183c4a0bd; >= 78cd408356fe3edbac66598772fd347bf3e32c1f, < 803d39accfbdf223ccbb49684d5b5069b4c44586; >= 78cd408356fe3edbac66598772fd347bf3e32c1f, < 5eec4427b89c2fb2beac54920101e55a2f1c0c21; Linux 6.15
Fixed in: Linux 803d39accfbdf223ccbb49684d5b5069b4c44586, Linux 5eec4427b89c2fb2beac54920101e55a2f1c0c21

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63989 being exploited?

There is no confirmed exploitation: CVE-2026-63989 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.09% chance of exploitation in the next 30 days (as of 2026-12-03).

### How serious is CVE-2026-63989?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63989?

Linux \>= 78cd408356fe3edbac66598772fd347bf3e32c1f, \< c9c2e609e8397bb57b4d73675f33a99183c4a0bd; \>= 78cd408356fe3edbac66598772fd347bf3e32c1f, \< 803d39accfbdf223ccbb49684d5b5069b4c44586; \>= 78cd408356fe3edbac66598772fd347bf3e32c1f, \< 5eec4427b89c2fb2beac54920101e55a2f1c0c21; Linux 6.15.

### Is there a fix for CVE-2026-63989?

Yes. Fixed in Linux 803d39accfbdf223ccbb49684d5b5069b4c44586, Linux 5eec4427b89c2fb2beac54920101e55a2f1c0c21. Upgrade Linux to 5eec4427b89c2fb2beac54920101e55a2f1c0c21 or later.

### How do I check if I'm affected by CVE-2026-63989?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c9c2e609e8397bb57b4d73675f33a99183c4a0bd>
- patch: <https://git.kernel.org/stable/c/803d39accfbdf223ccbb49684d5b5069b4c44586>
- patch: <https://git.kernel.org/stable/c/5eec4427b89c2fb2beac54920101e55a2f1c0c21>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63989>

HTML: <https://flawdb.com/CVE-2026-63989> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63989>
