CVE-2024-50186: Linux kernel · Use After Free
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 29 Oct 2026, 23:15 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 8 Nov 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
The Linux kernel has resolved this issue by explicitly clearing the sk pointer when pf->create fails, preventing dangling pointers. Users should apply the official kernel updates that include this fix once available. Since this is a kernel-level vulnerability, upgrading to a patched kernel version is the recommended mitigation. Patch status is not explicitly confirmed in the provided data; users should consult the vendor advisory or kernel mailing lists for the exact fixed versions.
Description
CVE-2024-50186 is a use-after-free vulnerability in the Linux kernel's network socket creation code. It occurs because the socket pointer (sk) is not explicitly cleared when the protocol family create function (pf->create) fails, potentially leaving a dangling pointer. This issue was not fully addressed by a previous fix, as some pf->create implementations do not nullify the pointer on error paths. The vulnerability can lead to high impact including confidentiality, integrity, and availability violations.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50186 (opens in a new tab)
- git.kernel.org/stable/c/563e6892e21d6ecabdf62103fc4e7b326d212334 (opens in a new tab)
- git.kernel.org/stable/c/631083143315d1b192bd7d915b967b37819e88ea (opens in a new tab)
- git.kernel.org/stable/c/8e1b72fd74bf9da3b099d09857f4e7f114f38e12 (opens in a new tab)
- git.kernel.org/stable/c/b7d22a79ff4e962b8af5ffe623abd1d6c179eb9f (opens in a new tab)
- git.kernel.org/stable/c/daf462ff3cde6ecf22b98d9ae770232c10d28de2 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)