syzbot


KASAN: use-after-free Read in search_by_entry_key (2)

Status: auto-obsoleted due to no activity on 2024/04/08 07:18
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+ffe24b1afbc4cb5ae8fb@syzkaller.appspotmail.com
First crash: 847d, last: 254d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: KASAN: use-after-free Read in search_by_entry_key (log)
Repro: C syz .config
  
Fix bisection the fix commit could be any of (bisect log):
  1c27f1fc1549 iov_iter: fix build issue due to possible type mis-match
  3cc40a443a04 Merge tag 'nios2_fixes_v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux
  
Discussions (4)
Title Replies (including bot) Last reply
KASAN: use-after-free in search_by_entry_key in kernel v6.9 1 (1) 2024/05/14 04:41
[PATCH v2] reiserfs: add check in bin_search_in_dir_item() 1 (1) 2022/08/17 16:10
[PATCH] reiserfs: add check in search_by_entry_key() 1 (1) 2022/08/17 08:55
[syzbot] KASAN: use-after-free Read in search_by_entry_key (2) 0 (1) 2022/06/12 10:38
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 KASAN: use-after-free Read in search_by_entry_key (2) reiserfs C error 6 650d 1269d 0/1 upstream: reported C repro on 2021/04/16 06:17
linux-4.14 KASAN: use-after-free Read in search_by_entry_key C done 3 1369d 1476d 1/1 fixed on 2021/02/21 17:18
linux-4.19 KASAN: use-after-free Read in search_by_entry_key (3) reiserfs C error 8 649d 843d 0/1 upstream: reported C repro on 2022/06/17 02:59
linux-4.19 KASAN: use-after-free Read in search_by_entry_key C done 1 1371d 1461d 1/1 fixed on 2021/02/20 09:47
linux-5.15 KASAN: use-after-free Read in search_by_entry_key origin:upstream C error 23 1d03h 547d 0/3 upstream: reported C repro on 2023/04/08 09:36
linux-6.1 KASAN: use-after-free Read in search_by_entry_key origin:upstream C 13 21d 532d 0/3 upstream: reported C repro on 2023/04/23 10:15
upstream KASAN: use-after-free Read in search_by_entry_key reiserfs C done 3 1455d 1459d 19/28 fixed on 2021/03/10 01:49
linux-4.19 KASAN: use-after-free Read in search_by_entry_key (2) C done 2 1152d 1302d 1/1 fixed on 2021/09/10 21:17
Last patch testing requests (11)
Created Duration User Patch Repo Result
2024/04/08 06:07 22m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/04/08 06:07 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/04/08 06:07 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/11 06:15 20m retest repro linux-next OK log
2024/02/11 06:15 23m retest repro linux-next OK log
2024/02/10 12:35 20m retest repro upstream OK log
2024/02/10 12:35 23m retest repro upstream OK log
2024/02/10 12:35 23m retest repro upstream OK log
2024/02/10 07:29 27m retest repro upstream OK log
2024/02/10 07:29 57m retest repro upstream OK log
2022/08/17 07:37 15m yin31149@gmail.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1c27f1fc1549f0e470429f5497a76ad28a37f21a report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2022/08/17 06:23 35m bisect fix upstream OK (2) job log
2022/07/12 20:59 27m bisect fix upstream OK (0) job log log

Sample crash report:
REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop0): checking transaction log (loop0)
REISERFS (device loop0): Using tea hash to sort names
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077960fc4 by task syz-executor175/5069

CPU: 1 PID: 5069 Comm: syz-executor175 Not tainted 6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5800 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77960
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de5848 ffffea0001de57c8 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563871928, free_ts 54780879905
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077960e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077960f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077960f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff888077961000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077961080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077962fc4 by task syz-executor175/5069

CPU: 1 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5880 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77962
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de58c8 ffffea0001de5848 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563916098, free_ts 54780853914
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077962e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077962f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077962f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff888077963000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077963080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077963fc4 by task syz-executor175/5069

