Warning: Permanently added '10.128.0.8' (ED25519) to the list of known hosts. executing program [ 42.014358][ T6235] loop0: detected capacity change from 0 to 32768 [ 42.024251][ T6235] ================================================================== [ 42.026405][ T6235] BUG: KASAN: slab-out-of-bounds in bch2_sb_downgrade_to_text+0xe58/0x1354 [ 42.028579][ T6235] Read of size 2 at addr ffff0000d7f76000 by task syz-executor613/6235 [ 42.030668][ T6235] [ 42.031244][ T6235] CPU: 0 PID: 6235 Comm: syz-executor613 Not tainted 6.9.0-rc6-syzkaller-g78186bd77b47 #0 [ 42.033815][ T6235] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 42.036471][ T6235] Call trace: [ 42.037310][ T6235] dump_backtrace+0x1b8/0x1e4 [ 42.038622][ T6235] show_stack+0x2c/0x3c [ 42.039760][ T6235] dump_stack_lvl+0xe4/0x150 [ 42.041001][ T6235] print_report+0x198/0x538 [ 42.042187][ T6235] kasan_report+0xd8/0x138 [ 42.043354][ T6235] __asan_report_load2_noabort+0x20/0x2c [ 42.044912][ T6235] bch2_sb_downgrade_to_text+0xe58/0x1354 [ 42.046443][ T6235] bch2_sb_field_to_text+0x1a4/0x234 [ 42.047897][ T6235] bch2_sb_field_validate+0x1cc/0x298 [ 42.049313][ T6235] bch2_sb_validate+0x918/0xbf8 [ 42.050695][ T6235] __bch2_read_super+0xa4c/0x10a8 [ 42.052072][ T6235] bch2_read_super+0x38/0x4c [ 42.053298][ T6235] bch2_fs_open+0x1e0/0xb64 [ 42.054513][ T6235] bch2_mount+0x558/0xe10 [ 42.055620][ T6235] legacy_get_tree+0xd4/0x16c [ 42.056861][ T6235] vfs_get_tree+0x90/0x288 [ 42.057975][ T6235] do_new_mount+0x278/0x900 [ 42.059213][ T6235] path_mount+0x590/0xe04 [ 42.060335][ T6235] __arm64_sys_mount+0x45c/0x594 [ 42.061647][ T6235] invoke_syscall+0x98/0x2b8 [ 42.062856][ T6235] el0_svc_common+0x130/0x23c [ 42.064112][ T6235] do_el0_svc+0x48/0x58 [ 42.065218][ T6235] el0_svc+0x54/0x168 [ 42.066273][ T6235] el0t_64_sync_handler+0x84/0xfc [ 42.067585][ T6235] el0t_64_sync+0x190/0x194 [ 42.068755][ T6235] [ 42.069402][ T6235] Allocated by task 6235: [ 42.070606][ T6235] kasan_save_track+0x40/0x78 [ 42.071871][ T6235] kasan_save_alloc_info+0x40/0x50 [ 42.073214][ T6235] __kasan_kmalloc+0xac/0xc4 [ 42.074406][ T6235] __kmalloc_node_track_caller+0x2e4/0x544 [ 42.075952][ T6235] krealloc+0x94/0x148 [ 42.076995][ T6235] bch2_sb_realloc+0x284/0x564 [ 42.078273][ T6235] read_one_super+0x6c8/0x2614 [ 42.079583][ T6235] __bch2_read_super+0x714/0x10a8 [ 42.080874][ T6235] bch2_read_super+0x38/0x4c [ 42.082078][ T6235] bch2_fs_open+0x1e0/0xb64 [ 42.083295][ T6235] bch2_mount+0x558/0xe10 [ 42.084456][ T6235] legacy_get_tree+0xd4/0x16c [ 42.085675][ T6235] vfs_get_tree+0x90/0x288 [ 42.086840][ T6235] do_new_mount+0x278/0x900 [ 42.088033][ T6235] path_mount+0x590/0xe04 [ 42.089135][ T6235] __arm64_sys_mount+0x45c/0x594 [ 42.090420][ T6235] invoke_syscall+0x98/0x2b8 [ 42.091713][ T6235] el0_svc_common+0x130/0x23c [ 42.092947][ T6235] do_el0_svc+0x48/0x58 [ 42.094036][ T6235] el0_svc+0x54/0x168 [ 42.095097][ T6235] el0t_64_sync_handler+0x84/0xfc [ 42.096468][ T6235] el0t_64_sync+0x190/0x194 [ 42.097656][ T6235] [ 42.098271][ T6235] The buggy address belongs to the object at ffff0000d7f74000 [ 42.098271][ T6235] which belongs to the cache kmalloc-8k of size 8192 [ 42.101986][ T6235] The buggy address is located 0 bytes to the right of [ 42.101986][ T6235] allocated 8192-byte region [ffff0000d7f74000, ffff0000d7f76000) [ 42.105828][ T6235] [ 42.106468][ T6235] The buggy address belongs to the physical page: [ 42.108200][ T6235] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x117f70 [ 42.110534][ T6235] head: order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 42.112484][ T6235] flags: 0x5ffe00000000840(slab|head|node=0|zone=2|lastcpupid=0xfff) [ 42.114589][ T6235] page_type: 0xffffffff() [ 42.115725][ T6235] raw: 05ffe00000000840 ffff0000c0002280 dead000000000122 0000000000000000 [ 42.118029][ T6235] raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000 [ 42.120329][ T6235] head: 05ffe00000000840 ffff0000c0002280 dead000000000122 0000000000000000 [ 42.122604][ T6235] head: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000 [ 42.124929][ T6235] head: 05ffe00000000003 fffffdffc35fdc01 fffffdffc35fdc48 00000000ffffffff [ 42.127267][ T6235] head: 0000000800000000 0000000000000000 00000000ffffffff 0000000000000000 [ 42.129586][ T6235] page dumped because: kasan: bad access detected [ 42.131226][ T6235] [ 42.131850][ T6235] Memory state around the buggy address: [ 42.133325][ T6235] ffff0000d7f75f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.135414][ T6235] ffff0000d7f75f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.137508][ T6235] >ffff0000d7f76000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.139621][ T6235] ^ [ 42.140670][ T6235] ffff0000d7f76080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.142795][ T6235] ffff0000d7f76100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.144966][ T6235] ================================================================== [ 42.147367][ T6235] Disabling lock debugging due to kernel taint