VDB

CVE-2024-38612

CVE-2024-38612 PUBLISHED CVSS 7 HIGH

ipv6: sr: fix invalid unregister error path

Reported by linux · Published June 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux6.1.94-99.176.amzn2023
kernel-toolsAmazon Linux6.1.94-99.176.amzn2023
kernel-tools-develAmazon Linux4.14.349-266.564.amzn2
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
linux_kernellinuxe77a3ec7ada8, c04d6a914e89, 85a70ff1e572, 646cd236c55e, 6.9.3, 6.8.12, 6.6.33, 6.1.93, 5.15.161, 5.10.219, 5.4.278, 4.19.316, 3398a40dccb8, 1a63730fb315, 0610575a3ac, 00e6335329f2
SIMATIC S7-1500 TM MFP - GNU/Linux subsystemSiemens1.1.1
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5

Risk scores

CVSS 3.1
7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux46738b1317e169b281ad74690276916e24d1be6d, 46738b1317e169b281ad74690276916e24d1be6d, 46738b1317e169b281ad74690276916e24d1be6d
LinuxLinux4.10, 0, 4.19.316
amazon:2023bpftool0
amazon:2023kernel-tools0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2kernel-tools-devel0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
linuxlinux_kernel6.10-rc1, 5.4.278, 5.15.161
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023perf0
amazon:2023kernel-libbpf0
amazon:2perf0
amazon:2023kernel0
amazon:2kernel-headers0
amazon:2023kernel-devel0
LinuxLinux4.19.316, 46738b1317e169b281ad74690276916e24d1be6d, 46738b1317e169b281ad74690276916e24d1be6d
SiemensRUGGEDCOM RST2428P0
amazon:2023kernel-libbpf-devel0
amazon:2kernel-livepatch-4.14.349-266.5640

…and 15 more

Timeline

  • Jun 19, 2024 CVE Published
  • Jun 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 8, 2026 Security Advisory (318 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (241 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38612
vulnetix vdb fixes CVE-2024-38612

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38612/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›