CVE-2024-38612CWE-416CWE-476

CVE-2024-38612

High · published June 19, 2024

CVSS v3.1
7.0
EPSS
1%
Percentile
51.0
In the wild
Unconfirmed
What it is

🔥 A sneaky error path in the Linux kernel leaves a door ajar for issues that could escalate out of control! ⚠️ Imagine a fire alarm that fails to alert the fire department because of a faulty circuit. If a critical component in the response system doesn’t trigger when it should, the whole building could be in jeopardy! If seg6_hmac_init() fails and the system doesn't properly unregister, it may lead to unexpected behavior in the kernel, potentially causing system instability or crashes. This could allow for exploitation of the system in unforeseen ways, creating a cascading failure that puts your environment at risk.

Put simply

Imagine a fire alarm that fails to alert the fire department because of a faulty circuit. If a critical component in the response system doesn’t trigger when it should, the whole building could be in jeopardy! This vulnerability occurs in the Linux kernel's error handling path for the IPv6 segment routing when CONFIG_IPV6_SEG6_LWTUNNEL is not defined. If seg6_hmac_init() encounters an issue, the system fails to call genl_unregister_family(), which can lead to improper cleanup of resources.

What to do

If seg6_hmac_init() fails and the system doesn't properly unregister, it may lead to unexpected behavior in the kernel, potentially causing system instability or crashes. This could allow for exploitation of the system in unforeseen ways, creating a cascading failure that puts your environment at risk. To protect your systems, upgrade to the fixed kernel version that addresses this bug. Always ensure you have the latest security patches applied to your kernel to minimize vulnerabilities. Review your build configurations to avoid leaving potentially risky settings undefined. 🛡️ You've got this! With these updates, you'll keep your systems secure and stable! 🚀

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00661 · 51.0th percentile
Weaknesses
CWE-416 · Use After Free; CWE-476 · NULL Pointer Dereference
Published
2024-06-19T18:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 4.10, < 4.19.3164.19.316
linux/linux_kernel≥ 4.20, < 5.4.2785.4.278
linux/linux_kernel≥ 5.5, < 5.10.2195.10.219
linux/linux_kernel≥ 5.11, < 5.15.1615.15.161
linux/linux_kernel≥ 5.16, < 6.1.936.1.93
linux/linux_kernel≥ 6.2, < 6.6.336.6.33
linux/linux_kernel≥ 6.7, < 6.8.126.8.12
linux/linux_kernel≥ 6.9, < 6.9.36.9.3
References (22)
https://git.kernel.org/stable/c/00e6335329f23ac6cf3105931691674e28bc598c · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/10610575a3ac2a702bf5c57aa931beaf847949c7 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/160e9d2752181fcf18c662e74022d77d3164cd45 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1a63730fb315bb1bab97edd69ff58ad45e04bb01 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/3398a40dccb88d3a7eef378247a023a78472db66 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/646cd236c55e2cb5f146fc41bbe4034c4af5b2a4 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/85a70ff1e572160f1eeb096ed48d09a1c9d4d89a · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/c04d6a914e890ccea4a9d11233009a2ee7978bf4 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/e77a3ec7ada84543e75722a1283785a6544de925 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/00e6335329f23ac6cf3105931691674e28bc598c · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/10610575a3ac2a702bf5c57aa931beaf847949c7 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/160e9d2752181fcf18c662e74022d77d3164cd45 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1a63730fb315bb1bab97edd69ff58ad45e04bb01 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/3398a40dccb88d3a7eef378247a023a78472db66 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/646cd236c55e2cb5f146fc41bbe4034c4af5b2a4 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/85a70ff1e572160f1eeb096ed48d09a1c9d4d89a · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/c04d6a914e890ccea4a9d11233009a2ee7978bf4 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/e77a3ec7ada84543e75722a1283785a6544de925 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-265688.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-613116.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 19 JUN 13:56Z
    ipv6: sr: fix invalid unregister error path
    cvelistv5