9.8

CVE-2024-38570: gfs2: Fix potential glock use-after-free on unmount

Modified
AliasesUBUNTU-CVE-2024-38570DEBIAN-CVE-2024-38570
Published 19-06-2024Last modified 30-10-2026

Vulnerability summary

CVE-2024-38570 is a critical (CVSS 9.8) Use After Free vulnerability in linux. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 52.2% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.68%
0%100%
Low · 0.00 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 34 · Related 25

Timeline

  1. 19-06-2024
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability 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

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.68%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.68% 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: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu128 products
  • linuxAll versions (No fix recorded) | < 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
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-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
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < 94b32a85d1a76ae4f1b42a88677fa20b20187729 | ≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < 0636b34b44589b142700ac137b5f69802cfe2e37 | ≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < e42e8a24d7f02d28763d16ca7ec5fc6d1f142af0 | ≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < 501cd8fabf621d10bd4893e37f6ce6c20523c8ca | ≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < d98779e687726d8f8860f1c54b5687eec5f63a73 | 3.8
  • linux_kernel≥ 3.8, < 6.6.33 | ≥ 6.7, < 6.8.12 | ≥ 6.9, < 6.9.3
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.8.12-1

3 vendors · 131 products

References

27 links
Show all 27 references