cbcvebase.
CVE-2024-38570
published 2024-06-19

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…

PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.25%
16.2th percentile
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.

Affected

21 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.8.12-1 (forky)linux 6.8.12-1 (forky)
linuxlinux
linuxlinux>= fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 < 0636b34b44589b142700ac137b5f69802cfe2e370636b34b44589b142700ac137b5f69802cfe2e37
linuxlinux>= fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 < e42e8a24d7f02d28763d16ca7ec5fc6d1f142af0e42e8a24d7f02d28763d16ca7ec5fc6d1f142af0
linuxlinux>= fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 < 501cd8fabf621d10bd4893e37f6ce6c20523c8ca501cd8fabf621d10bd4893e37f6ce6c20523c8ca
linuxlinux>= fb6791d100d1bba20b5cdbc4912e1f7086ec60f8 < d98779e687726d8f8860f1c54b5687eec5f63a73d98779e687726d8f8860f1c54b5687eec5f63a73
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 5.4.0-196.2165.4.0-196.216
linuxlinux_kernel>= 0 < 5.15.0-122.1325.15.0-122.132
linuxlinux_kernel>= 0 < 6.8.0-40.406.8.0-40.40
linuxlinux_kernel>= 0 < 4.4.0-259.2934.4.0-259.293
linuxlinux_kernel>= 0 < 4.15.0-229.2414.15.0-229.241
linuxlinux_kernel>= 3.8 < 6.6.336.6.33
linuxlinux_kernel>= 6.7 < 6.8.126.8.12
linuxlinux_kernel>= 6.9 < 6.9.36.9.3
msrcazl3_kernel_6.6.22.1-2_on_azure_linux_3.0
msrcazl3_kernel_6.6.35.1-5_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_kernel_5.15.180.1-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.