CVE-2025-22077 Vulnerability Analysis & Exploit Details

CVE-2025-22077
Vulnerability Scoring

9.8
/10
Critical Risk

As a catastrophic security flaw, CVE-2025-22077 has severe implications, demanding immediate intervention.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2025-22077 Details

Status: Modified

Last updated: 🕕 30 Jul 2026, 06:22 UTC
Originally published on: 🕒 16 Apr 2025, 15:16 UTC

Time between publication and last update: 469 days

CVSS Release: version 3

CVSS3 Source

416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE-2025-22077 Vulnerability Summary

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.

Assessing the Risk of CVE-2025-22077

Access Complexity Graph

The exploitability of CVE-2025-22077 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2025-22077

With low attack complexity and no required privileges, CVE-2025-22077 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2025-22077, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2025-22077, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2025-22077 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2025-22077 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2025-22077 can disrupt system operations, potentially causing complete denial of service (DoS).

CVE-2025-22077 References

External References

CWE Common Weakness Enumeration

CWE-667

CAPEC Common Attack Pattern Enumeration and Classification

  • Forced Deadlock CAPEC-25 The adversary triggers and exploits a deadlock condition in the target software to cause a denial of service. A deadlock can occur when two or more competing actions are waiting for each other to finish, and thus neither ever does. Deadlock conditions can be difficult to detect.
  • Leveraging Race Conditions CAPEC-26 The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with their version and cause the system to read the malicious file.
  • Leveraging Race Conditions via Symbolic Links CAPEC-27 This attack leverages the use of symbolic links (Symlinks) in order to write to sensitive files. An attacker can create a Symlink link to a target file not otherwise accessible to them. When the privileged program tries to create a temporary file with the same name as the Symlink link, it will actually write to the target file pointed to by the attackers' Symlink link. If the attacker can insert malicious content in the temporary file they will be writing to the sensitive file by using the Symlink. The race occurs because the system checks if the temporary file exists, then creates the file. The attacker would typically create the Symlink during the interval between the check and the creation of the temporary file.

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:6.6.68:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.68:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.69:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.69:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.70:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.70:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.71:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.71:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.72:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.72:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.73:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.73:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.74:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.74:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.75:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.75:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.76:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.76:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.77:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.77:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.78:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.78:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.79:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.79:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.80:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.80:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.81:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.81:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.82:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.82:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.83:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.83:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.84:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.84:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.85:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.85:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.86:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.86:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.87:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.87:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.13:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.13:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.14:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.14:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.15:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.15:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.16:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.16:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.17:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.17:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.18:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.18:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.19:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.19:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.20:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.20:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.21:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.21:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.22:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.22:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.23:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.23:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.24:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.24:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2025-22077: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2026-90555 – vLLM versions before 0.28.0 fail to validate audio sample rate headers in the transcription endpoint, allowing authenticated clients to bypass dura...
  • CVE-2026-90554 – vLLM versions >=0.10.2 and <0.28.0 do not apply any audio decode-size or duration limit when extracting audio from video input for NanoNemotronVL m...
  • CVE-2026-90553 – vLLM before 0.28.0 contains a remote code execution vulnerability in the LlavaOnevision2 processor loader that ignores the trust_remote_code parame...
  • CVE-2026-90552 – WWBN AVideo through commit c3edcc274c389816d434acadac07ee78eaf330c1 fails to validate playlist ownership in the Playlists_schedules/list.json.php a...
  • CVE-2026-90551 – WWBN AVideo through commit c3edcc274c389816d434acadac07ee78eaf330c1 fails to validate playlist ownership in the video_from_program API endpoint, al...