CVE-2024-42242
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's MMC SDHCI driver has been identified and assigned CVE-2024-42242. The issue relates to incorrect handling of maximum segment size settings when PAGE_SIZE is 64KiB. The vulnerability was discovered and patched in July 2024, affecting Linux kernel versions from 6.9 up to (excluding) 6.9.10 (NVD).

Technical details

The vulnerability stems from a mismatch between block layer requirements and SDHCI driver implementation. The block layer's blkvalidatelimits() function requires maxsegmentsize to be at least PAGESIZE, while the SDHCI driver was setting it too low in certain circumstances. The issue specifically affects systems with 64KiB PAGESIZE, where some controllers that don't support "zero means 65536" were limited to 65535 bytes. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability could lead to availability impacts on affected systems. When triggered, it could cause system errors due to the mismatch between the block layer's requirements and the SDHCI driver's segment size settings (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that ensures the maximum segment size is set to at least PAGESIZE when necessary. The fix includes additional logic in the SDHCI driver to handle cases where the maximum segment size would be set below PAGESIZE (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management