CVE-2024-42231
mediumpriority · track · 22EPSS 0.002 · 8 %ileDEEURUUSEPSS · scored 2026-10-27
In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: fix calc_available_free_space() for zoned mode calc_available_free_space() returns the total size of metadata (or system) block groups, which can be allocated from unallocated disk space. The logic is wrong on zoned mode in two places. First, the calculation of data_chunk_size is wrong. We always allocate one zone as one chunk, and no partial allocation of a zone. So, we should use zone_size (= data_sinfo->chunk_size) as it is. Second, the result "avail" may not be zone aligned. Since we always allocate one zone as one chunk on zoned mode, returning non-zone size aligned bytes will result in less pressure on the async metadata reclaim process. This is serious for the nearly full state with a large zone size device. Allowing over-commit too much will result in less async reclaim work and end up in ENOSPC. We can align down to the zone size to avoid that.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (45)
Products and version ranges known to be affected.
- Dell PowerProtect Data Domain Management Centerall versionscert_bundDEcpe:/a:dell:powerprotect_data_domain_management_center:-
- NetApp ActiveIQ Unified Manager for VMware vSphereall versionscert_bundDEcpe:/a:netapp:active_iq_unified_manager:for_vmware_vsphere
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1722Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten AngriffDeutsch2024-07-29csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen im Linux Kernel ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-42231/cnnvd
- https://git.kernel.org/stable/c/64d2c847ba380e07b9072d65a50aa6469d2aa43fcnnvd
- https://git.kernel.org/stable/c/8548903b1999bba02a2b894ad750ab8eb1f40307cnnvd
- https://git.kernel.org/stable/c/64d2c847ba380e07b9072d65a50aa6469d2aa43fenisa_euvd
- https://git.kernel.org/stable/c/8548903b1999bba02a2b894ad750ab8eb1f40307enisa_euvd
- https://git.kernel.org/stable/c/64d2c847ba380e07b9072d65a50aa6469d2aa43fPatchnvd
- https://git.kernel.org/stable/c/8548903b1999bba02a2b894ad750ab8eb1f40307Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan