CVE-2024-56642: Linux kernel · tipc: Fix use-after-free of kernel socket in cleanup_bearer().
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:51 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel by moving the decrement of the workqueue count to after the kernel socket release in cleanup_bearer(). Users should update to a Linux kernel version that includes this fix. Since no specific fixed versions are provided, check the vendor or kernel mailing list advisories for the exact patched kernel versions. No other mitigations are indicated.
Description
CVE-2024-56642 is a use-after-free vulnerability in the Linux kernel's TIPC UDP bearer cleanup code. The flaw occurs because the workqueue decrements a reference count before releasing the kernel socket, leading to a potential use-after-free condition. This issue was reported by syzkaller and affects kernel versions including 6.12.0-rc1. The vulnerability has a high severity with a CVSS score of 7.8.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56642 (opens in a new tab)
- git.kernel.org/stable/c/4e69457f9dfae67435f3ccf29008768eae860415 (opens in a new tab)
- git.kernel.org/stable/c/650ee9a22d7a2de8999fac2d45983597a0c22359 (opens in a new tab)
- git.kernel.org/stable/c/6a2fa13312e51a621f652d522d7e2df7066330b6 (opens in a new tab)
- git.kernel.org/stable/c/d00d4470bf8c4282617a3a10e76b20a9c7e4cffa (opens in a new tab)
- git.kernel.org/stable/c/d2a4894f238551eae178904e7f45af87577074fd (opens in a new tab)
- git.kernel.org/stable/c/d62d5180c036eeac09f80660edc7a602b369125f (opens in a new tab)
- git.kernel.org/stable/c/e48b211c4c59062cb6dd6c2c37c51a7cc235a464 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)