Skip to content
Not rated

CVE-2024-57940 In the Linux kernel, the following vulnerability has been resolved: exfat: fix the infinite loop in exfat_readdir() If…

Description

In the Linux kernel, the following vulnerability has been resolved: exfat: fix the infinite loop in exfat_readdir() If the file system is corrupted so that a cluster is linked to itself in the cluster chain, and there is an unused directory entry in the cluster, 'dentry' will not be incremented, causing condition 'dentry < max_dentries' unable to prevent an infinite loop. This infinite loop causes s_lock not to be released, and other tasks will hang, such as exfat_sync_fs(). This commit stops traversing the cluster chain when there is unused directory entry in the cluster to avoid this infinite loop.

Affected products and versions

Product Affected versions Fixed in
Linux 6.13 earliest → < 6.13 6.13
Linux 6.12 earliest → < 6.12.10 6.12.10
Linux 6.6 earliest → < 6.6.72 6.6.72
Linux 6.1 earliest → < 6.1.125 6.1.125
Linux 5.15 earliest → < 5.15.177 5.15.177
Linux 5.10 earliest → < 5.10.234 5.10.234
Linux 5.7 No fix stated
SIMATIC S7-1500 TM MFP - BIOS Versions not published
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE