Linux kernel socket lock class null pointer dereference
CVE-2025-23143Medium
The Linux kernel can crash with a null pointer dereference when a module that assigns a custom lock class to a socket is unloaded whilst the socket is still alive. An attacker or user can trigger this by mounting CIFS, blocking incoming FIN packets with iptables, unmounting CIFS, unloading the CIFS module, and then removing the iptables rule. When the kernel processes a packet or timer event on the orphaned socket after the module is unloaded, it attempts to retrieve the lock class which no longer exists, causing a crash.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 2.6.20, before 5.4.300
- linux linux kernel: from 5.5, before 5.10.245
- linux linux kernel: from 5.11, before 5.15.194
- linux linux kernel: from 5.16, before 6.1.153
- linux linux kernel: from 6.2, before 6.6.107
- linux linux kernel: from 6.7, before 6.12.24
- linux linux kernel: from 6.13, before 6.13.12
- linux linux kernel: from 6.14, before 6.14.3
- linux linux kernel: 6.15
- debian debian linux: 11.0
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)