PT-2024-5420 · Linux+11 · Linux Kernel+11

Sam Sun

·

Published

2024-05-03

·

Updated

2026-03-14

·

CVE-2024-39472

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the xlog do recovery pass() function in the fs/xfs/xfs log recover.c module of the Linux kernel's xfs file system. It involves an out-of-bounds access due to incorrect handling of the h size value, which can be exploited to impact the availability of protected information. The problem arises from a fixup for incorrect h size values used in old xfsprogs versions, which was later cleaned up but stopped using the fixed h size value for sizing the log recovery buffer. This can lead to out-of-bounds access when the incorrect h size does not come from the old mkfs tool but from a fuzzer. The fix involves open coding xlog logrec hblks and taking the fixed h size into account for this calculation.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Out of bounds Read

Allocation of Resources Without Limits

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:5101
ALSA-2024:5102
ALSA-2024:8617
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-10855
ALT-PU-2025-12647
AZL-43251
AZL-43267
BDU:2024-06064
CESA-2024_5101
CESA-2024_5102
CVE-2024-39472
DLA-4008-1
INFSA-2024_5101
INFSA-2024_5102
INFSA-2024_8617
OESA-2024-1894
OESA-2024-1896
OESA-2024-1897
OPENSUSE-SU-2024_2947-1
RHSA-2024:5101
RHSA-2024:5102
RHSA-2024:8157
RHSA-2024:8158
RHSA-2024:8617
RHSA-2024_5101
RHSA-2024_5102
RHSA-2024_8617
RLSA-2024:5101
RLSA-2024:5102
RLSA-2024:8617
RXSA-2024:5101
SUSE-SU-2024:2802-1
SUSE-SU-2024:2894-1
SUSE-SU-2024:2896-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-7100-1
USN-7100-2
USN-7123-1
USN-7144-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7194-1
USN-7196-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu