Executive Summary
Informations | |||
---|---|---|---|
Name | CVE-2022-49075 | First vendor Publication | 2025-02-26 |
Vendor | Cve | Last vendor Modification | 2025-02-26 |
Security-Database Scoring CVSS v3
Cvss vector : N/A | |||
---|---|---|---|
Overall CVSS Score | NA | ||
Base Score | NA | Environmental Score | NA |
impact SubScore | NA | Temporal Score | NA |
Exploitabality Sub Score | NA | ||
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: fix qgroup reserve overflow the qgroup limit We use extent_changeset->bytes_changed in qgroup_reserve_data() to record how many bytes we set for EXTENT_QGROUP_RESERVED state. Currently the bytes_changed is set as "unsigned int", and it will overflow if we try to fallocate a range larger than 4GiB. The result is we reserve less bytes and eventually break the qgroup limit. Unlike regular buffered/direct write, which we use one changeset for each ordered extent, which can never be larger than 256M. For fallocate, we use one changeset for the whole range, thus it no longer respects the 256M per extent limit, and caused the problem. The following example test script reproduces the problem: $ cat qgroup-overflow.sh DEV=/dev/sdj mkfs.btrfs -f $DEV # Set qgroup limit to 2GiB. # Try to fallocate a 3GiB file. This should fail. # Try to fallocate a 5GiB file. # See we break the qgroup limit. umount $MNT When running the test: $ ./qgroup-overflow.sh Try to fallocate a 3GiB file... Try to fallocate a 5GiB file... qgroupid        rfer        excl    max_rfer Since we have no control of how bytes_changed is used, it's better to set it to u64. |
Original Source
Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-49075 |
Sources (Detail)
Alert History
Date | Informations |
---|---|
2025-02-26 17:20:34 |
|