Skip to main content

Linux Kernel CVE-2026-63988

| EUVDEUVD-2026-45561 MEDIUM
Improper Locking (CWE-667)
2026-07-19 Linux GHSA-qqj9-pc4p-85gc
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local shell with CAP_NET_ADMIN
  2. Delivery
    Configure/select bridge with a port
  3. Exploit
    Write port flag via brport sysfs
  4. Execution
    Trigger dev_set_promiscuity() under br->lock
  5. Impact
    Sleep in atomic context, kernel instability/DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
Exploitation Conditions

Requires local access with the ability to write bridge-port attributes under /sys/class/net/<port>/brport/ (CAP_NET_ADMIN), and a host where a bridge with ports is configured. Exploitation is specifically triggered by changing a port flag that alters device promiscuity (the br_manage_promisc() path), which invokes a now-sleeping dev_set_promiscuity() while the br->lock spinlock is held. Limiting factors: it is not remotely reachable (AV:L), requires privilege (CAP_NET_ADMIN, not an ordinary unprivileged user outside a delegated network namespace), requires an actual bridge configuration, and the visible splat/impact is most pronounced on kernels built with debug-atomic-sleep checking; impact is limited to availability with no data exposure or code execution.

Impact

This is a low-to-moderate priority, availability-only defect and the signals are internally consistent in pointing away from urgent, widespread risk. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5) describes a local, low-complexity, authenticated issue with no confidentiality or integrity impact - only availability. EPSS reinforces this: 0.17% probability at the 6th percentile indicates essentially no observed interest in exploitation. There is no CISA KEV listing and no public exploit code identified, so exploitation status is 'no public exploit identified at time of analysis.' The underlying flaw (CWE-667, improper locking / sleep in atomic context) is a kernel robustness bug - brport_store() held the br->lock spinlock while calling dev_set_promiscuity(), which can now sleep - rather than a memory-corruption primitive, which is consistent with the A:H-only impact. One signal conflict worth flagging: the input Tags label this 'Information Disclosure,' but the CVSS vector (C:N, A:H) and the described mechanism (BUG: sleeping function called from invalid context) indicate a denial-of-service/availability problem with no confidentiality dimension - the tag appears mislabeled. Net: a real bug worth patching through normal stable-kernel update cycles, not an emergency.

Exploit ScenarioDerived

A local user holding CAP_NET_ADMIN on a host with a configured bridge writes to a bridge-port sysfs attribute (e.g. /sys/class/net/<port>/brport/learning) that toggles a port flag affecting promiscuity. The flag change causes br_manage_promisc() → dev_set_promiscuity() to attempt to sleep while the br->lock spinlock is held, triggering a 'sleeping function called from invalid context' splat and, on affected kernels, instability or a hang/crash. No public exploit code is known; this is a reliability/DoS condition rather than a code-execution path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

A sleep-in-atomic-context bug in the Linux kernel bridge port sysfs handler (brport_store) lets a local user with CAP_NET_ADMIN trigger kernel warnings and a potential denial of service by toggling a bridge port flag that changes device promiscuity, such as the learning attribute. Because brport_store() has historically held the bridge spinlock br->lock for every port attribute, the promiscuity path (br_port_flags_change -> br_manage_promisc -> dev_set_promiscuity -> netif_rx_mode_run) can now sleep while that lock is held, producing a 'sleeping function called from invalid context' splat at net/core/dev_addr_lists.c:1262. Exploitation requires local access with low privileges (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, 5.5) and a host where a bridge with an enslaved port is configured; there is no public exploit identified at time of analysis, EPSS is only 0.17% (6th percentile), and impact is limited to availability, with no confidentiality or integrity effect - a low-to-moderate, availability-only defect rather than an urgent widespread risk.

RemediationAI

