{"id":"CVE-2025-38692","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-09-04T16:15:37.447","lastModified":"2026-11-05T22:17:25.080","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nexfat: añadir comprobación de bucle en cadena de clústeres para directorio\n\nPuede ocurrir un bucle infinito si se dan las siguientes condiciones debido a la corrupción del sistema de archivos.\n\n(1) Condición para que exfat_count_dir_entries() entre en bucle infinito.\n    - La cadena de clústeres incluye un bucle.\n    - No hay entrada UNUSED en la cadena de clústeres.\n\n(2) Condición para que exfat_create_upcase_table() entre en bucle infinito.\n    - La cadena de clústeres del directorio raíz incluye un bucle.\n    - No hay entrada UNUSED ni entrada de tabla de mayúsculas en la cadena de clústeres del directorio raíz.\n\n(3) Condición para que exfat_load_bitmap() entre en bucle infinito.\n    - La cadena de clústeres del directorio raíz incluye un bucle.\n    - No hay entrada UNUSED ni entrada de mapa de bits en la cadena de clústeres del directorio raíz.\n\n(4) Condición para que exfat_find_dir_entry() entre en bucle infinito.\n    - La cadena de clústeres incluye un bucle.\n    - Las entradas de directorio no utilizadas se agotaron por alguna operación.\n\n(5) Condición para que exfat_check_dir_empty() entre en bucle infinito.\n    - La cadena de clústeres incluye un bucle.\n    - Las entradas de directorio no utilizadas se agotaron por alguna operación.\n    - Todos los archivos y subdirectorios bajo el directorio son eliminados.\n\nEste commit añade comprobaciones para romper el bucle infinito anterior."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/exfat/dir.c","fs/exfat/fatent.c","fs/exfat/namei.c","fs/exfat/super.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003","lessThan":"1715f0996f7baf817c73613aeda500c4f73a6bd6","versionType":"git","status":"affected"},{"version":"1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003","lessThan":"868f23286c1a13162330fa6c614fe350f78e3f82","versionType":"git","status":"affected"},{"version":"1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003","lessThan":"aa8fe7b7b73d4c9a41bb96cb3fb3092f794ecb33","versionType":"git","status":"affected"},{"version":"1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003","lessThan":"e2066ca3ef49a30920d8536fa366b2a183a808ee","versionType":"git","status":"affected"},{"version":"1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003","lessThan":"4c3cda20c4cf1871e27868d08fda06b79bc7d568","versionType":"git","status":"affected"},{"version":"1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003","lessThan":"99f9a97dce39ad413c39b92c90393bbd6778f3fd","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/exfat/dir.c","fs/exfat/fatent.c","fs/exfat/namei.c","fs/exfat/super.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.7","status":"affected"},{"version":"0","lessThan":"5.7","versionType":"semver","status":"unaffected"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.103","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.43","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.15.11","lessThanOrEqual":"6.15.*","versionType":"semver","status":"unaffected"},{"version":"6.16.2","lessThanOrEqual":"6.16.*","versionType":"semver","status":"unaffected"},{"version":"6.17","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-05T21:07:19.990218Z","id":"CVE-2025-38692","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-835"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.6.103","matchCriteriaId":"23914B23-DA2F-4BFF-A11B-9674F8A6BD86"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.43","matchCriteriaId":"472C5F87-2BF3-4FAB-9B21-DA7513977363"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.15.11","matchCriteriaId":"BC242347-F722-43AE-B910-BE0B22386977"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.16.2","matchCriteriaId":"BD7C087D-2415-4521-B624-30003352F899"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/1715f0996f7baf817c73613aeda500c4f73a6bd6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4c3cda20c4cf1871e27868d08fda06b79bc7d568","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/868f23286c1a13162330fa6c614fe350f78e3f82","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/99f9a97dce39ad413c39b92c90393bbd6778f3fd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/aa8fe7b7b73d4c9a41bb96cb3fb3092f794ecb33","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e2066ca3ef49a30920d8536fa366b2a183a808ee","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}