PT-2025-3665

CVE-2024-57940

·

Published

2024-12-13

·

Updated

2026-10-19

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.74
Description The issue arises when a file system is corrupted, causing a cluster to be linked to itself in the cluster chain, and there is an unused directory entry in the cluster. This leads to an infinite loop in the exfat readdir() function because the dentry variable is not incremented, preventing the condition dentry < max dentries from stopping the loop. As a result, the s lock is not released, causing other tasks, such as exfat sync fs(), to hang. The fix involves stopping the traversal of the cluster chain when an unused directory entry is encountered to prevent the infinite loop.
Recommendations For Linux kernel versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue. As a temporary workaround, consider avoiding the use of corrupted file systems that could trigger the infinite loop in the exfat readdir() function until the update can be applied.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
ALT-PU-2025-12647
ALT-PU-2025-1861
ALT-PU-2025-1925
ALT-PU-2025-1980
ALT-PU-2025-3467
ALT-PU-2025-3500
AZL-55904
AZL-55910
CLSA-2026-1780516677
DLA-4075-1
DLA-4076-1
DSA-5860-1
INFSA-2025_6966
MGASA-2025-0030
MGASA-2025-0032
OESA-2025-1110
OESA-2025-1111
OPENSUSE-SU-2025_0428-1
OPENSUSE-SU-2025_0499-1
OPENSUSE-SU-2025_0557-1
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2025:0289-1
SUSE-SU-2025:0428-1
SUSE-SU-2025_0428-1
SUSE-SU-2025:0499-1
SUSE-SU-2025_0499-1
SUSE-SU-2025:0557-1
SUSE-SU-2025_0557-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7407-1
USN-7421-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7513-1
USN-7513-2
USN-7513-3
USN-7513-4
USN-7513-5
USN-7514-1
USN-7515-1
USN-7515-2
USN-7522-1
USN-7523-1
USN-7524-1
Found an issue in the description? Have something to add? Feel free to write us 👾