CVE-2024-38612
CriticalIn the Linux kernel, the following vulnerability has been resolved: ipv6: sr: fix invalid unregister error path The error path of seg6_init() is wrong in case CONFIG_IPV6_SEG6_LWTUNNEL is not defined. In that case if seg6_hmac_init() fails, the genl_unregister_family() isn't called. This issue exist since commit 46738b1317e1 ("ipv6: sr: add option to control lwtunnel support"), and commit 5559cea2d5aa ("ipv6: sr: fix possible use-after-free and null-ptr-deref") replaced unregister_pernet_subsys() with genl_unregister_family() in this error path.
CVSS 3.1 score
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2024-38612 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
References
The following references provide additional information about CVE-2024-38612 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/00e6335329f23ac6cf3105931691674e28bc598c
-
PatchKernel patch commithttps://git.kernel.org/stable/c/10610575a3ac2a702bf5c57aa931beaf847949c7
-
PatchKernel patch commithttps://git.kernel.org/stable/c/160e9d2752181fcf18c662e74022d77d3164cd45
Frequently asked questions
-
What is CVE-2024-38612?
CVE-2024-38612 is a Critical severity Linux kernel vulnerability with a CVSS score of 9.8 out of 10 , classified as an Use After Free flaw (CWE-416) . CVE-2024-38612 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-38612?
CVE-2024-38612 has a CVSS score of 9.8 out of 10, rated Critical severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-38612?
No patch is currently available for CVE-2024-38612. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-38612 actively exploited?
No — CVE-2024-38612 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →