Skip to main content
Network Thinking Solutions Logo

CVE-2024-38570

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.

All CVEs
CVE-2024-38570Published 6/19/2024

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.

Vendor advisory
CVSS9.8Critical

Overview

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.

Published
6/19/2024
Last modified
10/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.8, < 6.6.33

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.8.12

Verify advisory

Source
linux kernel
linux
≥ 6.9, < 6.9.3

Verify advisory

Source
Linux
Linux
≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < 94b32a85d1a76ae4f1b42a88677fa20b20187729

Verify advisory

Source
Linux
Linux
≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < 0636b34b44589b142700ac137b5f69802cfe2e37

Verify advisory

Source
Linux
Linux
≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < e42e8a24d7f02d28763d16ca7ec5fc6d1f142af0

Verify advisory

Source
Linux
Linux
≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < 501cd8fabf621d10bd4893e37f6ce6c20523c8ca

Verify advisory

Source
Linux
Linux
≥ fb6791d100d1bba20b5cdbc4912e1f7086ec60f8, < d98779e687726d8f8860f1c54b5687eec5f63a73

Verify advisory

Source
Linux
Linux
3.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.