Vendor-released patches are available: update to Linux 6.18.35, 7.0.12 or 7.1 (or later) which contain the narrowed-lock fix, or apply the kernel package update from your distribution - Ubuntu users should follow USN-8593-1 (https://ubuntu.com/security/notices/USN-8593-1) and can review the upstream commits e976e3f2f2005c6267089a1a3b6344f234a59a55, 2f9cb30d97e45686f3119fff3b30f12259950910 and 6d34594cc619d0d4b07d5afcad8b5984f3526dcf for backport verification. If immediate patching is not possible, restrict CAP_NET_ADMIN to trusted administrators and prevent untrusted users from writing to /sys/class/net/<port>/brport/ attributes, including inside delegated network namespaces - noting this is only a partial control because bridge administration normally requires CAP_NET_ADMIN. As a narrower workaround, avoid toggling bridge port flags that change device promiscuity (for example the learning attribute) on affected kernels where a bridge has enslaved ports, which removes the trigger but leaves the underlying locking defect and other port attributes reachable. Be aware that kernels built with CONFIG_DEBUG_ATOMIC_SLEEP will emit the splat while others may not, so the absence of a warning should not be taken as proof that the code path is safe.

Affected VersionsENISA

Linux patch: 7.1
Linux 78cd408356fe3edbac66598772fd347bf3e32c1f <2f9cb30d97e45686f3119fff3b30f12259950910
Linux patch: 7.0.12
Linux patch: 0
Linux 78cd408356fe3edbac66598772fd347bf3e32c1f <6d34594cc619d0d4b07d5afcad8b5984f3526dcf
Linux 78cd408356fe3edbac66598772fd347bf3e32c1f <e976e3f2f2005c6267089a1a3b6344f234a59a55
Linux 6.15
Linux patch: 6.18.35

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The bridge per-port sysfs interface in net/bridge/br_sysfs_if.c exposes attributes under /sys/class/net/<port>/brport/ and funnels every write through brport_store(). Since the beginning of the git history that function unconditionally acquired the bridge lock, which originally only needed to protect STP state read by the cost and priority attributes. The handler has since grown to cover bridge flags, FDB port flushing, multicast attributes, group forward mask and backup port, most of which need only RTNL, the FDB lock or the multicast lock. The defect (CWE-667, improper locking) surfaces because changing a port flag walks store_learning -> br_port_flags_change() -> br_manage_promisc() -> dev_set_promiscuity(), and dev_set_promiscuity() now reaches netif_rx_mode_sync()/netif_rx_mode_run(), which may sleep (__might_resched). Executing that path while br->lock is held as a spinlock violates the no-sleeping-in-atomic-context rule; the splat shows br->lock acquired at br_sysfs_if.c:345 with rtnetlink and kernfs locks also held. The upstream fix narrows the br->lock scope to only the two STP attributes that actually require it, removes the stale comment in br_switchdev_set_port_flag(), and notes that SWITCHDEV_F_DEFER can be dropped in net-next.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local sysfs write requiring CAP_NET_ADMIN (AV:L, PR:L), deterministic trigger (AC:L), availability-only DoS with no data impact (C:N/I:N/A:H), no scope change.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Oct 08, 2026 - 13:37 NVD
5.5 (MEDIUM)
Patch available
Jul 19, 2026 - 17:19 EUVD
CVE Published
Jul 19, 2026 - 14:56 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 14:56 nvd
MEDIUM 5.5

DescriptionNVD

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

bridge: Fix sleep in atomic context in sysfs path

Since the start of the git history, brport_store() always acquired the bridge lock. 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 was only used by two STP related attributes (cost and priority).

Nowadays, brport_store() 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: Only requires 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 two STP related attributes that require it. Remove the now stale comment from br_switchdev_set_port_flag(). The SWITCHDEV_F_DEFER flag can be removed in net-next.

[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: 372, name: bash preempt_count: 201, expected: 0 RCU nest depth: 0, expected: 0 5 locks held by bash/372: #0: ffff88810c51c3f0 (sb_writers#7){.+.+}-{0:0}, at: ksys_write (fs/read_write.c:740) #1: ffff888115ce9480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter (fs/kernfs/file.c:343) #2: ffff88810b9fd330 (kn->active#37){.+.+}-{0:0}, at: kernfs_fop_write_iter (fs/kernfs/file.c:80 fs/kernfs/file.c:344) #3: ffffffffa59473a0 (rtnl_mutex){+.+.}-{4:4}, at: brport_store (net/bridge/br_sysfs_if.c:326) #4: ffff8881099d2d58 (&br->lock){+...}-{3:3}, at: brport_store (./include/linux/spinlock.h:348 net/bridge/br_sysfs_if.c:345) 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) store_learning (net/bridge/br_sysfs_if.c:79 net/bridge/br_sysfs_if.c:235) brport_store (net/bridge/br_sysfs_if.c:346) kernfs_fop_write_iter (fs/kernfs/file.c:352) new_sync_write (fs/read_write.c:595) vfs_write (fs/read_write.c:688) ksys_write (fs/read_write.c:740) 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)

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel; bridge subsystem present in virtually all deployments
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy