CVE-2024-38570

Aliases:UBUNTU-CVE-2024-38570DEBIAN-CVE-2024-38570
Advisory lineage Upstream: 0 Downstream: 36
Modified
Published: 19 Jun 2024, 13:35
Last modified:05 Aug 2026, 11:32

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.1 (cve.org)
EPSS Score
0.68% LOW
1% probability +0.66%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

19 Jun 2024, 13:35
Published
Vulnerability first disclosed
05 Aug 2026, 11:32
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix potential glock use-after-free on unmount When a DLM lockspace is released and there ares still locks in that lockspace, DLM will unlock those locks automatically. Commit fb6791d100d1b started exploiting this behavior to speed up filesystem unmount: gfs2 would simply free glocks it didn't want to unlock and then release the lockspace. This didn't take the bast callbacks for asynchronous lock contention notifications into account, which remain active until until a lock is unlocked or its lockspace is released. To prevent those callbacks from accessing deallocated objects, put the glocks that should not be unlocked on the sd_dead_glocks list, release the lockspace, and only then free those glocks. As an additional measure, ignore unexpected ast and bast callbacks if the receiving glock is dead.

CVSS Metrics

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

EPSS Trends

Current EPSS score: 0.68% Percentile: 51%

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.

Affected Systems

  • debianlinux

    all | all | < 6.8.12-1 | < 6.8.12-1

  • ubuntulinux

    all | < 4.4.0-259.293 | < 4.15.0-229.241 | < 5.4.0-196.216 | < 5.15.0-122.132 | < 6.8.0-40.40

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 4.4.0-1136.142 | < 4.4.0-1174.189 | < 4.15.0-1173.186 | < 5.4.0-1133.143 | < 5.15.0-1070.76 | < 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-1070.76~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1133.143~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-2111.117 | all | < 5.4.0-1133.143+fips1 | < 5.15.0-1070.76+fips1

  • ubuntulinux-aws-hwe

    < 4.15.0-1173.186~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1181.196~14.04.1 | < 4.15.0-1181.196~16.04.1 | all | < 5.4.0-1138.145 | < 5.15.0-1073.82 | < 6.8.0-1012.14

  • ubuntulinux-azure-4.15

    < 4.15.0-1181.196

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1073.82~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1138.145~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-1073.82.1

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 4.15.0-2090.96 | all | < 5.4.0-1138.145+fips1 | < 5.15.0-1073.82+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1093.100 | < 5.15.0-1053.55

  • ubuntulinux-fips

    < 4.4.0-1105.112 | all | < 4.15.0-1127.138 | < 5.4.0-1107.117 | < 5.15.0-122.132+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    < 4.15.0-1166.183~16.04.1 | all | < 5.4.0-1137.146 | < 5.15.0-1069.77 | < 6.8.0-1012.13

  • ubuntulinux-gcp-4.15

    < 4.15.0-1166.183

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1069.77~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1137.146~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-2074.79 | all | < 5.4.0-1137.146+fips1 | < 5.15.0-1069.77+fips1

  • ubuntulinux-gke

    all | < 5.15.0-1067.73 | < 6.8.0-1008.11

Showing first 50 affected entries in server-rendered view.

References (25)