CVE-2024-42315

Aliases:UBUNTU-CVE-2024-42315DEBIAN-CVE-2024-42315
Advisory lineage Upstream: 0 Downstream: 31
Modified
Published: 17 Aug 2024, 09:09
Last modified:23 May 2026, 15:52

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.5 MEDIUM
v3.1 (nvd)
EPSS Score
0.17% LOW
0% probability +0.16%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

17 Aug 2024, 09:09
Published
Vulnerability first disclosed
23 May 2026, 15:52
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.17% Percentile: 6%

Techniques & Countermeasures

  • CWE-667Improper Locking

    The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.

Affected Systems

  • debianlinux

    < 5.10.234-1 | < 6.1.123-1 | < 6.10.3-1 | < 6.10.3-1

  • debianlinux-6.1

    < 6.1.128-1~deb11u1

  • ubuntulinux

    < 5.15.0-135.146 | < 6.8.0-50.51

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 5.15.0-1080.87 | < 6.8.0-1020.22

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1080.87~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1020.22~22.04.1

  • ubuntulinux-aws-fips

    < 5.15.0-1080.87+fips1

  • ubuntulinux-azure

    all | < 5.15.0-1084.93 | < 6.8.0-1020.23

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1086.95~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1020.23~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 5.15.0-1083.92+fips1

  • ubuntulinux-bluefield

    all | < 5.15.0-1062.64

  • ubuntulinux-fips

    < 5.15.0-135.146+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    all | < 5.15.0-1079.88 | < 6.8.0-1019.21

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1081.90~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-6.8

    < 6.8.0-1019.21~22.04.1

  • ubuntulinux-gcp-fips

    < 5.15.0-1079.88+fips1

  • ubuntulinux-gke

    all | < 5.15.0-1077.83 | < 6.8.0-1015.19

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.15

    all

  • ubuntulinux-gke-5.4

    all

  • ubuntulinux-gkeop

    < 5.15.0-1062.70 | < 6.8.0-1002.4

  • ubuntulinux-gkeop-5.15

    all

Showing first 50 affected entries in server-rendered view.

References (28)