CVE-2022-49075
published high CVSS 3.1 · 8.1btrfs: fix qgroup reserve overflow the qgroup limit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7bc329c1836866ffac8b2613f780a51b3ffe786d to < 0355387ea5b02d353c9415613fab908fac5c52a6 · 7bc329c1836866ffac8b2613f780a51b3ffe786d to < f3d97b22a708bf9e3f3ac2ba232bcefd0b0c136b · 7bc329c1836866ffac8b2613f780a51b3ffe786d to < 44277c50fdba5019ca25bfad1b71e2561b0de11b · 7bc329c1836866ffac8b2613f780a51b3ffe786d to < 82ae73ac963cee877ce34f7c31b2b456b516e96c · 7bc329c1836866ffac8b2613f780a51b3ffe786d to < 4b98799e181b4326a613108cf37acc1f55d21b45 · 7bc329c1836866ffac8b2613f780a51b3ffe786d to < 6bfff81286d4491f02dad7814bae5c77c9ad2320 · 7bc329c1836866ffac8b2613f780a51b3ffe786d to < 7941b74ed49b6db25efbef2256ebef843c11a010 · 7bc329c1836866ffac8b2613f780a51b3ffe786d to < b642b52d0b50f4d398cb4293f64992d0eed2e2ce · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.13 (affected) · 0 to < 4.13 (unaffected · semver) · 4.14.276 through 4.14.* (unaffected · semver) · 4.19.238 through 4.19.* (unaffected · semver) · 5.4.189 through 5.4.* (unaffected · semver) · 5.10.111 through 5.10.* (unaffected · semver) · 5.15.34 through 5.15.* (unaffected · semver) · 5.16.20 through 5.16.* (unaffected · semver) · 5.17.3 through 5.17.* (unaffected · semver) · 5.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2569 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-036 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-076 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_255-defaultppc64le | Advisory build | 1-8.5.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_255-defaults390x | Advisory build | 1-8.5.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_255-defaultx86_64 | Advisory build | 1-8.5.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_100-defaultppc64le | Advisory build | 1-150500.11.3.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_100-defaults390x | Advisory build | 1-150500.11.3.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_100-defaultx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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 #!/bin/bash DEV=/dev/sdj MNT=/mnt/sdj mkfs.btrfs -f $DEV mount $DEV $MNT # Set qgroup limit to 2GiB. btrfs quota enable $MNT btrfs qgroup limit 2G $MNT # Try to fallocate a 3GiB file. This should fail. echo echo "Try to fallocate a 3GiB file..." fallocate -l 3G $MNT/3G.file # Try to fallocate a 5GiB file. echo echo "Try to fallocate a 5GiB file..." fallocate -l 5G $MNT/5G.file # See we break the qgroup limit. echo sync btrfs qgroup show -r $MNT umount $MNT When running the test: $ ./qgroup-overflow.sh (...) Try to fallocate a 3GiB file... fallocate: fallocate failed: Disk quota exceeded Try to fallocate a 5GiB file... qgroupid rfer excl max_rfer -------- ---- ---- -------- 0/5 5.00GiB 5.00GiB 2.00GiB Since we have no control of how bytes_changed is used, it's better to set it to u64.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Scenarios
- en: AV:N - The vulnerable fallocate→btrfs_qgroup_reserve_data path is invoked by in-kernel network servers: nfsd4_allocate (nfsd4_vfs_fallocate) and ksmbd vfs_fallocate on btrfs exports. Worst reasonable deployment is a multi-tenant NAS (e.g. Synology-style btrfs+qgroups over SMB/NFS) where a remote peer triggers the overflow with a >4GiB allocate. AC:L - The attacker fully controls the trigger by issuing a single fallocate/ALLOCATE larger than 4GiB on a writable file; unsigned-int wrap of bytes_changed is deterministic, and qgroups are routinely enabled in the multi-tenant/NAS deployments where this limit matters. PR:L - Exploitation needs only an authenticated principal with write access (local unprivileged user, or NFS WR_STATE / SMB write after session setup). Enabling quotas requires CAP_SYS_ADMIN, but bypassing an already-enforced qgroup does not. UI:N - The attacker drives fallocate/ALLOCATE themselves against a file they can write; no separate victim action or privileged helper is required once the btrfs volume with qgroups is already serving. S:U - Impact stays within the host kernel’s filesystem/quota authority for that volume; no VM escape, IOMMU bypass, or cross-sandbox boundary is crossed. C:N - The bug is pure qgroup accounting underflow from a 32-bit bytes_changed wrap; it discloses no kernel memory, file contents, or other tenants’ data. I:H - The overflow causes qgroup_reserve() to reserve the wrapped (far smaller) amount, completely defeating the qgroup limit so the attacker can allocate and persist arbitrary extents beyond their authorized quota—a complete loss of that isolation protection with attacker-controlled writes. A:H - Bypassing qgroup caps lets the attacker consume free space belonging to other tenants on the shared volume until ENOSPC, fully denying write service to co-tenants; free-path WARN_ON desync under panic_on_warn can also take the host down.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7bc329c1836866ffac8b2613f780a51b3ffe786d to < 0355387ea5b02d353c9415613fab908fac5c52a6 (affected · git)7bc329c1836866ffac8b2613f780a51b3ffe786d to < f3d97b22a708bf9e3f3ac2ba232bcefd0b0c136b (affected · git)7bc329c1836866ffac8b2613f780a51b3ffe786d to < 44277c50fdba5019ca25bfad1b71e2561b0de11b (affected · git)7bc329c1836866ffac8b2613f780a51b3ffe786d to < 82ae73ac963cee877ce34f7c31b2b456b516e96c (affected · git)7bc329c1836866ffac8b2613f780a51b3ffe786d to < 4b98799e181b4326a613108cf37acc1f55d21b45 (affected · git)7bc329c1836866ffac8b2613f780a51b3ffe786d to < 6bfff81286d4491f02dad7814bae5c77c9ad2320 (affected · git)7bc329c1836866ffac8b2613f780a51b3ffe786d to < 7941b74ed49b6db25efbef2256ebef843c11a010 (affected · git)7bc329c1836866ffac8b2613f780a51b3ffe786d to < b642b52d0b50f4d398cb4293f64992d0eed2e2ce (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.13 (affected)0 to < 4.13 (unaffected · semver)4.14.276 through 4.14.* (unaffected · semver)4.19.238 through 4.19.* (unaffected · semver)5.4.189 through 5.4.* (unaffected · semver)5.10.111 through 5.10.* (unaffected · semver)5.15.34 through 5.15.* (unaffected · semver)5.16.20 through 5.16.* (unaffected · semver)5.17.3 through 5.17.* (unaffected · semver)5.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0355387ea5b02d353c9415613fab908fac5c52a6
- https://git.kernel.org/stable/c/44277c50fdba5019ca25bfad1b71e2561b0de11b
- https://git.kernel.org/stable/c/4b98799e181b4326a613108cf37acc1f55d21b45
- https://git.kernel.org/stable/c/6bfff81286d4491f02dad7814bae5c77c9ad2320
- https://git.kernel.org/stable/c/7941b74ed49b6db25efbef2256ebef843c11a010
- https://git.kernel.org/stable/c/82ae73ac963cee877ce34f7c31b2b456b516e96c
- https://git.kernel.org/stable/c/b642b52d0b50f4d398cb4293f64992d0eed2e2ce
- https://git.kernel.org/stable/c/f3d97b22a708bf9e3f3ac2ba232bcefd0b0c136b
Provider assertions
1Linux · cna
btrfs: fix qgroup reserve overflow the qgroup limit
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d92feea242fdb8a9b17dc01ccd8c5bbce06369e3ae848838d9e2b04d8ae94c3
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record