CVE Tools

CVE-2024-42301

dev/parport: fix the array out-of-bounds risk

CVE-2024-42301 is an out-of-bounds access in Linux Kernel (CVSS 7.8, High).

No known exploitation. EPSS puts it in the 15th percentile. Fixed versions are out.

Check it yourself

OpenVAS · 83 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.171238

Run the check

Published Updated Sources: CVE.org, NVD, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • LinuxAffected: ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 166a0bddcc27de41fe13f861c8348e8e53e988c8Upgrade to: 166a0bddcc27de41fe13f861c8348e8e53e988c8Affected: ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 47b3dce100778001cd76f7e9188944b5cb27a76dUpgrade to: 47b3dce100778001cd76f7e9188944b5cb27a76dAffected: ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0Upgrade to: a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0Affected: ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c719b393374d3763e64900ee19aaed767d5a08d6Upgrade to: c719b393374d3763e64900ee19aaed767d5a08d6 + 4 more branchesStated by: CVE record
  • Red Hat Inc. Red Hat Enterprise LinuxAffected: 8Upgrade to: not statedStated by: BDU
  • Open-source community Debian GNU/LinuxAffected: 11Upgrade to: not statedStated by: BDU
  • Innovatsionnye Tekhnologii v Biznese EMIAS OSAffected: 1.0Upgrade to: not statedStated by: BDU
  • RED SOFT RED OSAffected: 7.3Upgrade to: not statedStated by: BDU

Versions as the sources state them. 4 more products have version data. Full version matrix after sign-in

What it is

From the CVE record

In the Linux kernel, the following vulnerability has been resolved: dev/parport: fix the array out-of-bounds risk Fixed array out-of-bounds issues caused by sprintf by replacing it with snprintf for safer data copying, ensuring the destination buffer is not overflowed. Below is the stack trace I encountered during the actual issue: [ 66.575408s] [pid:5118,cpu4,QThread,4]Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: do_hardware_base_addr+0xcc/0xd0 [parport] [ 66.575408s] [pid:5118,cpu4,QThread,5]CPU: 4 PID: 5118 Comm: QThread Tainted: G S W O 5.10.97-arm64-desktop #7100.57021.2 [ 66.575439s] [pid:5118,cpu4,QThread,6]TGID: 5087 Comm: EFileApp [ 66.575439s] [pid:5118,cpu4,QThread,7]Hardware name: HUAWEI HUAWEI QingYun PGUX-W515x-B081/SP1PANGUXM, BIOS 1.00.07 04/29/2024 [ 66.575439s] [pid:5118,cpu4,QThread,8]Call trace: [ 66.575469s] [pid:5118,cpu4,QThread,9] dump_backtrace+0x0/0x1c0 [ 66.575469s] [pid:5118,cpu4,QThread,0] show_stack+0x14/0x20 [ 66.575469s] [pid:5118,cpu4,QThread,1] dump_stack+0xd4/0x10c [ 66.575500s] [pid:5118,cpu4,QThread,2] panic+0x1d8/0x3bc [ 66.575500s] [pid:5118,cpu4,QThread,3] __stack_chk_fail+0x2c/0x38 [ 66.575500s] [pid:5118,cpu4,QThread,4] do_hardware_base_addr+0xcc/0xd0 [parport]

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS15th
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

0.2% chance of exploitation activity in the next 30 days, which ranks it in the 15th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

7 events over 717 days, from the signal feeds we watch.

  1. Patch availablerecord updated
  2. OpenVAS check added
  3. Patch availablerecord updated
  4. Publishedweakness classified

Affected products

Technical detail

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Scored 7.8 by NVD.

How it is reached

  • Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

Sources

Questions about CVE-2024-42301

Is CVE-2024-42301 being exploited?
No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.2%.
Which versions are affected by CVE-2024-42301?
Linux: ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 166a0bddcc27de41fe13f861c8348e8e53e988c8; ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 47b3dce100778001cd76f7e9188944b5cb27a76d; ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0. Red Hat Enterprise Linux: 8. Debian GNU/Linux: 11. 6 more products are listed in the record.
How do I fix or mitigate CVE-2024-42301?
Upgrade to a fixed build for your product branch: 166a0bddcc27de41fe13f861c8348e8e53e988c8, 47b3dce100778001cd76f7e9188944b5cb27a76d, a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0, c719b393374d3763e64900ee19aaed767d5a08d6. The advisory is on git.kernel.org.

Last updated

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Linux, not every advisory.