CVE-2024-38612

Aliases:UBUNTU-CVE-2024-38612DEBIAN-CVE-2024-38612
Advisory lineage Upstream: 0 Downstream: 28
Modified
Published: 19 Jun 2024, 13:56
Last modified:05 Aug 2026, 11:33

Vulnerability Summary

Overall Risk (default)
medium
28/100
CVSS Score
7 HIGH
v3.1 (cve.org)
EPSS Score
0.66% LOW
1% probability +0.49%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

19 Jun 2024, 13:56
Published
Vulnerability first disclosed
05 Aug 2026, 11:33
Last Modified
Vulnerability 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

  • v3.1HIGHScore: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.66% Percentile: 50%

Techniques & Countermeasures

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

  • CWE-476NULL Pointer Dereference

    The product dereferences a pointer that it expects to be valid but is NULL.

Affected Systems

  • debianlinux

    < 5.10.221-1 | < 6.1.94-1 | < 6.8.12-1 | < 6.8.12-1

  • ubuntulinux

    < 4.15.0-254.266 | < 5.4.0-192.212 | < 5.15.0-121.131 | < 6.8.0-40.40

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 4.15.0-1195.208 | < 5.4.0-1130.140 | < 5.15.0-1069.75 | < 6.8.0-1013.14

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1069.75~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1130.140~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1013.14~22.04.1

  • ubuntulinux-aws-fips

    < 4.15.0-2133.139 | all | < 5.4.0-1130.140+fips1 | < 5.15.0-1069.75+fips1

  • ubuntulinux-aws-hwe

    all | < 4.15.0-1195.208~16.04.1

  • ubuntulinux-azure

    all | < 4.15.0-1205.220~14.04.1 | < 4.15.0-1205.220~16.04.1 | all | < 5.4.0-1135.142 | < 5.15.0-1072.81 | < 6.8.0-1012.14

  • ubuntulinux-azure-4.15

    < 4.15.0-1205.220

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1072.81~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1135.142~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1012.14~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | < 5.15.0-1072.81.1

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 4.15.0-2113.119 | all | < 5.4.0-1135.142+fips1 | < 5.15.0-1072.81+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1090.97 | < 5.15.0-1052.54

  • ubuntulinux-fips

    < 4.15.0-1150.162 | all | < 5.4.0-1104.114 | < 5.15.0-121.131+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    all | < 4.15.0-1188.205~16.04.1 | all | < 5.4.0-1134.143 | < 5.15.0-1068.76 | < 6.8.0-1012.13

  • ubuntulinux-gcp-4.15

    < 4.15.0-1188.205

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1068.76~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1134.143~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-6.8

    < 6.8.0-1012.13~22.04.1

  • ubuntulinux-gcp-fips

    < 4.15.0-2096.102 | all | < 5.4.0-1134.143+fips1 | < 5.15.0-1068.76+fips1

  • ubuntulinux-gke

    all | < 5.15.0-1066.72 | < 6.8.0-1008.11

Showing first 50 affected entries in server-rendered view.

References (38)