ubi0: attaching mtd0 ubi0: scanning is finished ------------[ cut here ]------------ notifier callback ubi_wl_reboot_notifier already registered WARNING: CPU: 0 PID: 8845 at kernel/notifier.c:24 notifier_chain_register+0x274/0x4e0 Modules linked in: CPU: 0 UID: 0 PID: 8845 Comm: syz.4.559 Not tainted 6.13.0-rc2-syzkaller-g2e7aff49b5da #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : notifier_chain_register+0x274/0x4e0 lr : notifier_chain_register+0x270/0x4e0 kernel/notifier.c:23 sp : ffff8000a0b376c0 x29: ffff8000a0b376c0 x28: ffff0000c94b8000 x27: 1fffe0001929731d x26: ffff0000c94b98d8 x25: dfff800000000000 x24: 000000007fffffff x23: 0000000000000001 x22: ffff0000c94b98e8 x21: 0000000000000000 x20: ffff800091f57c28 x19: ffff0000c94b98d8 x18: 1fffe000366c167e x17: ffff80008f97d000 x16: ffff800080460e20 x15: 0000000000000001 x14: 1fffe0001ae1e318 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001ae1e319 x10: 1fffe0001ae1e318 x9 : 4db01823c2e69500 x8 : 4db01823c2e69500 x7 : ffff8000803ce76c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff8000803c1268 x2 : 0000000000000001 x1 : 0000000000000004 x0 : 00000000ffffffef Call trace: notifier_chain_register+0x274/0x4e0 (P) notifier_chain_register+0x270/0x4e0 kernel/notifier.c:23 (L) __blocking_notifier_chain_register kernel/notifier.c:264 [inline] blocking_notifier_chain_register+0x88/0xd8 kernel/notifier.c:282 register_reboot_notifier+0x28/0x38 kernel/reboot.c:118 ubi_wl_init+0x2914/0x2c08 drivers/mtd/ubi/wl.c:1960 ubi_attach+0x2f44/0x47d0 drivers/mtd/ubi/attach.c:1605 ubi_attach_mtd_dev+0x124c/0x2864 drivers/mtd/ubi/build.c:1004 ctrl_cdev_ioctl+0x43c/0x714 drivers/mtd/ubi/cdev.c:1043 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __arm64_sys_ioctl+0x14c/0x1cc fs/ioctl.c:892 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 410 hardirqs last enabled at (409): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1526 [inline] hardirqs last enabled at (409): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5123 hardirqs last disabled at (410): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (396): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (396): [] handle_softirqs+0xb44/0xd34 kernel/softirq.c:582 softirqs last disabled at (373): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ubi0: attached mtd0 (name "mtdram test device", size 0 MiB) ubi0: PEB size: 4096 bytes (4 KiB), LEB size: 3968 bytes ubi0: min./max. I/O unit sizes: 1/64, sub-page size 1 ubi0: VID header offset: 64 (aligned 64), data offset: 128 ubi0: good PEBs: 32, bad PEBs: 0, corrupted PEBs: 0 ubi0: user volume: 0, internal volumes: 1, max. volumes count: 23 ubi0: max/mean erase counter: 1/1, WL threshold: 4096, image sequence number: 4209909124 ubi0: available PEBs: 28, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0