{"id":"CVE-2025-38692","summary":"exfat: add cluster chain loop check for dir","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: add cluster chain loop check for dir\n\nAn infinite loop may occur if the following conditions occur due to\nfile system corruption.\n\n(1) Condition for exfat_count_dir_entries() to loop infinitely.\n    - The cluster chain includes a loop.\n    - There is no UNUSED entry in the cluster chain.\n\n(2) Condition for exfat_create_upcase_table() to loop infinitely.\n    - The cluster chain of the root directory includes a loop.\n    - There are no UNUSED entry and up-case table entry in the cluster\n      chain of the root directory.\n\n(3) Condition for exfat_load_bitmap() to loop infinitely.\n    - The cluster chain of the root directory includes a loop.\n    - There are no UNUSED entry and bitmap entry in the cluster chain\n      of the root directory.\n\n(4) Condition for exfat_find_dir_entry() to loop infinitely.\n    - The cluster chain includes a loop.\n    - The unused directory entries were exhausted by some operation.\n\n(5) Condition for exfat_check_dir_empty() to loop infinitely.\n    - The cluster chain includes a loop.\n    - The unused directory entries were exhausted by some operation.\n    - All files and sub-directories under the directory are deleted.\n\nThis commit adds checks to break the above infinite loop.","modified":"2026-04-16T00:08:22.252642354Z","published":"2025-09-04T15:32:46.004Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38692.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4c3cda20c4cf1871e27868d08fda06b79bc7d568"},{"type":"WEB","url":"https://git.kernel.org/stable/c/868f23286c1a13162330fa6c614fe350f78e3f82"},{"type":"WEB","url":"https://git.kernel.org/stable/c/99f9a97dce39ad413c39b92c90393bbd6778f3fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa8fe7b7b73d4c9a41bb96cb3fb3092f794ecb33"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e2066ca3ef49a30920d8536fa366b2a183a808ee"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38692.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38692"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003"},{"fixed":"868f23286c1a13162330fa6c614fe350f78e3f82"},{"fixed":"aa8fe7b7b73d4c9a41bb96cb3fb3092f794ecb33"},{"fixed":"e2066ca3ef49a30920d8536fa366b2a183a808ee"},{"fixed":"4c3cda20c4cf1871e27868d08fda06b79bc7d568"},{"fixed":"99f9a97dce39ad413c39b92c90393bbd6778f3fd"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38692.json"}}],"schema_version":"1.7.5"}