CVEBrief

Home / Linux / Linux / CVE-2025-23143

CVE-2025-23143: is it exploited, and which versions of Linux are affected and fixed?

CVE-2025-23143 is a NULL pointer dereference (crash) 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, 17:39 UTC). Affected: Linux from 2.6.20 until the fixed versions (CVE record by Linux). Fixed in 5.4.300, 5.10.245, 5.15.194, 6.1.153 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, 17:39 UTC, CVE record November 28, 2026, 17:48 UTC and NVD November 19, 2026, 07:20 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 17:39 UTC
Affected
Linux from 2.6.20 until the fixed versions
CVE record by Linux
Fixed in
5.4.300, 5.10.245, 5.15.194, 6.1.153 and 2 more
CVE record by Linux
Severity
Medium 5.5
CVSS 3.1 from NVD
Exploit odds (EPSS)
0.27% in 30 days
higher than 21% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-23143?

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 the lifetime of the CIFS module and the underlying TCP socket. Even after CIFS calls sock_release() and it returns, the TCP socket does not die immediately in order to close the connection gracefully. While this is generally fine, it causes an issue with LOCKDEP because CIFS assigns a different lock class to the TCP socket's sk->sk_lock using sock_lock_init_class_and_name(). Once an incoming packet is processed for the socket or a timer fires, sk->sk_lock is acquired. Then, LOCKDEP checks the lock context in check_wait_context(), where hlock_class() is called to retrieve the lock class. However, since the module has already been unloaded, hlock_class() logs a warning and returns NULL, triggering the null-ptr-deref. If LOCKDEP is enabled, we must ensure that a module calling sock_lock_init_class_and_name() (CIFS, NFS, etc) cannot be unloaded while such a socket is still alive to prevent this issue. Let's hold the module reference in sock_lock_init_class_and_name() and release it when the socket is freed in sk_prot_free(). Note that sock_lock_init() clears sk->sk_owner for svc_create_socket() that calls sock_lock_init_class_and_name() for a listening socket, which clones a socket by sk_clone_lock() without GFP_ZERO. [0]: CIFS_SERVER="10.0.0.137" CIFS_PATH="//${CIFS_SERVER}/Users/Administrator/Desktop/CIFS_TEST" DEV="enp0s3" CRED="/root/WindowsCredential.txt" MNT=$(mktemp -d /tmp/XXXXXX) mount -t cifs ${CIFS_PATH} ${MNT} -o vers=3.0,credentials=${CRED},cache=none,echo_interval=1 iptables -A INPUT -s ${CIFS_SERVER} -j DROP for i in $(seq 10); do umount ${MNT} rmmod cifs sleep 1 done rm -r ${MNT} iptables -D INPUT -s ${CIFS_SERVER} -j DROP [1]: DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 10 PID: 0 at kernel/locking/lockdep.c:234 hlock_class (kernel/locking/lockdep.c:234 kernel/locking/lockdep.c:223) Modules linked in: cifs_arc4 nls_ucs2_utils cifs_md4 [last unloaded: cifs] CPU: 10 UID: 0 PID: 0 Comm: swapper/10 Not tainted 6.14.0 #36 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 RIP: 0010:hlock_class (kernel/locking/lockdep.c:234 kernel/locking/lockdep.c:223) ... Call Trace: <IRQ> __lock_acquire (kernel/locking/lockdep.c:4853 kernel/locking/lockdep.c:5178) lock_acquire (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853 kernel/locking/lockdep.c:5816) _raw_spin_lock_nested (kernel/locking/spinlock.c:379) tcp_v4_rcv (./include/linux/skbuff.h:1678 ./include/net/tcp.h:2547 net/ipv4/tcp_ipv4.c:2350) ... BUG: kernel NULL pointer dereference, address: 00000000000000c4 PF: supervisor read access in kernel mode PF: error_code(0x0000) - not-present page PGD 0 Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI CPU: 10 UID: 0 PID: 0 Comm: swapper/10 Tainted: G W 6.14.0 #36 Tainted: [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 RIP: 0010:__lock_acquire (kernel/ ---truncated---

From the CVE record by Linux, last updated November 10, 2026, 12:35 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 2.6.20 until the fixed versions5.4.300, 5.10.245, 5.15.194, 6.1.153, 6.6.107, 6.12.24, 6.13.12, 6.14.3, 6.15

As the CVE record by Linux states it, last updated November 10, 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?

VendorProductVersionsType
linuxlinux kernelfrom 2.6.20 before 5.4.300operating system
linuxlinux kernelfrom 5.5 before 5.10.245operating system
linuxlinux kernelfrom 5.11 before 5.15.194operating system
linuxlinux kernelfrom 5.16 before 6.1.153operating system
linuxlinux kernelfrom 6.2 before 6.6.107operating system
linuxlinux kernelfrom 6.7 before 6.12.24operating system
linuxlinux kernelfrom 6.13 before 6.13.12operating system
linuxlinux kernelfrom 6.14 before 6.14.3operating system
linuxlinux kernel6.15operating system
debiandebian linux11.0operating system

NVD analysis (status Modified), last modified November 10, 2026, 13:17 UTC.

How severe is CVE-2025-23143?

ScoreVersionVectorSource
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD

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-23143 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.27% probability of exploitation activity in the next 30 days, percentile 20.7 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 11, 2025
Published
May 1, 2025, 12:55 UTC
CVE record updated
November 10, 2026, 12:35 UTC by Linux
NVD
Modified, last modified November 10, 2026, 13:17 UTC
Last checked
CVE list November 28, 2026, 17:48 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2025-23143

Is CVE-2025-23143 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2025-23143?

Linux from 2.6.20 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2025-23143?

5.4.300, 5.10.245, 5.15.194, 6.1.153, 6.6.107 and 6.12.24, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-23143?

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-23143?

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.