CVE-2024-42242: Linux Kernel - Privilege Escalation & Denial of Service
- Cve: CVE-2024-42242
- Name: Linux Kernel - Privilege Escalation & Denial of Service
- 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.
- Impact: Potential for local privilege escalation or system instability due to incorrect maximum segment size settings.
- Remediation: Update to the latest Linux kernel version where this issue is fixed.
- Vulnerability type: misconfiguration
- Vulnerability impact: privilege_escalation, denial_of_service
- Requirement type: admin_privileges
- Requirements: Exploit requires local privilege.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00182
- Epss percentile: 0.07682
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2024-08-07T16:15:47Z
- Age in days: 839
- Modified at: 2026-06-17T07:49:05Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42242
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling |
References
| Url | Source | Tags |
|---|---|---|
| https://git.kernel.org/stable/c/63d20a94f24fc1cbaf44d0e7c0e0a8077fde0aef | nvd | Patch |
| https://git.kernel.org/stable/c/bf78b1accef46efd9b624967cb74ae8d3c215a2b | nvd | Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 6.9, < 6.9.10 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports