Menu

Star on GitHub · 3.2k

CVE-2024-38570

9.8 · CRITICAL

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 lockspa…

Published Jun 19, 2024CWE-416EPSS 0.68%

Overview

CVE-2024-38570 is a critical-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-38570?

CVE-2024-38570 is a critical-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2024-38570?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-38570?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-38570?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-38570 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related CRITICAL CVEs from 2024

View all