CVE-2024-56642
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56642 is a use-after-free vulnerability discovered in the Linux kernel's TIPC (Transparent Inter-Process Communication) module, specifically in the cleanup_bearer() function. The vulnerability was reported by syzkaller and affects Linux kernel versions from 4.2 up to versions before 5.4.287, 5.10.231, 5.15.174, 6.1.120, and 6.6.66 (NVD).

Technical details

The vulnerability occurs when bearer_disable() calls tipc_udp_disable(), where the cleanup of the UDP kernel socket is deferred by work calling cleanup_bearer(). The issue arises because the work decrements the count too early before releasing the kernel socket, which unblocks cleanup_net() and results in a use-after-free condition. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could potentially lead to privilege escalation, denial of service, or information leaks in affected Linux systems. The high CVSS score indicates significant potential impact on system confidentiality, integrity, and availability when exploited (NVD).

Mitigation and workarounds

The vulnerability has been fixed by moving the decrement operation after releasing the socket in cleanup_bearer(). Users are advised to upgrade to patched kernel versions: 5.4.287 or later, 5.10.231 or later, 5.15.174 or later, 6.1.120 or later, or 6.6.66 or later. The fix has been backported to various stable kernel branches (Kernel Patch).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

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