CVE-2024-38612
Detail
Modified After Enrichment
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
NVD assessment
not yet provided.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 Severity and Vector Strings:
NVD assessment
not yet provided.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-416
Use After Free
CISA-ADP
CWE-476
NULL Pointer Dereference
CISA-ADP
Change History
11 change records found show changes
CVE Modified by siemens-SADP
6/17/2026 3:40:42 AM
Action
Type
Old Value
New Value
Added
Affected
[{"vendor":"Siemens","product":"RUGGEDCOM RST2428P","defaultStatus":"unknown","versions":[{"version":"0","lessThan":"V3.1","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family","defaultStatus":"unknown","versions":[{"version":"0","lessThan":"*","versionType":"custom","status":"unaffected"}]},{"vendor":"Siemens","product":"SCALANCE XCM-/XRM-/XCH-/XRH-300 family","defaultStatus":"unknown","versions":[{"version":"0","lessThan":"V3.1","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","lessThan":"*","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]}]
CVE Modified by CISA-ADP
6/17/2026 3:40:42 AM
Action
Type
Old Value
New Value
Added
Affected
Record truncated, showing 2048 of 4521 characters.
View Entire Change Record
[{"vendor":"linux","product":"linux_kernel","defaultStatus":"unknown","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"versions":[{"version":"46738b1317e1","lessThan":"0610575a3ac","versionType":"custom","status":"affected"}]},{"vendor":"linux","product":"linux_kernel","defaultStatus":"unknown","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"versions":[{"version":"46738b1317e1","lessThan":"646cd236c55e","versionType":"custom","status":"affected"}]},{"vendor":"linux","product":"linux_kernel","defaultStatus":"unknown","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"versions":[{"version":"46738b1317e1","lessThan":"00e6335329f2","versionType":"custom","status":"affected"}]},{"vendor":"linux","product":"linux_kernel","defaultStatus":"unknown","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"versions":[{"version":"46738b1317e1","lessThan":"1a63730fb315","versionType":"custom","status":"affected"}]},{"vendor":"linux","product":"linux_kernel","defaultStatus":"unknown","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"versions":[{"version":"46738b1317e1","lessThan":"e77a3ec7ada8","versionType":"custom","status":"affected"}]},{"vendor":"linux","product":"linux_kernel","defaultStatus":"unknown","cpes":["cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"],"versions":[{"version":"46738b1317e1","lessThan":"3398a40dccb8","versionType":"custom","status":"affected"}]},{"vendor":"linux","product":"linux_kernel","defaultStatus":"unknown","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"versions":[{"version":"46738b1317e1","lessThan":"85a70ff1e572","versionType":"custom","status":"affected"}]},{"vendor":"linux","product":"linux_kernel","defaultStatus":"unknown","cpes":["cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"],"versions":[{"version":"46738b1317e1","lessThan":"c04d6a914e89","versionType":"custom","status":"affected"}]},{"vendor":"linux","product":"linux_kernel","defaultStatus":"unknown","cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"versions":[{"version":"46738b1317e1","less
Added
SSVC
{"timestamp":"2024-06-25T14:07:52.263547Z","id":"CVE-2024-38612","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}
CVE Modified by kernel.org
6/17/2026 3:40:42 AM
Action
Type
Old Value
New Value
Added
Affected
Record truncated, showing 2048 of 2682 characters.
View Entire Change Record
[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/ipv6/seg6.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"46738b1317e169b281ad74690276916e24d1be6d","lessThan":"10610575a3ac2a702bf5c57aa931beaf847949c7","versionType":"git","status":"affected"},{"version":"46738b1317e169b281ad74690276916e24d1be6d","lessThan":"646cd236c55e2cb5f146fc41bbe4034c4af5b2a4","versionType":"git","status":"affected"},{"version":"46738b1317e169b281ad74690276916e24d1be6d","lessThan":"00e6335329f23ac6cf3105931691674e28bc598c","versionType":"git","status":"affected"},{"version":"46738b1317e169b281ad74690276916e24d1be6d","lessThan":"1a63730fb315bb1bab97edd69ff58ad45e04bb01","versionType":"git","status":"affected"},{"version":"46738b1317e169b281ad74690276916e24d1be6d","lessThan":"e77a3ec7ada84543e75722a1283785a6544de925","versionType":"git","status":"affected"},{"version":"46738b1317e169b281ad74690276916e24d1be6d","lessThan":"3398a40dccb88d3a7eef378247a023a78472db66","versionType":"git","status":"affected"},{"version":"46738b1317e169b281ad74690276916e24d1be6d","lessThan":"85a70ff1e572160f1eeb096ed48d09a1c9d4d89a","versionType":"git","status":"affected"},{"version":"46738b1317e169b281ad74690276916e24d1be6d","lessThan":"c04d6a914e890ccea4a9d11233009a2ee7978bf4","versionType":"git","status":"affected"},{"version":"46738b1317e169b281ad74690276916e24d1be6d","lessThan":"160e9d2752181fcf18c662e74022d77d3164cd45","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/ipv6/seg6.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.10","status":"affected"},{"version":"0","lessThan":"4.10","versionType":"semver","status":"unaffected"},{"version":"4.19.316","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"5.4.278","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.219","lessT
CVE Modified by siemens-SADP
5/12/2026 8:16:55 AM
Action
Type
Old Value
New Value
Added
Reference
https://cert-portal.siemens.com/productcert/html/ssa-265688.html
Added
Reference
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Added
Reference
https://cert-portal.siemens.com/productcert/html/ssa-613116.html
CVE Modified by CVE
11/04/2025 1:16:28 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Initial Analysis by NIST
4/01/2025 2:26:38 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.3
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.12
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.33
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.93
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.161
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.219
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.19.316
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.278
Added
Reference Type
CVE: https://git.kernel.org/stable/c/00e6335329f23ac6cf3105931691674e28bc598c Types: Patch
Added
Reference Type
CVE: https://git.kernel.org/stable/c/10610575a3ac2a702bf5c57aa931beaf847949c7 Types: Patch
Added
Reference Type
CVE: https://git.kernel.org/stable/c/160e9d2752181fcf18c662e74022d77d3164cd45 Types: Patch
Added
Reference Type
CVE: https://git.kernel.org/stable/c/1a63730fb315bb1bab97edd69ff58ad45e04bb01 Types: Patch
Added
Reference Type
CVE: https://git.kernel.org/stable/c/3398a40dccb88d3a7eef378247a023a78472db66 Types: Patch
Added
Reference Type
CVE: https://git.kernel.org/stable/c/646cd236c55e2cb5f146fc41bbe4034c4af5b2a4 Types: Patch
Added
Reference Type
CVE: https://git.kernel.org/stable/c/85a70ff1e572160f1eeb096ed48d09a1c9d4d89a Types: Patch
Added
Reference Type
CVE: https://git.kernel.org/stable/c/c04d6a914e890ccea4a9d11233009a2ee7978bf4 Types: Patch
Added
Reference Type
CVE: https://git.kernel.org/stable/c/e77a3ec7ada84543e75722a1283785a6544de925 Types: Patch
Added
Reference Type
kernel.org: https://git.kernel.org/stable/c/00e6335329f23ac6cf3105931691674e28bc598c Types: Patch
Added
Reference Type
kernel.org: https://git.kernel.org/stable/c/10610575a3ac2a702bf5c57aa931beaf847949c7 Types: Patch
Added
Reference Type
kernel.org: https://git.kernel.org/stable/c/160e9d2752181fcf18c662e74022d77d3164cd45 Types: Patch
Added
Reference Type
kernel.org: https://git.kernel.org/stable/c/1a63730fb315bb1bab97edd69ff58ad45e04bb01 Types: Patch
Added
Reference Type
kernel.org: https://git.kernel.org/stable/c/3398a40dccb88d3a7eef378247a023a78472db66 Types: Patch
Added
Reference Type
kernel.org: https://git.kernel.org/stable/c/646cd236c55e2cb5f146fc41bbe4034c4af5b2a4 Types: Patch
Added
Reference Type
kernel.org: https://git.kernel.org/stable/c/85a70ff1e572160f1eeb096ed48d09a1c9d4d89a Types: Patch
Added
Reference Type
kernel.org: https://git.kernel.org/stable/c/c04d6a914e890ccea4a9d11233009a2ee7978bf4 Types: Patch
Added
Reference Type
kernel.org: https://git.kernel.org/stable/c/e77a3ec7ada84543e75722a1283785a6544de925 Types: Patch
CVE Modified by CVE
11/21/2024 4:26:28 AM
Action
Type
Old Value
New Value
Added
Reference
https://git.kernel.org/stable/c/00e6335329f23ac6cf3105931691674e28bc598c
Added
Reference
https://git.kernel.org/stable/c/10610575a3ac2a702bf5c57aa931beaf847949c7
Added
Reference
https://git.kernel.org/stable/c/160e9d2752181fcf18c662e74022d77d3164cd45
Added
Reference
https://git.kernel.org/stable/c/1a63730fb315bb1bab97edd69ff58ad45e04bb01
Added
Reference
https://git.kernel.org/stable/c/3398a40dccb88d3a7eef378247a023a78472db66
Added
Reference
https://git.kernel.org/stable/c/646cd236c55e2cb5f146fc41bbe4034c4af5b2a4
Added
Reference
https://git.kernel.org/stable/c/85a70ff1e572160f1eeb096ed48d09a1c9d4d89a
Added
Reference
https://git.kernel.org/stable/c/c04d6a914e890ccea4a9d11233009a2ee7978bf4
Added
Reference
https://git.kernel.org/stable/c/e77a3ec7ada84543e75722a1283785a6544de925
CVE Modified by kernel.org
7/15/2024 3:15:12 AM
Action
Type
Old Value
New Value
Removed
Reference
kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
CVE Modified by CISA-ADP
7/02/2024 10:05:17 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added
CWE
CISA-ADP CWE-416
Added
CWE
CISA-ADP CWE-476
CVE Modified by kernel.org
6/27/2024 9:16:01 AM
Action
Type
Old Value
New Value
Added
Reference
kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned]
New CVE Received from kernel.org
6/19/2024 10:15:21 AM
Action
Type
Old Value
New Value
Added
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.
Added
Reference
kernel.org https://git.kernel.org/stable/c/00e6335329f23ac6cf3105931691674e28bc598c [No types assigned]
Added
Reference
kernel.org https://git.kernel.org/stable/c/10610575a3ac2a702bf5c57aa931beaf847949c7 [No types assigned]
Added
Reference
kernel.org https://git.kernel.org/stable/c/160e9d2752181fcf18c662e74022d77d3164cd45 [No types assigned]
Added
Reference
kernel.org https://git.kernel.org/stable/c/1a63730fb315bb1bab97edd69ff58ad45e04bb01 [No types assigned]
Added
Reference
kernel.org https://git.kernel.org/stable/c/3398a40dccb88d3a7eef378247a023a78472db66 [No types assigned]
Added
Reference
kernel.org https://git.kernel.org/stable/c/646cd236c55e2cb5f146fc41bbe4034c4af5b2a4 [No types assigned]
Added
Reference
kernel.org https://git.kernel.org/stable/c/85a70ff1e572160f1eeb096ed48d09a1c9d4d89a [No types assigned]
Added
Reference
kernel.org https://git.kernel.org/stable/c/c04d6a914e890ccea4a9d11233009a2ee7978bf4 [No types assigned]
Added
Reference
kernel.org https://git.kernel.org/stable/c/e77a3ec7ada84543e75722a1283785a6544de925 [No types assigned]
Quick Info
CVE Dictionary Entry: CVE-2024-38612 NVD
Published Date: 06/19/2024 NVD
Last Modified: 06/17/2026
Source: kernel.org