ci2 starts bisection 2023-03-03 10:30:40.21311125 +0000 UTC m=+138055.151800587 bisecting fixing commit since faf68e3523c21d07c5f7fdabd0daf6301ff8db3f building syzkaller on f4470a7b5efeb021c66c8fb38656bcb2b1597974 ensuring issue is reproducible on original commit faf68e3523c21d07c5f7fdabd0daf6301ff8db3f testing commit faf68e3523c21d07c5f7fdabd0daf6301ff8db3f gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b478bcb48f9923b31c648b9af3fb51e83265f4fe9df0850e31e8714a3764bd87 all runs: crashed: KASAN: slab-out-of-bounds Read in hfsplus_bnode_read testing current HEAD 2eb29d59ddf02e39774abfb60b2030b0b7e27c1f testing commit 2eb29d59ddf02e39774abfb60b2030b0b7e27c1f gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a8e524fe3f82f6945a5691cb6551bbe3b68f8a705b8bd6c40377d2bfa1c42f72 all runs: crashed: KASAN: slab-out-of-bounds Read in hfsplus_bnode_read revisions tested: 2, total time: 37m31.091845449s (build: 28m13.152997404s, test: 6m58.327219546s) the crash still happens on HEAD commit msg: Merge tag 'drm-next-2023-03-03-1' of git://anongit.freedesktop.org/drm/drm crash: KASAN: slab-out-of-bounds Read in hfsplus_bnode_read loop0: detected capacity change from 0 to 1024 hfsplus: request for non-existent node 393216 in B*Tree hfsplus: request for non-existent node 393216 in B*Tree ================================================================== BUG: KASAN: slab-out-of-bounds in hfsplus_bnode_read+0xa4/0x190 Read of size 8 at addr ffff888015fbb8c0 by task syz-executor.0/5559 CPU: 1 PID: 5559 Comm: syz-executor.0 Not tainted 6.2.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: dump_stack_lvl+0x12e/0x1d0 print_report+0x163/0x510 kasan_report+0xce/0x100 hfsplus_bnode_read+0xa4/0x190 hfsplus_bnode_dump+0x2d8/0x4a0 hfsplus_brec_remove+0x3c2/0x470 __hfsplus_delete_attr+0x216/0x3d0 hfsplus_delete_all_attrs+0x22a/0x350 hfsplus_delete_cat+0xa80/0xfd0 hfsplus_unlink+0x2dc/0x660 vfs_unlink+0x2b4/0x4c0 do_unlinkat+0x3fe/0x7f0 __x64_sys_unlink+0x44/0x50 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe53548c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fe53615e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007fe5355abf80 RCX: 00007fe53548c0d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007fe5354e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd155168cf R14: 00007fe53615e300 R15: 0000000000022000 Allocated by task 5559: kasan_set_track+0x40/0x60 __kasan_kmalloc+0x98/0xb0 __kmalloc+0xb3/0x1a0 __hfs_bnode_create+0xe1/0x7a0 hfsplus_bnode_find+0x2a8/0xc00 hfsplus_brec_find+0x130/0x490 hfsplus_delete_all_attrs+0x211/0x350 hfsplus_delete_cat+0xa80/0xfd0 hfsplus_unlink+0x2dc/0x660 vfs_unlink+0x2b4/0x4c0 do_unlinkat+0x3fe/0x7f0 __x64_sys_unlink+0x44/0x50 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd The buggy address belongs to the object at ffff888015fbb800 which belongs to the cache kmalloc-192 of size 192 The buggy address is located 40 bytes to the right of allocated 152-byte region [ffff888015fbb800, ffff888015fbb898) The buggy address belongs to the physical page: page:ffffea000057eec0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x15fbb flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 ffff888011041a00 ffffea000057f300 dead000000000002 raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 3449120208, free_ts 0 get_page_from_freelist+0x3792/0x3910 __alloc_pages+0x291/0x7f0 alloc_page_interleave+0xf/0x140 alloc_slab_page+0x6a/0x160 new_slab+0x84/0x2f0 ___slab_alloc+0xa07/0x1000 __kmem_cache_alloc_node+0x1b8/0x2a0 kmalloc_trace+0x2a/0x60 call_usermodehelper_setup+0x77/0x220 kobject_uevent_env+0x5e1/0x6e0 device_add+0x6f4/0xd90 add_memory_block+0x28b/0x480 memory_dev_init+0xd1/0x150 driver_init+0x42/0x50 do_basic_setup+0x11/0x70 kernel_init_freeable+0x37f/0x500 page_owner free stack trace missing Memory state around the buggy address: ffff888015fbb780: 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888015fbb800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888015fbb880: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888015fbb900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888015fbb980: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ==================================================================