Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-23143

5.5 · MEDIUM
Published May 1, 2025 linux CWE-476 EPSS 0.20% (10th pctl)

Overview

CVE-2025-23143 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

net: Fix null-ptr-deref by sock_lock_init_class_and_name() and rmmod.

When I ran the repro [0] and waited a few seconds, I observed two

LOCKDEP splats: a warning immediately followed by a null-ptr-deref. [1]

Reproduction Steps:

1) Mount CIFS

2) Add an iptables rule to drop incoming FIN packets for CIFS

3) Unmount CIFS

4) Unload the CIFS module

5) Remove the iptables rule

At step 3), the CIFS module calls sock_release() for the underlying

TCP socket, and it returns quickly. However, the socket remains in

FIN_WAIT_1 because incoming FIN packets are dropped.

At this point, the module's refcnt is 0 while the socket is still

alive, so the following rmmod command succeeds.

# ss -tan

State Recv-Q Send-Q Local Address:Port Peer Address:Port

FIN-WAIT-1 0 477 10.0.2.15:51062 10.0.0.137:445

# lsmod | grep cifs

cifs 1159168 0

This highlights a discrepancy between t

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 2.6.20, < 5.4.300 Affected

Frequently Asked Questions

What is CVE-2025-23143?

CVE-2025-23143 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-23143?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-23143?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-23143?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-23143 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.