Back to CVE records
High 7.0Published Jun 19, 2024

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

Updated under an hour ago ()

Does this affect you?

It affects Linux and 9 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.0 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-476, CWE-416
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 46738b1317e169b281ad74690276916e24d1be6d before 10610575a3ac2a702bf5c57aa931beaf847949c7; 46738b1317e169b281ad74690276916e24d1be6d builds before 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4; 46738b1317e169b281ad74690276916e24d1be6d builds before 00e6335329f23ac6cf3105931691674e28bc598c; 46738b1317e169b281ad74690276916e24d1be6d builds before 1a63730fb315bb1bab97edd69ff58ad45e04bb01; from 46738b1317e169b281ad74690276916e24d1be6d before e77a3ec7ada84543e75722a1283785a6544de925; 46738b1317e169b281ad74690276916e24d1be6d builds before 3398a40dccb88d3a7eef378247a023a78472db66; 46738b1317e169b281ad74690276916e24d1be6d builds before 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a; from 46738b1317e169b281ad74690276916e24d1be6d before c04d6a914e890ccea4a9d11233009a2ee7978bf4; and 1 more ranges
CNA record
linux linux_kernel
linux:linux_kernel
from 46738b1317e1 before 0610575a3ac
CISA ADP
linux acrn
linux:acrn
from 5.10.219 through 5.11 not affected
CISA ADP
Siemens RUGGEDCOM RST2428P
siemens:ruggedcom_rst2428p (from the name)
before V3.1
CISA ADP
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
siemens:scalance_xc_300_xr_300_xc_400_xr_500wg_xr_500_family (from the name)
all versions not affected
CISA ADP
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
siemens:scalance_xcm_xrm_xch_xrh_300_family (from the name)
before V3.1
CISA ADP
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.0 before V3.1.5
CISA ADP
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518f_4_pn_dp_mfp (from the name)
from V3.1.0 before V3.1.5
CISA ADP
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name)
before V1.1.1
CISA ADP
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
siemens:siplus_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.0 before V3.1.5
CISA ADP
linux linux_kernel
linux:linux_kernel
from 4.10 before 4.19.316; from 4.20 before 5.4.278; from 5.5 before 5.10.219; from 5.11 before 5.15.161; from 5.16 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.8.12; from 6.9 before 6.9.3
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.