Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-42315

MEDIUM 5.5EPSS 9%

exfat: fix potential deadlock on __exfat_get_dentry_set

Mitigation

  • Upgrade Linux to 5.15.175 or later.

Who should check

  • Anyone running Linux >= bd3bdb9e0d656f760b11d0c638d35d7f7068144d, < 632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb; >= 92dcd7d6c6068bf4fd35a6f64d606e27d634807e, < c052f775ee6ccacd3c97e4cf41a2a657e63d4259; >= d8fe01ad2d8ab33aaf8f2efad9e8f1dae11c4b0c, < cd1c7858641384191ff7033fb1fc65dfcd559c6f; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < a7ac198f8dba791e3144c4da48a5a9b95773ee4b; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < 1d1970493c289e3f44b9ec847ed26a5dbdf56a62; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < 89fc548767a2155231128cb98726d6d2ea1256c9; >= 5.10.190, < 5.10.232; >= 5.15.150, < 5.15.175
  • Anyone running Linux 6.2

Vulnerability facts

Affected
Linux >= bd3bdb9e0d656f760b11d0c638d35d7f7068144d, < 632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb; >= 92dcd7d6c6068bf4fd35a6f64d606e27d634807e, < c052f775ee6ccacd3c97e4cf41a2a657e63d4259; >= d8fe01ad2d8ab33aaf8f2efad9e8f1dae11c4b0c, < cd1c7858641384191ff7033fb1fc65dfcd559c6f; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < a7ac198f8dba791e3144c4da48a5a9b95773ee4b; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < 1d1970493c289e3f44b9ec847ed26a5dbdf56a62; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < 89fc548767a2155231128cb98726d6d2ea1256c9; >= 5.10.190, < 5.10.232; >= 5.15.150, < 5.15.175; Linux 6.2
Fixed in
Linux 632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb, Linux 1d1970493c289e3f44b9ec847ed26a5dbdf56a62, Linux 89fc548767a2155231128cb98726d6d2ea1256c9, Linux 5.10.232, Linux 5.15.175
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 9, 2026-11-26)
CWE
CWE-667
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: exfat: fix potential deadlock on __exfat_get_dentry_set When accessing a file with more entries than ES_MAX_ENTRY_NUM, the bh-array is allocated in __exfat_get_entry_set. The problem is that the bh-array is allocated with GFP_KERNEL. It does not make sense. In the following cases, a deadlock for sbi->s_lock between the two processes may occur. CPU0 CPU1 ---- ---- kswapd balance_pgdat lock(fs_reclaim) exfat_iterate lock(&sbi->s_lock) exfat_readdir exfat_get_uniname_from_ext_entry exfat_get_dentry_set __exfat_get_dentry_set kmalloc_array ... lock(fs_reclaim) ... evict exfat_evict_inode lock(&sbi->s_lock) To fix this, let's allocate bh-array with GFP_NOFS.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= bd3bdb9e0d656f760b11d0c638d35d7f7068144d, < 632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb; >= 92dcd7d6c6068bf4fd35a6f64d606e27d634807e, < c052f775ee6ccacd3c97e4cf41a2a657e63d4259; >= d8fe01ad2d8ab33aaf8f2efad9e8f1dae11c4b0c, < cd1c7858641384191ff7033fb1fc65dfcd559c6f; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < a7ac198f8dba791e3144c4da48a5a9b95773ee4b; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < 1d1970493c289e3f44b9ec847ed26a5dbdf56a62; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < 89fc548767a2155231128cb98726d6d2ea1256c9; >= 5.10.190, < 5.10.232; >= 5.15.150, < 5.15.175—cvelist
Linux6.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-42315. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42315.md
Affected: Linux >= bd3bdb9e0d656f760b11d0c638d35d7f7068144d, < 632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb; >= 92dcd7d6c6068bf4fd35a6f64d606e27d634807e, < c052f775ee6ccacd3c97e4cf41a2a657e63d4259; >= d8fe01ad2d8ab33aaf8f2efad9e8f1dae11c4b0c, < cd1c7858641384191ff7033fb1fc65dfcd559c6f; >= a3ff29a95fde16906304455…
Fixed in: Linux 632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb, Linux 1d1970493c289e3f44b9ec847ed26a5dbdf56a62, Linux 89fc548767a2155231128cb98726d6d2ea1256c9, Linux 5.10.232, Linux 5.15.175

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-42315 being exploited?

There is no confirmed exploitation: CVE-2024-42315 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-42315?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-42315?

Linux >= bd3bdb9e0d656f760b11d0c638d35d7f7068144d, < 632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb; >= 92dcd7d6c6068bf4fd35a6f64d606e27d634807e, < c052f775ee6ccacd3c97e4cf41a2a657e63d4259; >= d8fe01ad2d8ab33aaf8f2efad9e8f1dae11c4b0c, < cd1c7858641384191ff7033fb1fc65dfcd559c6f; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < a7ac198f8dba791e3144c4da48a5a9b95773ee4b; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < 1d1970493c289e3f44b9ec847ed26a5dbdf56a62; >= a3ff29a95fde16906304455aa8c0bd84eb770258, < 89fc548767a2155231128cb98726d6d2ea1256c9; >= 5.10.190, < 5.10.232; >= 5.15.150, < 5.15.175; Linux 6.2.

Is there a fix for CVE-2024-42315?

Yes. Fixed in Linux 632fb232b6bbf8277edcbe9ecd4b4d98ecb122eb, Linux 1d1970493c289e3f44b9ec847ed26a5dbdf56a62, Linux 89fc548767a2155231128cb98726d6d2ea1256c9, Linux 5.10.232, Linux 5.15.175. Upgrade Linux to 5.15.175 or later.

How do I check if I'm affected by CVE-2024-42315?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors