CVE-2025-38163
publishedf2fs: fix to do sanity check on sbi->total_valid_block_count
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 49bc7bf38e42cfa642787e947f5721696ea73ac3 · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < f1b743c1955151bd392539b739a3ad155296be13 · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 6a324d77f7ea1a91d55c4b6ad970e3ac9ab6a20d · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 25f3776b58c1c45ad2e50ab4b263505b4d2378ca · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < a39cc43efc1bca74ed9d6cf9e60b995071f7d178 · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 65b3f76592aed5a43c4d79375ac097acf975972b · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < ccc28c0397f75a3ec9539cceed9db014d7b73869 · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 05872a167c2cab80ef186ef23cc34a6776a1a30c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.4.295 through 5.4.* (unaffected · semver) · 5.10.239 through 5.10.* (unaffected · semver) · 5.15.186 through 5.15.* (unaffected · semver) · 6.1.142 through 6.1.* (unaffected · semver) · 6.6.94 through 6.6.* (unaffected · semver) · 6.12.34 through 6.12.* (unaffected · semver) · 6.15.3 through 6.15.* (unaffected · semver) · 6.16 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.147-1 | DSA-5973-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1092.99~20.04.1 | USN-7774-1 |
| Debian | bullseye | linux | Advisory build | 5.10.244-1 | DLA-4327-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek64k-develaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1092 | Advisory build | 5.15.0-1092.99~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1092 | Advisory build | 5.15.0-1092.99~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1092 | Advisory build | 5.15.0-1092.99~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1096.105~20.04.1 | USN-7775-3 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1096 | Advisory build | 5.15.0-1096.105~20.04.1 | USN-7775-3 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1096 | Advisory build | 5.15.0-1096.105~20.04.1 | USN-7775-3 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1096 | Advisory build | 5.15.0-1096.105~20.04.1 | USN-7775-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1045-nvidia-tegra | Advisory build | 5.15.0-1045.45~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1045-nvidia-tegra-rt | Advisory build | 5.15.0-1045.45~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1086-ibm | Advisory build | 5.15.0-1086.89~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1087-intel-iotg | Advisory build | 5.15.0-1087.93~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1090-oracle | Advisory build | 5.15.0-1090.96~20.04.1 | USN-7776-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1092-aws | Advisory build | 5.15.0-1092.99~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1092-gcp | Advisory build | 5.15.0-1092.101~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1096-azure | Advisory build | 5.15.0-1096.105~20.04.1 | USN-7775-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-156-generic | Advisory build | 5.15.0-156.166~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-156-generic-64k | Advisory build | 5.15.0-156.166~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-156-generic-lpae | Advisory build | 5.15.0-156.166~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-156-lowlatency | Advisory build | 5.15.0-156.166~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-156-lowlatency-64k | Advisory build | 5.15.0-156.166~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1087-intel-iotg | Advisory build | 5.15.0-1087.93~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1092-aws | Advisory build | 5.15.0-1092.99~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1096-azure | Advisory build | 5.15.0-1096.105~20.04.1 | USN-7775-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-156-generic | Advisory build | 5.15.0-156.166~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-156-lowlatency | Advisory build | 5.15.0-156.166~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1092.101~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1092 | Advisory build | 5.15.0-1092.101~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1092 | Advisory build | 5.15.0-1092.101~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-headers-5.15.0-1045-nvidia-tegra | Advisory build | 5.15.0-1045.45~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-headers-5.15.0-1045-nvidia-tegra-rt | Advisory build | 5.15.0-1045.45~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-headers-5.15.0-1086-ibm | Advisory build | 5.15.0-1086.89~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-headers-5.15.0-1087-intel-iotg | Advisory build | 5.15.0-1087.93~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-headers-5.15.0-1090-oracle | Advisory build | 5.15.0-1090.96~20.04.1 | USN-7776-1 |
| Ubuntu | focal | linux-headers-5.15.0-1092-aws | Advisory build | 5.15.0-1092.99~20.04.1 | USN-7774-1 |
| Ubuntu | focal | linux-headers-5.15.0-1092-gcp | Advisory build | 5.15.0-1092.101~20.04.1 | USN-7774-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 sbi->total_valid_block_count syzbot reported a f2fs bug as below: ------------[ cut here ]------------ kernel BUG at fs/f2fs/f2fs.h:2521! RIP: 0010:dec_valid_block_count+0x3b2/0x3c0 fs/f2fs/f2fs.h:2521 Call Trace: f2fs_truncate_data_blocks_range+0xc8c/0x11a0 fs/f2fs/file.c:695 truncate_dnode+0x417/0x740 fs/f2fs/node.c:973 truncate_nodes+0x3ec/0xf50 fs/f2fs/node.c:1014 f2fs_truncate_inode_blocks+0x8e3/0x1370 fs/f2fs/node.c:1197 f2fs_do_truncate_blocks+0x840/0x12b0 fs/f2fs/file.c:810 f2fs_truncate_blocks+0x10d/0x300 fs/f2fs/file.c:838 f2fs_truncate+0x417/0x720 fs/f2fs/file.c:888 f2fs_setattr+0xc4f/0x12f0 fs/f2fs/file.c:1112 notify_change+0xbca/0xe90 fs/attr.c:552 do_truncate+0x222/0x310 fs/open.c:65 handle_truncate fs/namei.c:3466 [inline] do_open fs/namei.c:3849 [inline] path_openat+0x2e4f/0x35d0 fs/namei.c:4004 do_filp_open+0x284/0x4e0 fs/namei.c:4031 do_sys_openat2+0x12b/0x1d0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_creat fs/open.c:1522 [inline] __se_sys_creat fs/open.c:1516 [inline] __x64_sys_creat+0x124/0x170 fs/open.c:1516 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 The reason is: in fuzzed image, sbi->total_valid_block_count is inconsistent w/ mapped blocks indexed by inode, so, we should not trigger panic for such case, instead, let's print log and set fsck flag.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 49bc7bf38e42cfa642787e947f5721696ea73ac3 (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < f1b743c1955151bd392539b739a3ad155296be13 (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 6a324d77f7ea1a91d55c4b6ad970e3ac9ab6a20d (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 25f3776b58c1c45ad2e50ab4b263505b4d2378ca (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < a39cc43efc1bca74ed9d6cf9e60b995071f7d178 (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 65b3f76592aed5a43c4d79375ac097acf975972b (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < ccc28c0397f75a3ec9539cceed9db014d7b73869 (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 05872a167c2cab80ef186ef23cc34a6776a1a30c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.8 (affected)0 to < 3.8 (unaffected · semver)5.4.295 through 5.4.* (unaffected · semver)5.10.239 through 5.10.* (unaffected · semver)5.15.186 through 5.15.* (unaffected · semver)6.1.142 through 6.1.* (unaffected · semver)6.6.94 through 6.6.* (unaffected · semver)6.12.34 through 6.12.* (unaffected · semver)6.15.3 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/05872a167c2cab80ef186ef23cc34a6776a1a30c
- https://git.kernel.org/stable/c/25f3776b58c1c45ad2e50ab4b263505b4d2378ca
- https://git.kernel.org/stable/c/49bc7bf38e42cfa642787e947f5721696ea73ac3
- https://git.kernel.org/stable/c/65b3f76592aed5a43c4d79375ac097acf975972b
- https://git.kernel.org/stable/c/6a324d77f7ea1a91d55c4b6ad970e3ac9ab6a20d
- https://git.kernel.org/stable/c/a39cc43efc1bca74ed9d6cf9e60b995071f7d178
- https://git.kernel.org/stable/c/ccc28c0397f75a3ec9539cceed9db014d7b73869
- https://git.kernel.org/stable/c/f1b743c1955151bd392539b739a3ad155296be13
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Provider assertions
2Linux · cna
f2fs: fix to do sanity check on sbi->total_valid_block_count
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a46f3065aedcc6fc04759823e9e5bdc8c9f911e884c29dcbb75d046ee79316fc
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record