Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-42242
HistoryAug 07, 2024 - 3:14 p.m.

CVE-2024-42242 mmc: sdhci: Fix max_seg_size for 64KiB PAGE_SIZE

2024-08-0715:14:29
Linux
github.com
1
linux kernel
mmc
sdhci
maximum segment size fix
cve-2024-42242

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

In the Linux kernel, the following vulnerability has been resolved:

mmc: sdhci: Fix max_seg_size for 64KiB PAGE_SIZE

blk_queue_max_segment_size() ensured:

if (max_size < PAGE_SIZE)
	max_size = PAGE_SIZE;

whereas:

blk_validate_limits() makes it an error:

if (WARN_ON_ONCE(lim->max_segment_size < PAGE_SIZE))
	return -EINVAL;

The change from one to the other, exposed sdhci which was setting maximum
segment size too low in some circumstances.

Fix the maximum segment size when it is too low.

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-42242