CVE-2024-47741
published high CVSS 3.1 · 7.8btrfs: fix race setting file private on concurrent lseek using same fd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3c32c7212f1639471ec0197ff1179b8ef2e0f3d3 to < f56a6d9c267ec7fa558ede7755551c047b1034cd · 3c32c7212f1639471ec0197ff1179b8ef2e0f3d3 to < a412ca489ac27b9d0e603499315b7139c948130d · 3c32c7212f1639471ec0197ff1179b8ef2e0f3d3 to < 33d1310d4496e904123dab9c28b2d8d2c1800f97 · 3c32c7212f1639471ec0197ff1179b8ef2e0f3d3 to < 7ee85f5515e86a4e2a2f51969795920733912bad · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.54 through 6.6.* (unaffected · semver) · 6.10.13 through 6.10.* (unaffected · semver) · 6.11.2 through 6.11.* (unaffected · semver) · 6.12 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 | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-cocox86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco-develx86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debugx86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debug-develx86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150600.8.17.1 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-coconoarch | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_10_17-rtx86_64 | Advisory build | 1-150600.1.3.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_30-defaultppc64le | Advisory build | 1-150600.13.3.5 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_30-defaults390x | Advisory build | 1-150600.13.3.5 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_30-defaultx86_64 | Advisory build | 1-150600.13.3.5 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debugx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debug-develx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-azurenoarch | Advisory build | 6.4.0-150600.8.17.1 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-coconoarch | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-rtnoarch | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150600.8.17.1 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150600.8.17.1 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-cocox86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-cocox86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.17.2 | SUSE-SU-2024:3984-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.17.1 | SUSE-SU-2024:3986-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 race setting file private on concurrent lseek using same fd When doing concurrent lseek(2) system calls against the same file descriptor, using multiple threads belonging to the same process, we have a short time window where a race happens and can result in a memory leak. The race happens like this: 1) A program opens a file descriptor for a file and then spawns two threads (with the pthreads library for example), lets call them task A and task B; 2) Task A calls lseek with SEEK_DATA or SEEK_HOLE and ends up at file.c:find_desired_extent() while holding a read lock on the inode; 3) At the start of find_desired_extent(), it extracts the file's private_data pointer into a local variable named 'private', which has a value of NULL; 4) Task B also calls lseek with SEEK_DATA or SEEK_HOLE, locks the inode in shared mode and enters file.c:find_desired_extent(), where it also extracts file->private_data into its local variable 'private', which has a NULL value; 5) Because it saw a NULL file private, task A allocates a private structure and assigns to the file structure; 6) Task B also saw a NULL file private so it also allocates its own file private and then assigns it to the same file structure, since both tasks are using the same file descriptor. At this point we leak the private structure allocated by task A. Besides the memory leak, there's also the detail that both tasks end up using the same cached state record in the private structure (struct btrfs_file_private::llseek_cached_state), which can result in a use-after-free problem since one task can free it while the other is still using it (only one task took a reference count on it). Also, sharing the cached state is not a good idea since it could result in incorrect results in the future - right now it should not be a problem because it end ups being used only in extent-io-tree.c:count_range_bits() where we do range validation before using the cached state. Fix this by protecting the private assignment and check of a file while holding the inode's spinlock and keep track of the task that allocated the private, so that it's used only by that task in order to prevent user-after-free issues with the cached state record as well as potentially using it incorrectly in the future.
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
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached via the lseek(2) syscall with SEEK_DATA/SEEK_HOLE on a btrfs file descriptor, requiring local system access. (It is additionally reachable by remote peers when btrfs is re-exported via nfsd's NFSv4.2 SEEK or ksmbd's FSCTL_QUERY_ALLOCATED_RANGES, but that depends on an optional service, so the base vector remains Local.) AC:L - The attacker controls both sides of the race entirely — spawning two threads that hammer lseek() on the same fd — and the window spans a sleeping kzalloc(GFP_KERNEL), making it wide and reliably winnable. The attempt can be repeated without limit by closing and reopening the file to reset file->private_data to NULL. PR:L - Any unprivileged local user needs only an open file descriptor on a regular file on a btrfs filesystem, which they can create themselves in /home or /tmp on distributions defaulting to btrfs. No capability, namespace, or mount privilege is checked anywhere on the btrfs_file_llseek() -> find_desired_extent() path. UI:N - The attacker performs the open, the thread creation, and both racing lseek calls entirely on their own; no victim action or interaction is required. S:U - The corrupted and leaked objects (struct btrfs_file_private and struct extent_state) are kernel heap objects within the same security authority as the compromised kernel; no VM, IOMMU, or sandbox boundary is crossed. C:H - The shared llseek_cached_state slot carries only a single refcount for two owners, so count_range_bits() can dereference a freed struct extent_state and walk its rb_node links; the attacker can spray the dedicated slab to reallocate the freed object and read back kernel data, so per UAF guidance this is High. I:H - The use-after-free yields refcount_inc/free_extent_state operations and rb-tree pointer writes against attacker-groomed freed memory, which is a classic heap-spray path to an arbitrary write and control-flow hijack. A:H - The use-after-free on struct extent_state causes oopses and panics even when not weaponized, and the memory leak is unbounded and attacker-driven — every won race permanently leaks a btrfs_file_private plus a pinned extent_state, so a loop exhausts kernel memory and forces OOM.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3c32c7212f1639471ec0197ff1179b8ef2e0f3d3 to < f56a6d9c267ec7fa558ede7755551c047b1034cd (affected · git)3c32c7212f1639471ec0197ff1179b8ef2e0f3d3 to < a412ca489ac27b9d0e603499315b7139c948130d (affected · git)3c32c7212f1639471ec0197ff1179b8ef2e0f3d3 to < 33d1310d4496e904123dab9c28b2d8d2c1800f97 (affected · git)3c32c7212f1639471ec0197ff1179b8ef2e0f3d3 to < 7ee85f5515e86a4e2a2f51969795920733912bad (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.54 through 6.6.* (unaffected · semver)6.10.13 through 6.10.* (unaffected · semver)6.11.2 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
btrfs: fix race setting file private on concurrent lseek using same fd
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fdfa0eb3cb8e1c90e99f0242ba054d5ae3faf54e64147aab62ee3c657c031729
- Ingested
- 23 Sep 2026, 08:28:35 UTC
- Source record
- Official CVE record