CVE-2023-1382
Linux Kernel vulnerability analysis and mitigation

Overview

A data race vulnerability (CVE-2023-1382) was discovered in the Linux kernel's TIPC protocol implementation. The flaw exists between where 'con' is allocated and 'con->sock' is set, leading to a NULL pointer dereference when accessing 'con->sock->sk' in net/tipc/topsrv.c. The vulnerability was discovered by Wei Chen and disclosed in March 2023 (Ubuntu Security, CVE Mitre).

Technical details

The vulnerability stems from a race condition between tipctopsrvaccept() and tipcconnclose() functions, where one process allocates the connection while another frees it without proper lock protection. This can trigger a null-pointer-dereference and a use-after-free condition. The issue specifically occurs in the TIPC (Transparent Inter-Process Communication) protocol implementation within the Linux kernel's networking stack (Kernel Patch).

Impact

When exploited, this vulnerability can cause a denial of service condition through system crashes. The vulnerability has been assigned a CVSS 3 Severity Score of 4.7 (Medium), indicating moderate severity (Ubuntu Security).

Mitigation and workarounds

The issue has been fixed in various Linux kernel versions across different distributions. Ubuntu has released patches for affected versions including 22.10 (5.19.0-35.36), 22.04 LTS (5.15.0-67.74), 20.04 LTS (5.4.0-144.161), and 18.04 LTS (4.15.0-224.236). The fix involves proper locking mechanisms and reference counting in the TIPC connection handling code (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management