0x000000010001-0x000000010007 : ""
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 1
CPU: 0 UID: 0 PID: 5320 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
fail_dump lib/fault-inject.c:73 [inline]
should_fail_ex+0x412/0x560 lib/fault-inject.c:174
should_failslab+0xa8/0x100 mm/failslab.c:46
slab_pre_alloc_hook mm/slub.c:4522 [inline]
slab_alloc_node mm/slub.c:4875 [inline]
__kmalloc_cache_noprof+0x88/0x660 mm/slub.c:5410
kmalloc_noprof include/linux/slab.h:950 [inline]
kzalloc_noprof include/linux/slab.h:1188 [inline]
device_private_init drivers/base/core.c:3536 [inline]
device_add+0xbe/0xb70 drivers/base/core.c:3587
add_mtd_device+0xd2c/0x1750 drivers/mtd/mtdcore.c:800
mtd_add_partition+0x316/0x510 drivers/mtd/mtdpart.c:279
mtdchar_blkpg_ioctl+0x28a/0x2c0 drivers/mtd/mtdchar.c:562
mtdchar_ioctl+0x14f7/0x1bc0 drivers/mtd/mtdchar.c:1218
mtdchar_unlocked_ioctl+0xae/0xd0 drivers/mtd/mtdchar.c:1241
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f41cbd9c819
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f41c81f4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f41cc015fa0 RCX: 00007f41cbd9c819
RDX: 0000200000000000 RSI: 0000000000001269 RDI: 0000000000000004
RBP: 00007f41c81f5050 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007f41cc016038 R14: 00007f41cc015fa0 R15: 00007ffeee766228
------------[ cut here ]------------
!list_empty(&mtd->part.node)
WARNING: drivers/mtd/mtdpart.c:37 at release_mtd_partition+0x78/0x80 drivers/mtd/mtdpart.c:37, CPU#0: syz.0.0/5320
Modules linked in:
CPU: 0 UID: 0 PID: 5320 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:release_mtd_partition+0x78/0x80 drivers/mtd/mtdpart.c:37
Code: e8 03 42 80 3c 38 00 74 05 e8 24 14 d0 fb 48 8b 7b 38 e8 9b 65 c4 fb 48 89 df 5b 41 5e 41 5f e9 8e 65 c4 fb e8 f9 fb 63 fb 90 <0f> 0b 90 eb c8 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000dbdf4b0 EFLAGS: 00010293
RAX: ffffffff866127c7 RBX: ffff8880132a1000 RCX: ffff888000a6a500
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880132a1000
RBP: 0000000000000001 R08: ffff888032ac44ef R09: 1ffff1100655889d
R10: dffffc0000000000 R11: ffffed100655889e R12: 1ffffffff18a54e0
R13: dffffc0000000000 R14: ffff8880132a16a0 R15: dffffc0000000000
FS: 00007f41c81f56c0(0000) GS:ffff88808c832000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f41cbfed6b8 CR3: 00000000121cc000 CR4: 0000000000352ef0
Call Trace:
mtd_release+0x8f/0xd0 drivers/mtd/mtdcore.c:101
device_release+0xc4/0x1f0 drivers/base/core.c:-1
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x228/0x560 lib/kobject.c:737
add_mtd_device+0xd9c/0x1750 drivers/mtd/mtdcore.c:802
mtd_add_partition+0x316/0x510 drivers/mtd/mtdpart.c:279
mtdchar_blkpg_ioctl+0x28a/0x2c0 drivers/mtd/mtdchar.c:562
mtdchar_ioctl+0x14f7/0x1bc0 drivers/mtd/mtdchar.c:1218
mtdchar_unlocked_ioctl+0xae/0xd0 drivers/mtd/mtdchar.c:1241
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f41cbd9c819
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f41c81f4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f41cc015fa0 RCX: 00007f41cbd9c819
RDX: 0000200000000000 RSI: 0000000000001269 RDI: 0000000000000004
RBP: 00007f41c81f5050 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007f41cc016038 R14: 00007f41cc015fa0 R15: 00007ffeee766228