7

CVE-2024-38612: ipv6: sr: fix invalid unregister error path

Modified
AliasesUBUNTU-CVE-2024-38612DEBIAN-CVE-2024-38612
Published 19-06-2024Last modified 15-10-2026

Vulnerability summary

CVE-2024-38612 is a high (CVSS 7.0) Use After Free vulnerability in linux. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 51.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.0/10
010
High · v3.1 (CVE.org)
EPSS score
0.66%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 26 · Related 21

Timeline

  1. 19-06-2024
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.66% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu127 products
  • linux< 4.15.0-254.266 | < 5.4.0-192.212 | < 5.15.0-121.131 | < 6.8.0-40.40
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.15.0-1195.208 | < 5.4.0-1130.140 | < 5.15.0-1069.75 | < 6.8.0-1013.14
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 46738b1317e169b281ad74690276916e24d1be6d, < 10610575a3ac2a702bf5c57aa931beaf847949c7 | ≥ 46738b1317e169b281ad74690276916e24d1be6d, < 646cd236c55e2cb5f146fc41bbe4034c4af5b2a4 | ≥ 46738b1317e169b281ad74690276916e24d1be6d, < 00e6335329f23ac6cf3105931691674e28bc598c | ≥ 46738b1317e169b281ad74690276916e24d1be6d, < 1a63730fb315bb1bab97edd69ff58ad45e04bb01 | ≥ 46738b1317e169b281ad74690276916e24d1be6d, < e77a3ec7ada84543e75722a1283785a6544de925 | ≥ 46738b1317e169b281ad74690276916e24d1be6d, < 3398a40dccb88d3a7eef378247a023a78472db66 | ≥ 46738b1317e169b281ad74690276916e24d1be6d, < 85a70ff1e572160f1eeb096ed48d09a1c9d4d89a | ≥ 46738b1317e169b281ad74690276916e24d1be6d, < c04d6a914e890ccea4a9d11233009a2ee7978bf4 | ≥ 46738b1317e169b281ad74690276916e24d1be6d, < 160e9d2752181fcf18c662e74022d77d3164cd45 | 4.10
  • linux_kernel≥ 4.10, < 4.19.316 | ≥ 4.20, < 5.4.278 | ≥ 5.5, < 5.10.219 | ≥ 5.11, < 5.15.161 | ≥ 5.16, < 6.1.93 | ≥ 6.2, < 6.6.33 | ≥ 6.7, < 6.8.12 | ≥ 6.9, < 6.9.3
Debian1 product
  • linux< 6.1.94-1 | < 6.8.12-1

3 vendors · 130 products

References

38 links
Show all 38 references