CVE-2023-53846
published high CVSS 3.1 · 7.8f2fs: fix to do sanity check on direct node in truncate_dnode()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < f5d46fc48b032b1e1c16f82862bf22b830fdb27b · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < af0f716ad3b039cab9d426da63a5ee6c88751185 · 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < a6ec83786ab9f13f25fb18166dee908845713a95 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.4.10 through 6.4.* (unaffected · semver) · 6.5 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 |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.84.1.150600.12.38.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.84.1.150600.12.38.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.84.1.150600.12.38.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_84-defaultppc64le | Advisory build | 1-150600.13.3.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_84-defaults390x | Advisory build | 1-150600.13.3.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_84-defaultx86_64 | Advisory build | 1-150600.13.3.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.28.1 | SUSE-SU-2026:0278-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.28.1 | SUSE-SU-2026:0278-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.28.1 | SUSE-SU-2026:0278-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kbaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azureaarch64 | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azurex86_64 | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaults390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150700.53.28.1.150700.17.19.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseppc64le | Advisory build | 6.4.0-150700.53.28.1.150700.17.19.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-basex86_64 | Advisory build | 6.4.0-150700.53.28.1.150700.17.19.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-devels390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-develnoarch | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150700.7.28.1 | SUSE-SU-2026:0278-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-docsnoarch | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_28-defaultppc64le | Advisory build | 1-150700.15.3.1 | SUSE-SU-2026:0315-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: f2fs: fix to do sanity check on direct node in truncate_dnode() syzbot reports below bug: BUG: KASAN: slab-use-after-free in f2fs_truncate_data_blocks_range+0x122a/0x14c0 fs/f2fs/file.c:574 Read of size 4 at addr ffff88802a25c000 by task syz-executor148/5000 CPU: 1 PID: 5000 Comm: syz-executor148 Not tainted 6.4.0-rc7-syzkaller-00041-ge660abd551f1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 print_address_description.constprop.0+0x2c/0x3c0 mm/kasan/report.c:351 print_report mm/kasan/report.c:462 [inline] kasan_report+0x11c/0x130 mm/kasan/report.c:572 f2fs_truncate_data_blocks_range+0x122a/0x14c0 fs/f2fs/file.c:574 truncate_dnode+0x229/0x2e0 fs/f2fs/node.c:944 f2fs_truncate_inode_blocks+0x64b/0xde0 fs/f2fs/node.c:1154 f2fs_do_truncate_blocks+0x4ac/0xf30 fs/f2fs/file.c:721 f2fs_truncate_blocks+0x7b/0x300 fs/f2fs/file.c:749 f2fs_truncate.part.0+0x4a5/0x630 fs/f2fs/file.c:799 f2fs_truncate include/linux/fs.h:825 [inline] f2fs_setattr+0x1738/0x2090 fs/f2fs/file.c:1006 notify_change+0xb2c/0x1180 fs/attr.c:483 do_truncate+0x143/0x200 fs/open.c:66 handle_truncate fs/namei.c:3295 [inline] do_open fs/namei.c:3640 [inline] path_openat+0x2083/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_creat fs/open.c:1448 [inline] __se_sys_creat fs/open.c:1442 [inline] __x64_sys_creat+0xcd/0x120 fs/open.c:1442 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd The root cause is, inodeA references inodeB via inodeB's ino, once inodeA is truncated, it calls truncate_dnode() to truncate data blocks in inodeB's node page, it traverse mapping data from node->i.i_addr[0] to node->i.i_addr[ADDRS_PER_BLOCK() - 1], result in out-of-boundary access. This patch fixes to add sanity check on dnode page in truncate_dnode(), so that, it can help to avoid triggering such issue, and once it encounters such issue, it will record newly introduced ERROR_INVALID_NODE_REFERENCE error into superblock, later fsck can detect such issue and try repairing. Also, it removes f2fs_truncate_data_blocks() for cleanup due to the function has only one caller, and uses f2fs_truncate_data_blocks_range() instead.
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 bug is reached through local syscalls (`creat`/`truncate`/`ftruncate`) on a file in a mounted f2fs image; there is no network-facing path into `truncate_dnode()`. Attack requires local system access to mount the crafted image and operate on it. AC:L - The corrupted node reference is fully attacker-controlled on-disk data, and syzbot has a deterministic reproducer — a single truncate on the crafted inode reliably drives the loop past the end of the inode page. No race or uncontrollable state is involved. PR:L - An unprivileged local user can get an arbitrary f2fs image mounted on common deployments (udisks2/systemd-mount removable-media policy for active sessions, Android vold adoptable storage), and triggering the truncate afterward needs only ordinary write access to a file. No root in the initial namespace is required in these configurations. UI:N - The same unprivileged attacker performs both the mount (via the removable-media auto-mount path) and the truncate syscall; no separate victim action is needed once the image is attached. S:U - The out-of-bounds access and any resulting corruption stay within the kernel's own security authority — this is a standard in-kernel memory-safety flaw with no crossing of a VM, IOMMU, or sandbox boundary. C:H - The loop performs an out-of-bounds read of ~84 four-byte words past the end of the node page (KASAN reports it as slab-use-after-free), and those adjacent-page values are consumed as block addresses that get invalidated and reflected in the extent cache and block accounting, disclosing adjacent kernel heap contents. I:H - Every non-zero out-of-bounds word triggers `f2fs_set_data_blkaddr()` → `__set_data_blkaddr()`, writing a 4-byte zero through the same OOB pointer — an out-of-bounds write into the neighbouring physical page, plus corruption of SIT/valid-block accounting and freeing of blocks belonging to other inodes. A:H - The out-of-bounds access reliably produces a KASAN slab-use-after-free splat and can panic the kernel, and the bogus block addresses and inflated free counts drive `f2fs_invalidate_blocks()`/`dec_valid_block_count()` into `f2fs_bug_on()` conditions.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < f5d46fc48b032b1e1c16f82862bf22b830fdb27b (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < af0f716ad3b039cab9d426da63a5ee6c88751185 (affected · git)98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to < a6ec83786ab9f13f25fb18166dee908845713a95 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.8 (affected)0 to < 3.8 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.4.10 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
f2fs: fix to do sanity check on direct node in truncate_dnode()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fafb66ea352304656e38bd183ac3c2193521e72342325509c3a2436dd6d353d1
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record