CPU: 1 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de58c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77963
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de5908 ffffea0001de5888 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563930338, free_ts 54780841234
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077963e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077963f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077963f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff888077964000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff8880779647c4 by task syz-executor175/5069

CPU: 0 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5900 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77964
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de5948 ffffea0001de58c8 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563944748, free_ts 54780829164
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077964680: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964700: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077964780: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff888077964800: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077964bc4 by task syz-executor175/5069

CPU: 0 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5900 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77964
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de5948 ffffea0001de58c8 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563944748, free_ts 54780829164
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077964a80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964b00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077964b80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff888077964c00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964c80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077964dc4 by task syz-executor175/5069

CPU: 1 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5900 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77964
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de5948 ffffea0001de58c8 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563944748, free_ts 54780829164
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077964c80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964d00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077964d80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff888077964e00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077964ec4 by task syz-executor175/5069

CPU: 1 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5900 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77964
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de5948 ffffea0001de58c8 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563944748, free_ts 54780829164
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077964d80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964e00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077964e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff888077964f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077964f44 by task syz-executor175/5069

CPU: 1 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5900 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77964
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de5948 ffffea0001de58c8 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563944748, free_ts 54780829164
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077964e00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077964f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff888077964f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077965000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077964f84 by task syz-executor175/5069

CPU: 0 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5900 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77964
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de5948 ffffea0001de58c8 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563944748, free_ts 54780829164
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077964e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077964f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                   ^
 ffff888077965000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077965080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: use-after-free in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077964fa4 by task syz-executor175/5069

CPU: 1 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5900 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x77964
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0001de5948 ffffea0001de58c8 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 5067, tgid 5067 (syz-executor175), ts 54563944748, free_ts 54780829164
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 shmem_alloc_folio+0x10d/0x140 mm/shmem.c:1630
 shmem_alloc_and_add_folio+0x147/0x7b0 mm/shmem.c:1670
 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054
 shmem_get_folio mm/shmem.c:2136 [inline]
 shmem_write_begin+0x15a/0x360 mm/shmem.c:2719
 generic_perform_write+0x278/0x600 mm/filemap.c:3927
 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2895
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x64f/0xdf0 fs/read_write.c:584
 ksys_write+0x12f/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077964e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077964f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888077964f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                               ^
 ffff888077965000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888077965080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: out-of-bounds in bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
BUG: KASAN: out-of-bounds in search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
Read of size 4 at addr ffff888077964fb4 by task syz-executor175/5069

CPU: 0 PID: 5069 Comm: syz-executor175 Tainted: G    B              6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 bin_search_in_dir_item fs/reiserfs/namei.c:40 [inline]
 search_by_entry_key+0x80b/0x940 fs/reiserfs/namei.c:165
 reiserfs_find_entry+0x1dc/0xe70 fs/reiserfs/namei.c:322
 reiserfs_lookup+0x1f5/0x690 fs/reiserfs/namei.c:368
 __lookup_slow+0x24d/0x450 fs/namei.c:1694
 lookup_one_len+0x17d/0x1b0 fs/namei.c:2746
 reiserfs_lookup_privroot+0x94/0x200 fs/reiserfs/xattr.c:977
 reiserfs_fill_super+0x20f9/0x3160 fs/reiserfs/super.c:2174
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7cc312746a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff028d6cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7cc312746a
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007fff028d6d40
RBP: 0000000000000004 R08: 00007fff028d6d80 R09: 0000000000001127
R10: 000000000001801c R11: 0000000000000286 R12: 00007fff028d6d40
R13: 00007fff028d6d80 R14: 0000000000400000 R15: 0000000000000003
 </TASK>

