Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-38612

HIGH 7.0EPSS 65%

ipv6: sr: fix invalid unregister error path

Mitigation

  • Upgrade Linux to 160e9d2752181fcf18c662e74022d77d3164cd45 or later.

Who should check

  • Anyone running Linux >= 46738b1317e169b281ad74690276916e24d1be6d, < 10610575a3ac2a702bf5c57aa931beaf847949c7; >= 46738b1317e169b281ad74690276916e24d1be6d, < 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4; >= 46738b1317e169b281ad74690276916e24d1be6d, < 00e6335329f23ac6cf3105931691674e28bc598c; >= 46738b1317e169b281ad74690276916e24d1be6d, < 1a63730fb315bb1bab97edd69ff58ad45e04bb01; >= 46738b1317e169b281ad74690276916e24d1be6d, < e77a3ec7ada84543e75722a1283785a6544de925; >= 46738b1317e169b281ad74690276916e24d1be6d, < 3398a40dccb88d3a7eef378247a023a78472db66; >= 46738b1317e169b281ad74690276916e24d1be6d, < 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a; >= 46738b1317e169b281ad74690276916e24d1be6d, < c04d6a914e890ccea4a9d11233009a2ee7978bf4; >= 46738b1317e169b281ad74690276916e24d1be6d, < 160e9d2752181fcf18c662e74022d77d3164cd45
  • Anyone running Linux 4.10

Vulnerability facts

Affected
Linux >= 46738b1317e169b281ad74690276916e24d1be6d, < 10610575a3ac2a702bf5c57aa931beaf847949c7; >= 46738b1317e169b281ad74690276916e24d1be6d, < 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4; >= 46738b1317e169b281ad74690276916e24d1be6d, < 00e6335329f23ac6cf3105931691674e28bc598c; >= 46738b1317e169b281ad74690276916e24d1be6d, < 1a63730fb315bb1bab97edd69ff58ad45e04bb01; >= 46738b1317e169b281ad74690276916e24d1be6d, < e77a3ec7ada84543e75722a1283785a6544de925; >= 46738b1317e169b281ad74690276916e24d1be6d, < 3398a40dccb88d3a7eef378247a023a78472db66; >= 46738b1317e169b281ad74690276916e24d1be6d, < 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a; >= 46738b1317e169b281ad74690276916e24d1be6d, < c04d6a914e890ccea4a9d11233009a2ee7978bf4; >= 46738b1317e169b281ad74690276916e24d1be6d, < 160e9d2752181fcf18c662e74022d77d3164cd45; Linux 4.10
Fixed in
Linux 10610575a3ac2a702bf5c57aa931beaf847949c7, Linux 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4, Linux 00e6335329f23ac6cf3105931691674e28bc598c, Linux 1a63730fb315bb1bab97edd69ff58ad45e04bb01, Linux 3398a40dccb88d3a7eef378247a023a78472db66, Linux 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a, Linux 160e9d2752181fcf18c662e74022d77d3164cd45
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.08% chance of exploitation in 30 days (percentile 65, 2026-11-26)
CWE
CWE-416, CWE-476
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 46738b1317e169b281ad74690276916e24d1be6d, < 10610575a3ac2a702bf5c57aa931beaf847949c7; >= 46738b1317e169b281ad74690276916e24d1be6d, < 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4; >= 46738b1317e169b281ad74690276916e24d1be6d, < 00e6335329f23ac6cf3105931691674e28bc598c; >= 46738b1317e169b281ad74690276916e24d1be6d, < 1a63730fb315bb1bab97edd69ff58ad45e04bb01; >= 46738b1317e169b281ad74690276916e24d1be6d, < e77a3ec7ada84543e75722a1283785a6544de925; >= 46738b1317e169b281ad74690276916e24d1be6d, < 3398a40dccb88d3a7eef378247a023a78472db66; >= 46738b1317e169b281ad74690276916e24d1be6d, < 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a; >= 46738b1317e169b281ad74690276916e24d1be6d, < c04d6a914e890ccea4a9d11233009a2ee7978bf4; >= 46738b1317e169b281ad74690276916e24d1be6d, < 160e9d2752181fcf18c662e74022d77d3164cd45—cvelist
Linux4.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-38612. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-38612.md
Affected: Linux >= 46738b1317e169b281ad74690276916e24d1be6d, < 10610575a3ac2a702bf5c57aa931beaf847949c7; >= 46738b1317e169b281ad74690276916e24d1be6d, < 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4; >= 46738b1317e169b281ad74690276916e24d1be6d, < 00e6335329f23ac6cf3105931691674e28bc598c; >= 46738b1317e169b281ad746…
Fixed in: Linux 10610575a3ac2a702bf5c57aa931beaf847949c7, Linux 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4, Linux 00e6335329f23ac6cf3105931691674e28bc598c, Linux 1a63730fb315bb1bab97edd69ff58ad45e04bb01, Linux 3398a40dccb88d3a7eef378247a023a78472db66, Linux 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a, Linux 160e9…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-38612 being exploited?

There is no confirmed exploitation: CVE-2024-38612 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.08% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-38612?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-38612?

Linux >= 46738b1317e169b281ad74690276916e24d1be6d, < 10610575a3ac2a702bf5c57aa931beaf847949c7; >= 46738b1317e169b281ad74690276916e24d1be6d, < 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4; >= 46738b1317e169b281ad74690276916e24d1be6d, < 00e6335329f23ac6cf3105931691674e28bc598c; >= 46738b1317e169b281ad74690276916e24d1be6d, < 1a63730fb315bb1bab97edd69ff58ad45e04bb01; >= 46738b1317e169b281ad74690276916e24d1be6d, < e77a3ec7ada84543e75722a1283785a6544de925; >= 46738b1317e169b281ad74690276916e24d1be6d, < 3398a40dccb88d3a7eef378247a023a78472db66; >= 46738b1317e169b281ad74690276916e24d1be6d, < 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a; >= 46738b1317e169b281ad74690276916e24d1be6d, < c04d6a914e890ccea4a9d11233009a2ee7978bf4; >= 46738b1317e169b281ad74690276916e24d1be6d, < 160e9d2752181fcf18c662e74022d77d3164cd45; Linux 4.10.

Is there a fix for CVE-2024-38612?

Yes. Fixed in Linux 10610575a3ac2a702bf5c57aa931beaf847949c7, Linux 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4, Linux 00e6335329f23ac6cf3105931691674e28bc598c, Linux 1a63730fb315bb1bab97edd69ff58ad45e04bb01, Linux 3398a40dccb88d3a7eef378247a023a78472db66, Linux 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a, Linux 160e9d2752181fcf18c662e74022d77d3164cd45. Upgrade Linux to 160e9d2752181fcf18c662e74022d77d3164cd45 or later.

How do I check if I'm affected by CVE-2024-38612?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors