ubi0: attaching mtd0 ubi0: scanning is finished ubi0: empty MTD device detected ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6169 at mm/vmalloc.c:3247 __vmalloc_node_range+0xd40/0xec0 Modules linked in: CPU: 1 PID: 6169 Comm: syz-executor394 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __vmalloc_node_range+0xd40/0xec0 lr : __vmalloc_node_range+0xd38/0xec0 mm/vmalloc.c:3247 sp : ffff8000978775c0 x29: ffff800097877700 x28: 1ffff00012f0eed4 x27: 00000000ffffffff x26: dfff800000000000 x25: 1fffe00019758755 x24: 0000800000000000 x23: 0000000000000001 x22: ffff800080000000 x21: fffffdffbf800000 x20: 0000000000000dc0 x19: 0000000000000000 x18: dfff800000000000 x17: ffff8000850ce548 x16: ffff80008032116c x15: 0000000000000001 x14: 1ffff00011ea7bfa x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000000 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d68a1e00 x7 : 00000000ffffffff x6 : 0000000000000000 x5 : 0068000000000703 x4 : 0000000000000dc0 x3 : fffffdffbf800000 x2 : ffff800080000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __vmalloc_node_range+0xd40/0xec0 __vmalloc_node mm/vmalloc.c:3385 [inline] vzalloc+0xb8/0xe0 mm/vmalloc.c:3458 create_empty_lvol drivers/mtd/ubi/vtbl.c:490 [inline] ubi_read_volume_table+0x1dc/0x2484 drivers/mtd/ubi/vtbl.c:812 ubi_attach+0x2e44/0x469c drivers/mtd/ubi/attach.c:1601 ubi_attach_mtd_dev+0x124c/0x2864 drivers/mtd/ubi/build.c:1000 ctrl_cdev_ioctl+0x450/0x718 drivers/mtd/ubi/cdev.c:1043 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:857 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 11410 hardirqs last enabled at (11409): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (11410): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (11374): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (11374): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (11155): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]--- ubi0 error: ubi_attach_mtd_dev: failed to attach mtd0, error -12