The buggy address belongs to the physical page:
page:ffffea0001de5900 refcount:3 mapcount:0 mapping:ffff88801b540878 index:0x20066 pfn:0x77964
memcg:ffff88814124a000
aops:def_blk_aops ino:800001
flags: 0xfff00000008204(referenced|workingset|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000008204 0000000000000000 dead000000000122 ffff88801b540878
raw: 0000000000020066 ffff888077cf0ae0 00000003ffffffff ffff88814124a000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Movable, gfp_mask 0x148c48(GFP_NOFS|__GFP_NOFAIL|__GFP_COMP|__GFP_HARDWALL|__GFP_MOVABLE), pid 4484, tgid 4484 (jbd2/sda1-8), ts 61215862402, free_ts 54780829164
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2d0/0x350 mm/page_alloc.c:1537
 prep_new_page mm/page_alloc.c:1544 [inline]
 get_page_from_freelist+0xa25/0x36d0 mm/page_alloc.c:3312
 __alloc_pages+0x22e/0x2420 mm/page_alloc.c:4568
 alloc_pages_mpol+0x258/0x5f0 mm/mempolicy.c:2133
 folio_alloc+0x1e/0xe0 mm/mempolicy.c:2211
 filemap_alloc_folio+0x3bb/0x490 mm/filemap.c:974
 __filemap_get_folio+0x54c/0xaa0 mm/filemap.c:1918
 grow_dev_page fs/buffer.c:1041 [inline]
 grow_buffers fs/buffer.c:1106 [inline]
 __getblk_slow+0x1b8/0x720 fs/buffer.c:1133
 bdev_getblk+0xad/0xc0 fs/buffer.c:1429
 __getblk include/linux/buffer_head.h:358 [inline]
 jbd2_journal_get_descriptor_buffer+0x199/0x500 fs/jbd2/journal.c:1010
 jbd2_journal_commit_transaction+0x1a19/0x63b0 fs/jbd2/commit.c:611
 kjournald2+0x1fb/0x900 fs/jbd2/journal.c:201
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347
 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2533
 release_pages+0x32a/0x14f0 mm/swap.c:1042
 __folio_batch_release+0x77/0xe0 mm/swap.c:1062
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x57a/0x1140 mm/shmem.c:1004
 shmem_truncate_range mm/shmem.c:1113 [inline]
 shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241
 evict+0x2ed/0x6b0 fs/inode.c:666
 iput_final fs/inode.c:1777 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1803
 iput+0x5c/0x80 fs/inode.c:1793
 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
 __dentry_kill+0x3b8/0x640 fs/dcache.c:607
 dentry_kill fs/dcache.c:733 [inline]
 dput+0x7eb/0xd90 fs/dcache.c:913
 __fput+0x3b9/0xb70 fs/file_table.c:402
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 ptrace_notify+0x10d/0x130 kernel/signal.c:2399
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x126/0x230 kernel/entry/common.c:278

Memory state around the buggy address:
 ffff888077964e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888077964f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888077964f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                        ^
 ffff888077965000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888077965080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
REISERFS warning (device loop0): jdm-13090 reiserfs_new_inode: ACLs aren't enabled in the fs, but vfs thinks they are!
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.

Crashes (139):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/05 06:30 upstream 5eff55d725a4 28c42cff .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root KASAN: use-after-free Read in search_by_entry_key
2023/12/27 17:31 upstream fbafc3e621c3 fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/10/08 13:55 upstream b9ddbb0cde2a 5e837c76 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/09/28 04:00 upstream 633b47cb009d 2895a507 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root KASAN: use-after-free Read in search_by_entry_key
2023/07/26 21:32 upstream 18b44bc5a672 41fe1bae .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root KASAN: use-after-free Read in search_by_entry_key
2023/06/20 12:55 upstream 692b7dc87ca6 09ffe269 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/06/05 12:25 upstream 9561de3a55be a4ae4f42 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root KASAN: use-after-free Read in search_by_entry_key
2023/05/08 20:41 upstream ac9a78681b92 90c93c40 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/01/24 17:33 upstream 7bf70dbb1882 9dfcf09c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2022/11/07 05:30 upstream 089d1c31224e 6d752409 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2022/10/25 19:58 upstream a970174d7a10 45645420 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2022/10/15 06:57 upstream 493ffd6605b2 67cb024c .config console log report syz C [mounted in repro] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2022/09/21 02:45 upstream 60891ec99e14 c4b8ccfd .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root KASAN: use-after-free Read in search_by_entry_key
2022/06/12 07:40 upstream 1c27f1fc1549 0d5abf15 .config console log report syz C ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/07/28 19:54 linux-next d7b3af5a77e8 92476829 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2022/09/04 18:35 linux-next e47eb90a0a9a 28811d0a .config strace log report syz C ci-upstream-linux-next-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/10/31 17:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 58499c95 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2023/10/29 16:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 3c418d72 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2023/05/08 21:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2024/01/07 18:04 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2024/01/07 14:14 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root KASAN: use-after-free Read in search_by_entry_key
2024/01/01 20:57 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/12/30 19:05 upstream f016f7547aee fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/12/30 09:44 upstream f016f7547aee fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/29 06:05 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/12/24 22:42 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/24 14:52 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/24 00:15 upstream 3f82f1c3a036 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/22 21:22 upstream 24e0d2e527a3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/16 21:03 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/16 05:22 upstream 3bd7d7488169 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/15 22:46 upstream 3f7168591ebf 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/13 03:23 upstream eaadbbaaff74 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/10 19:37 upstream c527f5606aa5 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root KASAN: use-after-free Read in search_by_entry_key
2023/12/04 14:44 upstream 33cc938e65a9 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/02 19:19 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/01 07:50 upstream e8f60209d6cf f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root KASAN: use-after-free Read in search_by_entry_key
2023/11/27 21:56 upstream 2cc14f52aeb7 7ec6c044 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/11/26 02:17 upstream b46ae77f6787 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/11/24 11:29 upstream d3fa86b1a7b4 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/11/19 06:09 upstream 23dfa043f6d5 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/11/17 11:32 upstream 7475e51b8796 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/11/16 18:25 upstream 7475e51b8796 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/11/08 05:15 upstream 13d88ac54ddd 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/11/06 17:48 upstream d2f51b3516da 78fae24e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/10/31 20:31 upstream 5a6a09e97199 58499c95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/10/19 01:28 upstream dd72f9c7e512 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/10/11 14:53 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/10/10 12:54 upstream 94f6f0550c62 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root KASAN: use-after-free Read in search_by_entry_key
2023/10/07 23:57 upstream b9ddbb0cde2a 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/10/07 20:07 upstream 82714078aee4 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root KASAN: use-after-free Read in search_by_entry_key
2023/10/07 11:42 upstream 82714078aee4 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2023/10/05 09:13 upstream ba7d997a2a29 b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/09/04 20:15 upstream 708283abf896 db3306a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/09/02 18:43 upstream 0468be89b3fa 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/08/31 02:48 upstream ef2a0b7cdbc5 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/12/16 18:50 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: use-after-free Read in search_by_entry_key
2023/12/02 22:16 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: use-after-free Read in search_by_entry_key
2023/11/07 05:54 upstream be3ca57cfb77 83211397 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: use-after-free Read in search_by_entry_key
2023/10/21 21:29 upstream 4d7b04c0cda3 361b23dc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: use-after-free Read in search_by_entry_key
2023/10/19 05:14 upstream dd72f9c7e512 342b9c55 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream KASAN: use-after-free Read in search_by_entry_key
2023/12/08 13:41 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 KASAN: use-after-free Read in search_by_entry_key
2023/08/29 12:44 upstream 1c59d383390f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/08/17 22:25 upstream 16931859a650 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs KASAN: use-after-free Read in search_by_entry_key
2023/06/21 16:24 upstream e660abd551f1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root KASAN: use-after-free Read in search_by_entry_key
2022/06/12 07:02 upstream 1c27f1fc1549 0d5abf15 .config console log report info ci-upstream-kasan-gce-root KASAN: use-after-free Read in search_by_entry_key
2024/01/11 11:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2024/01/07 01:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2023/11/26 08:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2023/11/21 21:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2023/11/13 06:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2023/10/20 19:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 78124b0c1d10 a42250d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2023/10/07 16:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
2023/09/07 03:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 KASAN: use-after-free Read in search_by_entry_key
* Struck through repros no longer work on HEAD.