PT-2025-18397

CVE-2025-23143

·

Published

2025-04-09

·

Updated

2026-11-06

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to the fixed version
Description A null pointer dereference issue has been identified in the Linux kernel. The problem occurs when the CIFS module is unloaded while a TCP socket is still alive, causing a discrepancy between the lifetime of the CIFS module and the underlying TCP socket. This issue is triggered when the sock lock init class and name() function is called, and the module is unloaded before the socket is freed. The estimated number of potentially affected devices is not provided.
Technical details about exploitation include:
  • The sock lock init class and name() function assigns a different lock class to the TCP socket's sk->sk lock.
  • The check wait context() function checks the lock context, and hlock class() is called to retrieve the lock class.
  • If the module has already been unloaded, hlock class() logs a warning and returns NULL, triggering the null pointer dereference.
Recommendations To resolve this issue, update the Linux kernel to a version that includes the fix for the null pointer dereference issue. As a temporary workaround, consider avoiding the unloading of the CIFS module while a TCP socket is still alive. Restrict access to the sock lock init class and name() function to minimize the risk of exploitation. Avoid using the rmmod command to unload the CIFS module while a TCP socket is still in the FIN WAIT 1 state.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
AZL-69665
AZL-69677
CLSA-2025-1764085382
CLSA-2026-1783091784
CLSA-2026-1783791447
DLA-4328-1
DLA-4404-1
DSA-6009-1
ECHO-C721-6FA2-2D6B
USN-7594-1
USN-7594-2
USN-7594-3
USN-8033-1
USN-8033-2
USN-8033-3
USN-8033-4
USN-8033-5
USN-8033-6
USN-8033-7
USN-8033-8
USN-8034-1
USN-8034-2
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8141-1
USN-8163-1
USN-8163-2
USN-8165-1
USN-8243-1
USN-8261-1
Found an issue in the description? Have something to add? Feel free to write us 👾