Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 0 PID: 3267 Comm: syz-fuzzer Not tainted 5.12.0-rc3-syzkaller #0 Hardware name: ARM-Versatile Express Backtrace: [<81802550>] (dump_backtrace) from [<818027c4>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:252) r7:00000080 r6:60000193 r5:00000000 r4:82b58344 [<818027ac>] (show_stack) from [<81809e98>] (__dump_stack lib/dump_stack.c:79 [inline]) [<818027ac>] (show_stack) from [<81809e98>] (dump_stack+0xb8/0xe8 lib/dump_stack.c:120) [<81809de0>] (dump_stack) from [<81803358>] (panic+0x130/0x378 kernel/panic.c:231) r7:81f4bca4 r6:82a390a4 r5:00000000 r4:82c6b0d0 [<81803228>] (panic) from [<818200c0>] (schedule_debug kernel/sched/core.c:4822 [inline]) [<81803228>] (panic) from [<818200c0>] (__schedule+0xcb8/0xcc8 kernel/sched/core.c:4967) r3:57ac6e9d r2:00000002 r1:81f5a420 r0:81f4bca4 r7:00000001 [<8181f408>] (__schedule) from [<8182077c>] (preempt_schedule_irq+0x54/0x88 kernel/sched/core.c:5530) r10:855a5140 r9:85a72000 r8:80200ad4 r7:85a73304 r6:ffffffff r5:20000013 r4:85a72000 [<81820728>] (preempt_schedule_irq) from [<80200afc>] (svc_preempt+0x8/0x18) Exception stack(0x85a732d0 to 0x85a73318) 32c0: 00000000 5b71e000 828a2680 60000093 32e0: 855a57e8 00000002 82b09c5c 828a2680 00000001 60000013 855a5140 85a7334c 3300: 85a73310 85a73320 8181dacc 8181c9d0 20000013 ffffffff r5:20000013 r4:8181c9d0 [<8181c880>] (lock_is_held_type) from [<802e7d5c>] (lock_is_held include/linux/lockdep.h:278 [inline]) [<8181c880>] (lock_is_held_type) from [<802e7d5c>] (rcu_read_lock_held kernel/rcu/update.c:311 [inline]) [<8181c880>] (lock_is_held_type) from [<802e7d5c>] (rcu_read_lock_held+0x44/0x54 kernel/rcu/update.c:305) r10:81f40284 r9:860c0d78 r8:82bfd8af r7:82bfd8af r6:860c0ef4 r5:8607a002 r4:85a733cc r3:00000000 [<802e7d18>] (rcu_read_lock_held) from [<80886954>] (xa_head include/linux/xarray.h:1164 [inline]) [<802e7d18>] (rcu_read_lock_held) from [<80886954>] (xas_start+0xbc/0x204 lib/xarray.c:188) [<80886898>] (xas_start) from [<80886c58>] (xas_load+0x28/0x108 lib/xarray.c:233) r7:00000000 r6:85a733cc r5:00000402 r4:82bfd8af [<80886c30>] (xas_load) from [<808883d4>] (xa_load+0x98/0x188 lib/xarray.c:1455) r10:00000000 r9:860c0d78 r8:00000000 r7:00000000 r6:00000406 r5:00000402 r4:82bfd8af [<8088833c>] (xa_load) from [<8063ef24>] (readahead_page include/linux/pagemap.h:888 [inline]) [<8088833c>] (xa_load) from [<8063ef24>] (ext4_mpage_readpages+0x144/0xbd8 fs/ext4/readpage.c:255) r6:00000000 r5:df3048a0 r4:df3048a0 [<8063ede0>] (ext4_mpage_readpages) from [<8060ea74>] (ext4_readahead+0x3c/0x40 fs/ext4/inode.c:3262) r10:860c0ef4 r9:860c0ef0 r8:81a203f4 r7:00000000 r6:85a7356c r5:85a73688 r4:8060ea38 [<8060ea38>] (ext4_readahead) from [<8042ec90>] (read_pages+0x8c/0x1f0 mm/readahead.c:130) [<8042ec04>] (read_pages) from [<8042ef48>] (page_cache_ra_unbounded+0x154/0x294 mm/readahead.c:238) r9:860c0ef0 r8:85a7356c r7:00000020 r6:0000005c r5:85a73688 r4:df304930 [<8042edf4>] (page_cache_ra_unbounded) from [<8042f184>] (do_page_cache_ra+0xfc/0x150 mm/readahead.c:267) r10:860c0e1c r9:00000001 r8:00000020 r7:80000013 r6:8042f3e4 r5:85a73688 r4:860c0d78 [<8042f088>] (do_page_cache_ra) from [<8042f3e4>] (ondemand_readahead+0x20c/0x47c mm/readahead.c:549) r10:00000001 r9:0000003c r8:00000020 r7:0000001c r6:85a73688 r5:00000000 r4:856145e0 [<8042f1d8>] (ondemand_readahead) from [<8042f718>] (page_cache_async_ra mm/readahead.c:607 [inline]) [<8042f1d8>] (ondemand_readahead) from [<8042f718>] (page_cache_async_ra+0xc4/0x110 mm/readahead.c:581) r10:85a73818 r9:df303d60 r8:860c0ef0 r7:85a73714 r6:00000000 r5:85a73688 r4:856145e0 [<8042f654>] (page_cache_async_ra) from [<80420adc>] (page_cache_async_readahead include/linux/pagemap.h:863 [inline]) [<8042f654>] (page_cache_async_ra) from [<80420adc>] (filemap_readahead mm/filemap.c:2350 [inline]) [<8042f654>] (page_cache_async_ra) from [<80420adc>] (filemap_get_pages+0x254/0x648 mm/filemap.c:2391) r7:85a73714 r6:0000001b r5:85a73830 r4:0000001c [<80420888>] (filemap_get_pages) from [<80420f98>] (filemap_read+0xc8/0x4e0 mm/filemap.c:2458) r10:85a73818 r9:860c0d78 r8:805ff25c r7:85a73830 r6:00000000 r5:85a73818 r4:85a73830 [<80420ed0>] (filemap_read) from [<80421548>] (generic_file_read_iter+0x198/0x234 mm/filemap.c:2609) r10:00001000 r9:00000000 r8:805ff25c r7:00001000 r6:00000000 r5:85a73818 r4:85a73830 [<804213b0>] (generic_file_read_iter) from [<805ff25c>] (ext4_file_read_iter fs/ext4/file.c:130 [inline]) [<804213b0>] (generic_file_read_iter) from [<805ff25c>] (ext4_file_read_iter+0x54/0x118 fs/ext4/file.c:113) r10:00001000 r9:00000000 r8:00001000 r7:85a73888 r6:860c0d78 r5:85a73830 r4:85a73818 [<805ff208>] (ext4_file_read_iter) from [<804da2bc>] (__kernel_read+0x130/0x314 fs/read_write.c:454) r7:85a73888 r6:00000000 r5:00000000 r4:85614500 [<804da18c>] (__kernel_read) from [<8073759c>] (integrity_kernel_read+0x20/0x28 security/integrity/iint.c:191) r9:00000000 r8:00400000 r7:83592000 r6:00000000 r5:85614500 r4:0001b000 [<8073757c>] (integrity_kernel_read) from [<8073a754>] (ima_calc_file_hash_tfm+0x178/0x228 security/integrity/ima/ima_crypto.c:484) [<8073a5dc>] (ima_calc_file_hash_tfm) from [<8073ac7c>] (ima_calc_file_shash security/integrity/ima/ima_crypto.c:515 [inline]) [<8073a5dc>] (ima_calc_file_hash_tfm) from [<8073ac7c>] (ima_calc_file_hash+0x124/0x8b8 security/integrity/ima/ima_crypto.c:572) r10:860c0e1c r9:00000000 r8:00000001 r7:00000013 r6:832fab90 r5:85717180 r4:85614500 [<8073ab58>] (ima_calc_file_hash) from [<8073bff8>] (ima_collect_measurement+0x224/0x260 security/integrity/ima/ima_api.c:252) r10:86073d04 r9:860c0e34 r8:8584c770 r7:00000003 r6:00000000 r5:8584c770 r4:85614500 [<8073bdd4>] (ima_collect_measurement) from [<807392a8>] (process_measurement+0x46c/0x7b0 security/integrity/ima/ima_main.c:330) r10:00000000 r9:860c0e34 r8:8584c770 r7:00000001 r6:00000001 r5:00000000 r4:85614500 [<80738e3c>] (process_measurement) from [<80739664>] (ima_file_check+0x78/0xa0 security/integrity/ima/ima_main.c:499) r10:00000000 r9:00000000 r8:85614500 r7:00000000 r6:00000000 r5:85a73d48 r4:00000006 [<807395ec>] (ima_file_check) from [<804ec638>] (do_open fs/namei.c:3367 [inline]) [<807395ec>] (ima_file_check) from [<804ec638>] (path_openat+0x20c/0x10f8 fs/namei.c:3498) r7:85a73e58 r6:82a3c39c r5:85a73f20 r4:00020002 [<804ec42c>] (path_openat) from [<804ef4ac>] (do_filp_open+0x7c/0x12c fs/namei.c:3525) r10:00000142 r9:85a72000 r8:80200224 r7:00000001 r6:85a73f20 r5:85a73e58 r4:85a73f58 [<804ef430>] (do_filp_open) from [<804d782c>] (do_sys_openat2+0xa8/0x160 fs/open.c:1187) r7:ffffff9c r6:00000009 r5:85551000 r4:85a73f58 [<804d7784>] (do_sys_openat2) from [<804d7cd0>] (do_sys_open fs/open.c:1203 [inline]) [<804d7784>] (do_sys_openat2) from [<804d7cd0>] (__do_sys_openat fs/open.c:1219 [inline]) [<804d7784>] (do_sys_openat2) from [<804d7cd0>] (sys_openat+0xa4/0xcc fs/open.c:1214) r7:00000142 r6:00000000 r5:08d60300 r4:ffffff9c [<804d7c2c>] (sys_openat) from [<80200060>] (ret_fast_syscall+0x0/0x2c arch/arm/mm/proc-v7.S:64) Exception stack(0x85a73fa8 to 0x85a73ff0) 3fa0: 00000000 00000000 ffffff9c 08d60300 000a0002 000001a4 3fc0: 00000000 00000000 00000000 00000142 00000005 2fdcbad6 024000e0 00a25d58 3fe0: 08d60303 024feb6c 00012368 000b7738 r5:00000000 r4:00000000 Rebooting in 86400 seconds..