CVE-2025-38577
published 2025-08-19CVE-2025-38577: In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid panic in f2fs_evict_inode As syzbot [1] reported as below: R10…
medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix to avoid panic in f2fs_evict_inode
As syzbot [1] reported as below:
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe17473450
R13: 00007f28b1c10854 R14: 000000000000dae5 R15: 00007ffe17474520
---[ end trace 0000000000000000 ]---
BUG: KASAN: use-after-free in __list_del_entry_valid+0xa6/0x130 lib/list_debug.c:62
Read of size 8 at addr ffff88812d962278 by task syz-executor/564
CPU: 1 PID: 564 Comm: syz-executor Tainted: G W 6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0xee/0x158 lib/dump_stack.c:106
print_address_description+0x71/0x210 mm/kasan/report.c:316
print_report+0x4a/0x60 mm/kasan/report.c:427
kasan_report+0x122/0x150 mm/kasan/report.c:531
__asan_report_load8_noabort+0x14/0x20 mm/kasan/report_generic.c:351
__list_del_entry_valid+0xa6/0x130 lib/list_debug.c:62
__list_del_entry include/linux/list.h:134 [inline]
list_del_init include/linux/list.h:206 [inline]
f2fs_inode_synced+0xf7/0x2e0 fs/f2fs/super.c:1531
f2fs_update_inode+0x74/0x1c40 fs/f2fs/inode.c:585
f2fs_update_inode_page+0x137/0x170 fs/f2fs/inode.c:703
f2fs_write_inode+0x4ec/0x770 fs/f2fs/inode.c:731
write_inode fs/fs-writeback.c:1460 [inline]
__writeback_single_inode+0x4a0/0xab0 fs/fs-writeback.c:1677
writeback_single_inode+0x221/0x8b0 fs/fs-writeback.c:1733
sync_inode_metadata+0xb6/0x110 fs/fs-writeback.c:2789
f2fs_sync_inode_meta+0x16d/0x2a0 fs/f2fs/checkpoint.c:1159
block_operations fs/f2fs/checkpoint.c:1269 [inline]
f2fs_write_checkpoint+0xca3/0x2100 fs/f2fs/checkpoint.c:1658
kill_f2fs_super+0x231/0x390 fs/f2fs/super.c:4668
deactivate_locked_super+0x98/0x100 fs/super.c:332
deactivate_super+0xaf/0xe0 fs/super.c:363
cleanup_mnt+0x45f/0x4e0 fs/namespace.c:1186
__cleanup_mnt+0x19/0x20 fs/namespace.c:1193
task_work_run+0x1c6/0x230 kernel/task_work.c:203
exit_task_work include/linu
Affected
47 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | linux | < linux 6.1.148-1 (bookworm) | linux 6.1.148-1 (bookworm) |
| debian | linux-6.1 | < linux 6.1.148-1 (bookworm) | linux 6.1.148-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 0f18b462b2e5aff64b8638e8a47284b907351ef3 < 15df59809c54fbd687cdf27efbd2103a937459be | 15df59809c54fbd687cdf27efbd2103a937459be |
| linux | linux | >= 0f18b462b2e5aff64b8638e8a47284b907351ef3 < 9535e440fe5bc6c5ac7cfb407e53bf788b8bf8d4 | 9535e440fe5bc6c5ac7cfb407e53bf788b8bf8d4 |
| linux | linux | >= 0f18b462b2e5aff64b8638e8a47284b907351ef3 < 5cd99d5aa3d39086bdb53eb5c52df16e98b101a0 | 5cd99d5aa3d39086bdb53eb5c52df16e98b101a0 |
| linux | linux | >= 0f18b462b2e5aff64b8638e8a47284b907351ef3 < 4732ca17c17f5062426cfa982f43593e6b81963b | 4732ca17c17f5062426cfa982f43593e6b81963b |
| linux | linux | >= 0f18b462b2e5aff64b8638e8a47284b907351ef3 < 880ef748e78a1eb7df2d8e11a9ef21e98bcaabe5 | 880ef748e78a1eb7df2d8e11a9ef21e98bcaabe5 |
| linux | linux | >= 0f18b462b2e5aff64b8638e8a47284b907351ef3 < 97df495d754116c8c28ac6a4112f831727bde887 | 97df495d754116c8c28ac6a4112f831727bde887 |
| linux | linux | >= 0f18b462b2e5aff64b8638e8a47284b907351ef3 < 9bbfe83924946552c4c513099c0e8c83af76311a | 9bbfe83924946552c4c513099c0e8c83af76311a |
| linux | linux | >= 0f18b462b2e5aff64b8638e8a47284b907351ef3 < 42f9ea16aea8b49febaa87950a006a1792209f38 | 42f9ea16aea8b49febaa87950a006a1792209f38 |
| linux | linux | >= 0f18b462b2e5aff64b8638e8a47284b907351ef3 < a509a55f8eecc8970b3980c6f06886bbff0e2f68 | a509a55f8eecc8970b3980c6f06886bbff0e2f68 |
| linux | linux_kernel | >= 0 < 5.10.244-1 | 5.10.244-1 |
| linux | linux_kernel | >= 0 < 6.1.148-1 | 6.1.148-1 |
| linux | linux_kernel | >= 0 < 6.12.43-1 | 6.12.43-1 |
| linux | linux_kernel | >= 0 < 6.16.3-1 | 6.16.3-1 |
| linux | linux_kernel | >= 0 < 5.15.0-163.173 | 5.15.0-163.173 |
| linux | linux_kernel | >= 0 < 6.8.0-100.100 | 6.8.0-100.100 |
| linux | linux_kernel | >= 4.8 < 5.4.297 | 5.4.297 |
| linux | linux_kernel | >= 5.11 < 5.15.190 | 5.15.190 |
| linux | linux_kernel | >= 5.16 < 6.1.148 | 6.1.148 |
| linux | linux_kernel | >= 5.5 < 5.10.241 | 5.10.241 |
| linux | linux_kernel | >= 6.13 < 6.15.10 | 6.15.10 |
| linux | linux_kernel | >= 6.16 < 6.16.1 | 6.16.1 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM