CVSS 3.1
4.7 mediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HMedium (4.7) in linux linux kernel. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HExplain CVE-2024-42300 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-42300?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-42300?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-42300 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | 6.10 and later |
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 6.10 | 6.10.3 |
| Linux | later releases | 6.11 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13, 14 | linux | 6.10.3-1 | DEBIAN-CVE-2024-42300 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2024-42300 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 12 more | no fix listed | UBUNTU-CVE-2024-42300 |
| Ubuntu | 20.04:LTS | linux-gke, linux-riscv, linux-raspi2 and 24 more | no fix listed | UBUNTU-CVE-2024-42300 |
| Ubuntu | 22.04:LTS | linux-riscv, linux-aws-6.2, linux-aws-6.5 and 29 more | no fix listed | UBUNTU-CVE-2024-42300 |
| Ubuntu | 24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2024-42300 |
| Alpaquita | 25, stream | linux-lts | 6.12.41-r0 | BELL-CVE-2024-42300 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.
Red Hat rates this Moderate.
To mitigate this issue, prevent the 'erofs' kernel module from loading. This can be achieved by blacklisting the module. Note that this will prevent the system from mounting EROFS filesystems.
Create a file named `/etc/modprobe.d/blacklist-erofs.conf` with the following content:
```
blacklist erofs
```
After creating the file, regenerate the initramfs to ensure the blacklist is applied on boot. The exact command varies by distribution, but common examples include:
For systems using Dracut:
`sudo dracut -f -v`
For systems using mkinitcpio:
`sudo mkinitcpio -P`
A system reboot is required for the changes to take effect.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 8 | kernel | Not affected | |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 9 | kernel | Not affected | |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-42300.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.