CVE-2024-38612: Linux Kernel
High severity, CVSS 7.0. EPSS: 0.7% chance of exploitation in the next 30 days.
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.
Affected products
- Linux Linux Kernel: from 4.10, before 4.19.316 (fixed in 4.19.316); from 4.20, before 5.4.278 (fixed in 5.4.278); from 5.5, before 5.10.219 (fixed in 5.10.219); from 5.11, before 5.15.161 (fixed in 5.15.161); from 5.16, before 6.1.93 (fixed in 6.1.93); from 6.2, before 6.6.33 (fixed in 6.6.33); …
Published 2024-06-19. Last modified 2026-08-04.