Home / Linux / Linux / CVE-2025-21986
CVE-2025-21986: is it exploited, and which versions of Linux are affected and fixed?
CVE-2025-21986 is an improper locking vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: Linux from 6.1.80 before 6.1.132, Linux from 6.6.19 before 6.6.84, Linux from 6.7.7 before 6.8 and 1 more (CVE record by Linux). Fixed in 6.1.132, 6.6.84, 6.8, 6.12.20 and 2 more (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 28, 2026, 17:50 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-21986?
In the Linux kernel, the following vulnerability has been resolved: net: switchdev: Convert blocking notification chain to a raw one A blocking notification chain uses a read-write semaphore to protect the integrity of the chain. The semaphore is acquired for writing when adding / removing notifiers to / from the chain and acquired for reading when traversing the chain and informing notifiers about an event. In case of the blocking switchdev notification chain, recursive notifications are possible which leads to the semaphore being acquired twice for reading and to lockdep warnings being generated [1]. Specifically, this can happen when the bridge driver processes a SWITCHDEV_BRPORT_UNOFFLOADED event which causes it to emit notifications about deferred events when calling switchdev_deferred_process(). Fix this by converting the notification chain to a raw notification chain in a similar fashion to the netdev notification chain. Protect the chain using the RTNL mutex by acquiring it when modifying the chain. Events are always informed under the RTNL mutex, but add an assertion in call_switchdev_blocking_notifiers() to make sure this is not violated in the future. Maintain the "blocking" prefix as events are always emitted from process context and listeners are allowed to block. [1]: WARNING: possible recursive locking detected 6.14.0-rc4-custom-g079270089484 #1 Not tainted -------------------------------------------- ip/52731 is trying to acquire lock: ffffffff850918d8 ((switchdev_blocking_notif_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x58/0xa0 but task is already holding lock: ffffffff850918d8 ((switchdev_blocking_notif_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x58/0xa0 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock((switchdev_blocking_notif_chain).rwsem); lock((switchdev_blocking_notif_chain).rwsem); *** DEADLOCK *** May be due to missing lock nesting notation 3 locks held by ip/52731: #0: ffffffff84f795b0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x727/0x1dc0 #1: ffffffff8731f628 (&net->rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x790/0x1dc0 #2: ffffffff850918d8 ((switchdev_blocking_notif_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x58/0xa0 stack backtrace: ... ? __pfx_down_read+0x10/0x10 ? __pfx_mark_lock+0x10/0x10 ? __pfx_switchdev_port_attr_set_deferred+0x10/0x10 blocking_notifier_call_chain+0x58/0xa0 switchdev_port_attr_notify.constprop.0+0xb3/0x1b0 ? __pfx_switchdev_port_attr_notify.constprop.0+0x10/0x10 ? mark_held_locks+0x94/0xe0 ? switchdev_deferred_process+0x11a/0x340 switchdev_port_attr_set_deferred+0x27/0xd0 switchdev_deferred_process+0x164/0x340 br_switchdev_port_unoffload+0xc8/0x100 [bridge] br_switchdev_blocking_event+0x29f/0x580 [bridge] notifier_call_chain+0xa2/0x440 blocking_notifier_call_chain+0x6e/0xa0 switchdev_bridge_port_unoffload+0xde/0x1a0 ...
From the CVE record by Linux, last updated November 5, 2026, 20:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 6.1.80 before 6.1.132 from 6.6.19 before 6.6.84 from 6.7.7 before 6.8 | 6.1.132, 6.6.84, 6.8 |
| Linux | Linux | from 6.8 until the fixed versions | 6.1.132, 6.6.84, 6.12.20, 6.13.8, 6.14 |
As the CVE record by Linux states it, last updated November 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 6.1.80 before 6.1.132 | operating system |
| linux | linux kernel | from 6.6.19 before 6.6.84 | operating system |
| linux | linux kernel | from 6.7.7 before 6.8 | operating system |
| linux | linux kernel | from 6.8.1 before 6.12.20 | operating system |
| linux | linux kernel | from 6.13 before 6.13.8 | operating system |
| linux | linux kernel | 6.8 | operating system |
| linux | linux kernel | 6.14 | operating system |
NVD analysis (status Modified), last modified November 5, 2026, 21:17 UTC.
How severe is CVE-2025-21986?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-21986 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 5, 2026)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-667 Improper Locking
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/af757f5ee3f754c5dceefb05c12ff37cb46fc682
- https://git.kernel.org/stable/c/1f7d051814e7a0cb1f0717ed5527c1059992129d
- https://git.kernel.org/stable/c/a597d4b75669ec82c72cbee9fe75a15d04b35b2b
- https://git.kernel.org/stable/c/f9ed3fb50b872bd78bcb01f25087f9e4e25085d8
- https://git.kernel.org/stable/c/62531a1effa87bdab12d5104015af72e60d926ff
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
When was it published, and where is the official record?
- Reserved
- December 29, 2024
- Published
- April 1, 2025, 15:47 UTC
- CVE record updated
- November 5, 2026, 20:41 UTC by Linux
- NVD
- Modified, last modified November 5, 2026, 21:17 UTC
- Last checked
- CVE list November 28, 2026, 17:50 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2025-21986
Is CVE-2025-21986 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux are affected by CVE-2025-21986?
Linux from 6.1.80 before 6.1.132, Linux from 6.6.19 before 6.6.84, Linux from 6.7.7 before 6.8 and Linux from 6.8 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2025-21986?
6.1.132, 6.6.84, 6.8, 6.12.20, 6.13.8 and 6.14, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-21986?
Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2025-21986?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.