Executive Summary

Informations
Name CVE-2024-42231 First vendor Publication 2024-07-30
Vendor Cve Last vendor Modification 2024-07-30

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Overall CVSS Score 5.5
Base Score 5.5 Environmental Score 5.5
impact SubScore 3.6 Temporal Score 5.5
Exploitabality Sub Score 1.8
 
Attack Vector Local Attack Complexity Low
Privileges Required Low User Interaction None
Scope Unchanged Confidentiality Impact None
Integrity Impact None Availability Impact High
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

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.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-42231

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-682 Incorrect Calculation

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 8
Os 3606

Sources (Detail)

https://git.kernel.org/stable/c/64d2c847ba380e07b9072d65a50aa6469d2aa43f
https://git.kernel.org/stable/c/8548903b1999bba02a2b894ad750ab8eb1f40307
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Date Informations
2024-10-26 02:56:38
  • Multiple Updates
2024-10-25 02:58:32
  • Multiple Updates
2024-10-23 02:57:45
  • Multiple Updates
2024-10-03 02:53:03
  • Multiple Updates
2024-10-02 02:51:27
  • Multiple Updates
2024-09-15 02:49:09
  • Multiple Updates
2024-09-12 02:48:42
  • Multiple Updates
2024-09-07 02:47:41
  • Multiple Updates
2024-09-06 02:46:51
  • Multiple Updates
2024-09-04 02:50:03
  • Multiple Updates
2024-08-22 02:47:55
  • Multiple Updates
2024-08-02 05:27:28
  • Multiple Updates
2024-08-02 01:35:57
  • Multiple Updates
2024-07-31 21:27:27
  • Multiple Updates
2024-07-30 17:27:23
  • Multiple Updates
2024-07-30 13:27:26
  • First insertion