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.
History

Tue, 04 Nov 2025 18:30:00 +0000

Type Values Removed Values Added
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-06-19T13:56:13.415Z

Updated: 2025-11-04T17:21:46.235Z

Reserved: 2024-06-18T19:36:34.944Z

Link: CVE-2024-38612

cve-icon Vulnrichment

Updated: 2025-11-04T17:21:46.235Z

cve-icon NVD

Status : Modified

Published: 2024-06-19T14:15:21.060

Modified: 2025-11-04T18:16:28.680

Link: CVE-2024-38612

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-06-19T00:00:00Z

Links: CVE-2024-38612 - Bugzilla