Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-38570

published critical CVSS 3.1 · 9.8

gfs2: Fix potential glock use-after-free on unmount

Published
19 Jun 2024, 13:35:36 UTC
Updated
30 Oct 2026, 12:18:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxfb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < 94b32a85d1a76ae4f1b42a88677fa20b20187729 · fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < 0636b34b44589b142700ac137b5f69802cfe2e37 · fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < e42e8a24d7f02d28763d16ca7ec5fc6d1f142af0 · fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < 501cd8fabf621d10bd4893e37f6ce6c20523c8ca · fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < d98779e687726d8f8860f1c54b5687eec5f63a73 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.33 through 6.6.* (unaffected · semver) · 6.8.12 through 6.8.* (unaffected · semver) · 6.9.3 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Debian bookworm linux Advisory build 6.1.192-1 DLA-4906-1
AlmaLinux 8 kernel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 9 bpftool Advisory build 7.3.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 libperf Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 perf Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 rtla Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 rv Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

54

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The use-after-free is driven by a DLM protocol message from a remote cluster node (`receive_bast`/`receive_request` over the DLM TCP/SCTP interconnect), which dispatches `gdlm_bast()` on the already-freed glock. The DLM interconnect is routable IP, not restricted to a single L2 segment. AC:L - The attacker fully controls the contention side and can hold conflicting locks on many resources continuously so that a bast is guaranteed to land in the unmount window, which is wide (it spans `truncate_inode_pages_final()` and `gfs2_delete_debugfs_file()`); unmounts of clustered GFS2 volumes are routine and repeatable events in pacemaker-managed clusters, so the race is reliably winnable. PR:N - No credentials or privileges on the victim node are needed — the DLM peer's lock request is not authenticated per-user by the target, and an ordinary unprivileged user on any cluster node generates the required contention with plain file access on the shared filesystem. UI:N - No victim action is solicited by the attacker; the unmount is a routine cluster/administrative operation and the callback fires automatically from the DLM workqueue. S:U - The freed object and the corrupted state are both kernel memory in the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - A use-after-free on a `gfs2_glock` slab object allows the freed allocation to be reclaimed by attacker-influenced data and then read/leaked through glock state and the subsequent `dump_glock_func` path, giving arbitrary kernel-memory disclosure potential. I:H - `gfs2_glock_cb()` writes into the freed object (lockref count, `gl_flags`, `gl_demote_state`) and then queues `&gl->gl_work`, so a reallocated object supplies the `delayed_work` timer/work function pointer — a control-flow hijack and arbitrary-write primitive. A:H - Even unexploited, the UAF corrupts a spinlock and refcount in freed memory and reaches `BUG_ON`/`BUG()` in `gdlm_ast()`, causing kernel oops or panic on the unmounting node.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < 94b32a85d1a76ae4f1b42a88677fa20b20187729 (affected · git)fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < 0636b34b44589b142700ac137b5f69802cfe2e37 (affected · git)fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < e42e8a24d7f02d28763d16ca7ec5fc6d1f142af0 (affected · git)fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < 501cd8fabf621d10bd4893e37f6ce6c20523c8ca (affected · git)fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 to < d98779e687726d8f8860f1c54b5687eec5f63a73 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.8 (affected)0 to < 3.8 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.33 through 6.6.* (unaffected · semver)6.8.12 through 6.8.* (unaffected · semver)6.9.3 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

gfs2: Fix potential glock use-after-free on unmount

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
be90c14c18b42e7059c8b3eda1d797f9a70fe8e70d290fe9c7da97ec91da7b65
Ingested
30 Oct 2026, 12:31:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected