CVE-2024-38612 | ipv6: sr: fix invalid unregister error path

In 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.

Published: 2024-06-19 Last update: 2026-05-12 Assigner: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Conclusion & alert: CVE-2024-38612 is rated Moderate Risk (52.6/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.17%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-38612

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-12-03 0.13% 0.17% +0.03%
2 2025-11-21 1.17% 0.13% -1.04%
3 2025-11-18 1.17%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-38612

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-38612

GitHub Security Advisory for CVE-2024-38612

GHSA-r6h6-9448-4q2f · Severity: critical — In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: fix invalid...

OS Trackers for CVE-2024-38612

vendor priority summary link
debian not yet assigned CVE-2024-38612 not yet assigned priority: Debian including 1 source packages (linux), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-38612
redhat medium https://access.redhat.com/security/cve/CVE-2024-38612
suse medium CVE-2024-38612 severity moderate: SUSE including 26 source package names (cluster-md-kmp-default, dlm-kmp-default, …), 343 product×package rows across 66 product lines (SLES-LTSS-TERADATA 15 SP2, SUSE Enterprise Storage 7.1, … (66 product lines)): Known Not Affected 343. https://www.suse.com/security/cve/CVE-2024-38612/
ubuntu medium CVE-2024-38612 medium priority: Ubuntu including 160 source packages (linux, linux-allwinner-5.19, …), 1686 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 1267, released 187, ignored 146, not-affected 71, needed 15. https://ubuntu.com/security/CVE-2024-38612

Affected software / configurations for CVE-2024-38612

Vendor Product Version Raw CPE
linux linux_kernel >= 4.10, < 4.19.316 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 4.20, < 5.4.278 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 5.5, < 5.10.219 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 5.11, < 5.15.161 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 5.16, < 6.1.93 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 6.2, < 6.6.33 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 6.7, < 6.8.12 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 6.9, < 6.9.3 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

References for CVE-2024-38612

URL Tags
https://git.kernel.org/stable/c/00e6335329f23ac6cf3105931691674e28bc598c Patch
https://git.kernel.org/stable/c/10610575a3ac2a702bf5c57aa931beaf847949c7 Patch
https://git.kernel.org/stable/c/160e9d2752181fcf18c662e74022d77d3164cd45 Patch
https://git.kernel.org/stable/c/1a63730fb315bb1bab97edd69ff58ad45e04bb01 Patch
https://git.kernel.org/stable/c/3398a40dccb88d3a7eef378247a023a78472db66 Patch
https://git.kernel.org/stable/c/646cd236c55e2cb5f146fc41bbe4034c4af5b2a4 Patch
https://git.kernel.org/stable/c/85a70ff1e572160f1eeb096ed48d09a1c9d4d89a Patch
https://git.kernel.org/stable/c/c04d6a914e890ccea4a9d11233009a2ee7978bf4 Patch
https://git.kernel.org/stable/c/e77a3ec7ada84543e75722a1283785a6544de925 Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
https://cert-portal.siemens.com/productcert/html/ssa-265688.html
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
https://cert-portal.siemens.com/productcert/html/ssa-613116.html
cvelogic Threat Intelligence