Home / Linux / Linux / CVE-2025-22077
CVE-2025-22077: is it exploited, and which versions of Linux are affected and fixed?
CVE-2025-22077 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, 15:39 UTC). Affected: Linux from 6.6.68 before 6.6.88, Linux from 6.12.7 before 6.12.25 and Linux from 6.13 until the fixed versions (CVE record by Linux). Fixed in 6.6.88, 6.12.25, 6.14.4 and 6.15 (CVE record by Linux). Severity: Critical (9.8, CVSS 3.1, from Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 28, 2026, 17:49 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-22077?
In the Linux kernel, the following vulnerability has been resolved: Revert "smb: client: fix TCP timers deadlock after rmmod" This reverts commit e9f2517a3e18a54a3943c098d2226b245d488801. Commit e9f2517a3e18 ("smb: client: fix TCP timers deadlock after rmmod") is intended to fix a null-ptr-deref in LOCKDEP, which is mentioned as CVE-2024-54680, but is actually did not fix anything; The issue can be reproduced on top of it. [0] Also, it reverted the change by commit ef7134c7fc48 ("smb: client: Fix use-after-free of network namespace.") and introduced a real issue by reviving the kernel TCP socket. When a reconnect happens for a CIFS connection, the socket state transitions to FIN_WAIT_1. Then, inet_csk_clear_xmit_timers_sync() in tcp_close() stops all timers for the socket. If an incoming FIN packet is lost, the socket will stay at FIN_WAIT_1 forever, and such sockets could be leaked up to net.ipv4.tcp_max_orphans. Usually, FIN can be retransmitted by the peer, but if the peer aborts the connection, the issue comes into reality. I warned about this privately by pointing out the exact report [1], but the bogus fix was finally merged. So, we should not stop the timers to finally kill the connection on our side in that case, meaning we must not use a kernel socket for TCP whose sk->sk_net_refcnt is 0. The kernel socket does not have a reference to its netns to make it possible to tear down netns without cleaning up every resource in it. For example, tunnel devices use a UDP socket internally, but we can destroy netns without removing such devices and let it complete during exit. Otherwise, netns would be leaked when the last application died. However, this is problematic for TCP sockets because TCP has timers to close the connection gracefully even after the socket is close()d. The lifetime of the socket and its netns is different from the lifetime of the underlying connection. If the socket user does not maintain the netns lifetime, the timer could be fired after the socket is close()d and its netns is freed up, resulting in use-after-free. Actually, we have seen so many similar issues and converted such sockets to have a reference to netns. That's why I converted the CIFS client socket to have a reference to netns (sk->sk_net_refcnt == 1), which is somehow mentioned as out-of-scope of CIFS and technically wrong in e9f2517a3e18, but **is in-scope and right fix**. Regarding the LOCKDEP issue, we can prevent the module unload by bumping the module refcount when switching the LOCKDDEP key in sock_lock_init_class_and_name(). [2] For a while, let's revert the bogus fix. Note that now we can use sk_net_refcnt_upgrade() for the socket conversion, but I'll do so later separately to make backport easy.
From the CVE record by Linux, last updated October 15, 2026, 21:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 6.6.68 before 6.6.88 from 6.12.7 before 6.12.25 | 6.6.88, 6.12.25 |
| Linux | Linux | from 6.13 until the fixed versions | 6.6.88, 6.12.25, 6.14.4, 6.15 |
As the CVE record by Linux states it, last updated October 15, 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.6.68 before 6.6.88 | operating system |
| linux | linux kernel | from 6.12.7 before 6.12.25 | operating system |
| linux | linux kernel | from 6.13.1 before 6.14.4 | operating system |
| linux | linux kernel | 6.13 | operating system |
| linux | linux kernel | 6.15 | operating system |
NVD analysis (status Modified), last modified October 15, 2026, 22:18 UTC.
How severe is CVE-2025-22077?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| 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-22077 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, October 15, 2026)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 34.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-667 Improper Locking
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/8dbf060480236877703bff0106fc984576184d11
- https://git.kernel.org/stable/c/f761eeefd531e6550cd3a5c047835b4892acb00d
- https://git.kernel.org/stable/c/4b6f6bf1bde8d6045c389fda8d21c304dfe49384
- https://git.kernel.org/stable/c/95d2b9f693ff2a1180a23d7d59acc0c4e72f4c41
When was it published, and where is the official record?
- Reserved
- December 29, 2024
- Published
- April 16, 2025, 14:12 UTC
- CVE record updated
- October 15, 2026, 21:51 UTC by Linux
- NVD
- Modified, last modified October 15, 2026, 22:18 UTC
- Last checked
- CVE list November 28, 2026, 17:49 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 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-22077
Is CVE-2025-22077 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2025-22077?
Linux from 6.6.68 before 6.6.88, Linux from 6.12.7 before 6.12.25 and Linux from 6.13 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2025-22077?
6.6.88, 6.12.25, 6.14.4 and 6.15, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-22077?
Critical (9.8, CVSS 3.1, from Linux). The severity table above shows each score with its source.
Where is the official record of CVE-2025-22077?
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.