CVE-2024-38612 ipv6: sr: fix invalid unregister error path
HighCVSS 7.0
EPSS 0.66%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- Linux KernelUbuntuDebian
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.
Upgrade path
15 packages: 15 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.94-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +20 more | 6.1.94-1 | Fixed |
| debian/linux(Debian 13) | < 6.8.12-1 | 6.8.12-1 | Fixed |
| debian/linux(Debian 14) | < 6.8.12-1 | 6.8.12-1 | Fixed |
| Linux kernel | < 4.19.316; < 5.4.278; < 5.10.219; < 5.15.161 +32 more | 00e6335329f2, 00e6335329f23ac6cf3105931691674e28bc598c, 1a63730fb315, 1a63730fb315bb1bab97edd69ff58ad45e04bb01, 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10, 85a70ff1e572, 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a, 160e9d275218, 160e9d2752181fcf18c662e74022d77d3164cd45, 646cd236c55e, 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4, 3398a40dccb8, 3398a40dccb88d3a7eef378247a023a78472db66, 0610575a3ac, 10610575a3ac2a702bf5c57aa931beaf847949c7, c04d6a914e89, c04d6a914e890ccea4a9d11233009a2ee7978bf4, e77a3ec7ada8, e77a3ec7ada84543e75722a1283785a6544de925 | Fixed |
| Siemens RUGGEDCOM RST2428P | < V3.1 | V3.1 | Fixed |
| Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.1 | V3.1 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 | V1.1.1 | Fixed |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-121.131 | 5.15.0-121.131 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-40.40 | 6.8.0-40.40 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1066.71 | 5.15.0-1066.71 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1062.65 | 5.15.0-1062.65 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1009.10 | 6.8.0-1009.10 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | < 6.1.94-1 | 6.1.94-1 |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:13) | < 6.8.12-1 | 6.8.12-1 |
Show 48 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:14) | < 6.8.12-1 | 6.8.12-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-121.131 | 5.15.0-121.131 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1066.71 | 5.15.0-1066.71 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1062.65 | 5.15.0-1062.65 |
| Linux kernel | >= 46738b1317e169b281ad74690276916e24d1be6d, < 10610575a3ac2a702bf5c57aa931beaf847949c7 | 10610575a3ac2a702bf5c57aa931beaf847949c7 |
| Linux kernel | >= 46738b1317e169b281ad74690276916e24d1be6d, < 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4 | 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4 |
| Linux kernel | >= 46738b1317e169b281ad74690276916e24d1be6d, < 00e6335329f23ac6cf3105931691674e28bc598c | 00e6335329f23ac6cf3105931691674e28bc598c |
| Linux kernel | >= 46738b1317e169b281ad74690276916e24d1be6d, < 1a63730fb315bb1bab97edd69ff58ad45e04bb01 | 1a63730fb315bb1bab97edd69ff58ad45e04bb01 |
| Linux kernel | >= 46738b1317e169b281ad74690276916e24d1be6d, < e77a3ec7ada84543e75722a1283785a6544de925 | e77a3ec7ada84543e75722a1283785a6544de925 |
| Linux kernel | >= 46738b1317e169b281ad74690276916e24d1be6d, < 3398a40dccb88d3a7eef378247a023a78472db66 | 3398a40dccb88d3a7eef378247a023a78472db66 |
| Linux kernel | >= 46738b1317e169b281ad74690276916e24d1be6d, < 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a | 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a |
| Linux kernel | >= 46738b1317e169b281ad74690276916e24d1be6d, < c04d6a914e890ccea4a9d11233009a2ee7978bf4 | c04d6a914e890ccea4a9d11233009a2ee7978bf4 |
| Linux kernel | >= 46738b1317e169b281ad74690276916e24d1be6d, < 160e9d2752181fcf18c662e74022d77d3164cd45 | 160e9d2752181fcf18c662e74022d77d3164cd45 |
| Linux kernel | = 4.10 | No fix listed |
| Linux kernel | < 4.19.316 | 4.19.316 |
| Linux kernel | < 5.4.278 | 5.4.278 |
| Linux kernel | < 5.10.219 | 5.10.219 |
| Linux kernel | < 5.15.161 | 5.15.161 |
| Linux kernel | < 6.1.93 | 6.1.93 |
| Linux kernel | < 6.6.33 | 6.6.33 |
| Linux kernel | < 6.8.12 | 6.8.12 |
| Linux kernel | < 6.9.3 | 6.9.3 |
| Linux kernel | < 6.10 | 6.10 |
| Linux kernel | >= 46738b1317e1, < 0610575a3ac | 0610575a3ac |
| Linux kernel | >= 46738b1317e1, < 646cd236c55e | 646cd236c55e |
| Linux kernel | >= 46738b1317e1, < 00e6335329f2 | 00e6335329f2 |
| Linux kernel | >= 46738b1317e1, < 1a63730fb315 | 1a63730fb315 |
| Linux kernel | >= 46738b1317e1, < e77a3ec7ada8 | e77a3ec7ada8 |
| Linux kernel | >= 46738b1317e1, < 3398a40dccb8 | 3398a40dccb8 |
| Linux kernel | >= 46738b1317e1, < 85a70ff1e572 | 85a70ff1e572 |
| Linux kernel | >= 46738b1317e1, < c04d6a914e89 | c04d6a914e89 |
| Linux kernel | >= 46738b1317e1, < 160e9d275218 | 160e9d275218 |
| Siemens RUGGEDCOM RST2428P | < V3.1 | V3.1 |
| Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.1 | V3.1 |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 | V1.1.1 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-40.40 | 6.8.0-40.40 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1009.10 | 6.8.0-1009.10 |
| Linux kernel | >= 4.10, < 4.19.316 | 4.19.316 |
| Linux kernel | >= 4.20, < 5.4.278 | 5.4.278 |
| Linux kernel | >= 5.5, < 5.10.219 | 5.10.219 |
| Linux kernel | >= 5.11, < 5.15.161 | 5.15.161 |
| Linux kernel | >= 5.16, < 6.1.93 | 6.1.93 |
| Linux kernel | >= 6.2, < 6.6.33 | 6.6.33 |
| Linux kernel | >= 6.7, < 6.8.12 | 6.8.12 |
| Linux kernel | >= 6.9, < 6.9.3 | 6.9.3 |
References
- Debian Security Tracker CVE-2024-38612 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6949-1 vendor-advisory
- USN-6951-1 vendor-advisory
- USN-6952-1 vendor-advisory
- USN-6953-1 vendor-advisory
- USN-6955-1 vendor-advisory
- USN-6949-2 vendor-advisory
- USN-6952-2 vendor-advisory
- USN-6951-2 vendor-advisory
- USN-6951-3 vendor-advisory
- USN-6951-4 vendor-advisory
- USN-6979-1 vendor-advisory
- USN-7007-1 vendor-advisory
- USN-7009-1 vendor-advisory
- USN-7019-1 vendor-advisory
- USN-7007-2 vendor-advisory
- USN-7007-3 vendor-advisory
- USN-7009-2 vendor-advisory
- USN-8633-1 vendor-advisory
- USN-8635-1 vendor-advisory
- USN-8633-2 vendor-advisory
- USN-8645-1 vendor-advisory
- www.cve.org
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- ENISA EUVD EUVD-2024-37475 third-party-advisory