Skip to content
7.0 High

CVE-2024-38612 In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: fix invalid unregister error path The…

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.10 earliest → < 6.10 6.10
Linux 6.9 earliest → < 6.9.3 6.9.3
Linux 6.8 earliest → < 6.8.12 6.8.12
Linux 6.6 earliest → < 6.6.33 6.6.33
Linux 6.1 earliest → < 6.1.93 6.1.93
Linux 5.15 earliest → < 5.15.161 5.15.161
Linux 5.10 earliest → < 5.10.219 5.10.219
Linux 5.4 earliest → < 5.4.278 5.4.278
Linux 4.19 earliest → < 4.19.316 4.19.316
Show the 10 other branches
Product Affected versions Fixed in
Linux 4.10 No fix stated
linux_kernel 6.10 earliest → < 6.10-rc1 6.10-rc1
acrn 5.10 earliest → < 5.10.219 5.10.219
RUGGEDCOM RST2428P 3.1 earliest → < 3.1 3.1
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Versions not published
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.1 earliest → < 3.1 3.1
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE