CVE-2024-46734
published high CVSS 3.1 · 7.8btrfs: fix race between direct IO write and fsync when using same fd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4e17707035a65f6e5b2a4d987a308cf8ed8c5ad1 to < d116a0b0e02f395cedfb8c725bd67480aa7c428c · 6cae8d04d8b3d1ecfadcaa989e673f6f73349ed5 to < cd3087582e4fa36e89be4e6f859e75a4400292b4 · 0a108bde616a7017653385b5a12111015051a294 to < 7b5595f33c3c273613b590892a578d78186bb400 · 3831170f740685fddc8f6aa57a83ad0fef4711bf to < 01681aa609b5f110502f56c4e3b2938efcf4a5bc · 939b656bc8ab203fdbde26ccac22bcb7f0985be5 to < cd9253c23aedd61eb5ff11f37a36247cd46faf86 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15.165 to < 5.15.167 · 6.1.105 to < 6.1.110 · 6.6.46 to < 6.6.51 · 6.10.5 to < 6.10.10 · Other versions: unaffected | Affected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2024-055 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-724 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-744 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.112-1 | DSA-5782-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.14.1 | SUSE-SU-2024:3564-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.14.1 | SUSE-SU-2024:3564-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.14.1 | SUSE-SU-2024:3564-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-cocox86_64 | Advisory build | 6.4.0-15061.6.coco15sp6.1 | SUSE-SU-2024:3553-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco-develx86_64 | Advisory build | 6.4.0-15061.6.coco15sp6.1 | SUSE-SU-2024:3553-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debugx86_64 | Advisory build | 6.4.0-15061.6.coco15sp6.1 | SUSE-SU-2024:3553-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debug-develx86_64 | Advisory build | 6.4.0-15061.6.coco15sp6.1 | SUSE-SU-2024:3553-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.25.1.150600.12.10.2 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.25.1.150600.12.10.2 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.25.1.150600.12.10.2 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-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 between direct IO write and fsync when using same fd If we have 2 threads that are using the same file descriptor and one of them is doing direct IO writes while the other is doing fsync, we have a race where we can end up either: 1) Attempt a fsync without holding the inode's lock, triggering an assertion failures when assertions are enabled; 2) Do an invalid memory access from the fsync task because the file private points to memory allocated on stack by the direct IO task and it may be used by the fsync task after the stack was destroyed. The race happens like this: 1) A user space program opens a file descriptor with O_DIRECT; 2) The program spawns 2 threads using libpthread for example; 3) One of the threads uses the file descriptor to do direct IO writes, while the other calls fsync using the same file descriptor. 4) Call task A the thread doing direct IO writes and task B the thread doing fsyncs; 5) Task A does a direct IO write, and at btrfs_direct_write() sets the file's private to an on stack allocated private with the member 'fsync_skip_inode_lock' set to true; 6) Task B enters btrfs_sync_file() and sees that there's a private structure associated to the file which has 'fsync_skip_inode_lock' set to true, so it skips locking the inode's VFS lock; 7) Task A completes the direct IO write, and resets the file's private to NULL since it had no prior private and our private was stack allocated. Then it unlocks the inode's VFS lock; 8) Task B enters btrfs_get_ordered_extents_for_logging(), then the assertion that checks the inode's VFS lock is held fails, since task B never locked it and task A has already unlocked it. The stack trace produced is the following: assertion failed: inode_is_locked(&inode->vfs_inode), in fs/btrfs/ordered-data.c:983 ------------[ cut here ]------------ kernel BUG at fs/btrfs/ordered-data.c:983! Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 9 PID: 5072 Comm: worker Tainted: G U OE 6.10.5-1-default #1 openSUSE Tumbleweed 69f48d427608e1c09e60ea24c6c55e2ca1b049e8 Hardware name: Acer Predator PH315-52/Covini_CFS, BIOS V1.12 07/28/2020 RIP: 0010:btrfs_get_ordered_extents_for_logging.cold+0x1f/0x42 [btrfs] Code: 50 d6 86 c0 e8 (...) RSP: 0018:ffff9e4a03dcfc78 EFLAGS: 00010246 RAX: 0000000000000054 RBX: ffff9078a9868e98 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff907dce4a7800 RDI: ffff907dce4a7800 RBP: ffff907805518800 R08: 0000000000000000 R09: ffff9e4a03dcfb38 R10: ffff9e4a03dcfb30 R11: 0000000000000003 R12: ffff907684ae7800 R13: 0000000000000001 R14: ffff90774646b600 R15: 0000000000000000 FS: 00007f04b96006c0(0000) GS:ffff907dce480000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f32acbfc000 CR3: 00000001fd4fa005 CR4: 00000000003726f0 Call Trace: <TASK> ? __die_body.cold+0x14/0x24 ? die+0x2e/0x50 ? do_trap+0xca/0x110 ? do_error_trap+0x6a/0x90 ? btrfs_get_ordered_extents_for_logging.cold+0x1f/0x42 [btrfs bb26272d49b4cdc847cf3f7faadd459b62caee9a] ? exc_invalid_op+0x50/0x70 ? btrfs_get_ordered_extents_for_logging.cold+0x1f/0x42 [btrfs bb26272d49b4cdc847cf3f7faadd459b62caee9a] ? asm_exc_invalid_op+0x1a/0x20 ? btrfs_get_ordered_extents_for_logging.cold+0x1f/0x42 [btrfs bb26272d49b4cdc847cf3f7faadd459b62caee9a] ? btrfs_get_ordered_extents_for_logging.cold+0x1f/0x42 [btrfs bb26272d49b4cdc847cf3f7faadd459b62caee9a] btrfs_sync_file+0x21a/0x4d0 [btrfs bb26272d49b4cdc847cf3f7faadd459b62caee9a] ? __seccomp_filter+0x31d/0x4f0 __x64_sys_fdatasync+0x4f/0x90 do_syscall_64+0x82/0x160 ? do_futex+0xcb/0x190 ? __x64_sys_futex+0x10e/0x1d0 ? switch_fpu_return+0x4f/0xd0 ? syscall_exit_to_user_mode+0x72/0x220 ? do_syscall_64+0x8e/0x160 ? syscall_exit_to_user_mod ---truncated---
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 race is driven purely through local syscalls (`open(O_DIRECT)`, `pwrite`, `fsync`/`fdatasync`, `lseek`) on a file residing on a mounted btrfs filesystem. No network or physical access is involved. AC:L - The attacker controls both sides of the race by spawning its own threads on a shared file descriptor; the upstream reproducer triggers the crash "usually within less than 1 second" and it was independently hit by ordinary QEMU workloads and syzbot. No condition outside the attacker's control is required. PR:L - Any unprivileged local user with write access to a single file on a btrfs mount (default root filesystem on Fedora/openSUSE/SLE, common for container and NAS storage) can trigger it — no capabilities, root, or special mount options are needed. UI:N - The attacking process performs all steps itself in a tight two-thread loop; no victim action of any kind is required. S:U - The flaw and its impact are both confined to the kernel's own security authority; no VM, IOMMU, or hypervisor boundary is crossed. C:H - fsync proceeds through the full inode-logging path without the inode's i_rwsem, producing log-tree state with file extent items pointing to unwritten extents and no checksums, so post-replay reads return stale on-disk data belonging to other/deleted files; additionally the stale stack pointer allows reading another task's kernel stack contents. I:H - A second concurrent O_DIRECT writer and the lseek path both write through the dangling pointer into a destroyed kernel stack frame (a byte flag, and an `extent_state *` via `&private->llseek_cached_state`), and `btrfs_release_file()` can kfree/free_extent_state stale pointers — memory corruption usable for control-flow hijack — alongside unlocked concurrent modification of the log tree corrupting on-disk metadata. A:H - The primary observed effect is a hard kernel BUG()/panic at `fs/btrfs/ordered-data.c:983` ("kernel BUG ... Oops: invalid opcode"), reproducible within a second by an unprivileged process, giving a reliable full system denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4e17707035a65f6e5b2a4d987a308cf8ed8c5ad1 to < d116a0b0e02f395cedfb8c725bd67480aa7c428c (affected · git)6cae8d04d8b3d1ecfadcaa989e673f6f73349ed5 to < cd3087582e4fa36e89be4e6f859e75a4400292b4 (affected · git)0a108bde616a7017653385b5a12111015051a294 to < 7b5595f33c3c273613b590892a578d78186bb400 (affected · git)3831170f740685fddc8f6aa57a83ad0fef4711bf to < 01681aa609b5f110502f56c4e3b2938efcf4a5bc (affected · git)939b656bc8ab203fdbde26ccac22bcb7f0985be5 to < cd9253c23aedd61eb5ff11f37a36247cd46faf86 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15.165 to < 5.15.167 (affected · semver)6.1.105 to < 6.1.110 (affected · semver)6.6.46 to < 6.6.51 (affected · semver)6.10.5 to < 6.10.10 (affected · semver)Default: unaffected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/01681aa609b5f110502f56c4e3b2938efcf4a5bc
- https://git.kernel.org/stable/c/7b5595f33c3c273613b590892a578d78186bb400
- https://git.kernel.org/stable/c/cd3087582e4fa36e89be4e6f859e75a4400292b4
- https://git.kernel.org/stable/c/cd9253c23aedd61eb5ff11f37a36247cd46faf86
- https://git.kernel.org/stable/c/d116a0b0e02f395cedfb8c725bd67480aa7c428c
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
btrfs: fix race between direct IO write and fsync when using same fd
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a3896338d18034dc9b70d42d3804305ba16420531bf1466f55c59679b659d652
- Ingested
- 23 Sep 2026, 08:28:03 UTC
- Source record
- Official CVE record