5.5medium
mmc: sdhci: Fix max_seg_size for 64KiB PAGE_SIZE
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 616f8766179277324393f7b77e07f14cb3503825 before bf78b1accef46efd9b624967cb74ae8d3c215a2b, from 616f8766179277324393f7b77e07f14cb3503825 before 63d20a94f24fc1cbaf44d0e7c0e0a8077fde0aef, 6.9 Not affected: before 6.9, from 6.9.10 up to 6.9.*, from 6.10 up to * | CVE List |
| linux linux_kernel | from 6.9 before 6.9.10 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: sdhci: Corrección max_seg_size para 64KiB PAGE_SIZE blk_queue_max_segment_size() asegurado: if (max_size < PAGE_SIZE) max_size = PAGE_SIZE; mientras que: blk_validate_limits() lo convierte en un error: if (WARN_ON_ONCE(lim->max_segment_size < PAGE_SIZE)) return -EINVAL; El cambio de uno a otro expuso a sdhci, que estaba estableciendo un tamaño de segmento máximo demasiado bajo en algunas circunstancias. Fije el tamaño máximo del segmento cuando sea demasiado bajo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42242 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-42242 changed 2026-06-17 | Public domain |