Kernel compromise via stale generic-netlink registration
Published Jun 19, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernel IPv6 Segment Routing allows local users to execute kernel code through a stale generic-netlink family. When seg6_hmac_init() fails with HMAC enabled and LWTUNNEL disabled, seg6_init() omits genl_unregister_family(), leaving freed family and per-network data reachable through netlink. An unprivileged local user can then read or overwrite reclaimed kernel memory or trigger a kernel panic; no remote packet path reaches the state.
Summary
What happened
Use-after-free in Linux kernel IPv6 Segment Routing allows local users to execute kernel code through a stale generic-netlink family. When seg6_hmac_init() fails with HMAC enabled and LWTUNNEL disabled, seg6_init() omits genl_unregister_family(), leaving freed family and per-network data reachable through netlink. An unprivileged local user can then read or overwrite reclaimed kernel memory or trigger a kernel panic; no remote packet path reaches the state.
The record
- CVE
- CVE-2024-38612
- Published
- Jun 19, 2024
- Updated
- Aug 5, 2026
- Vendor
- Siemens
- Product
- SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
- Classifications
- CWE-476, CWE-416, CWE-459, T1499, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 19, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=V3.1.0 <V3.1.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo