loop0: detected capacity change from 0 to 32768
ocfs2: Readonly device (7,0) detected. Cluster services will not be used for this mount. Recovery will be skipped.
ocfs2: Mounting device (7,0) on (node local, slot 65535) with ordered data mode.
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 0 UID: 0 PID: 5319 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
assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:1028
register_lock_class+0xcc/0x2e0 kernel/locking/lockdep.c:1343
__lock_acquire+0x10c/0x2de0 kernel/locking/lockdep.c:5162
lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:155 [inline]
_raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:181
ocfs2_mark_lockres_freeing+0x164/0x840 fs/ocfs2/dlmglue.c:3530
ocfs2_simple_drop_lockres fs/ocfs2/dlmglue.c:3586 [inline]
ocfs2_drop_osb_locks fs/ocfs2/dlmglue.c:3594 [inline]
ocfs2_dlm_shutdown+0x37/0x240 fs/ocfs2/dlmglue.c:3404
ocfs2_dismount_volume+0x414/0x820 fs/ocfs2/super.c:1865
generic_shutdown_super+0x13d/0x2d0 fs/super.c:755
kill_block_super+0x44/0xa0 fs/super.c:1904
deactivate_locked_super+0xbc/0x110 fs/super.c:589
cleanup_mnt+0x3d3/0x460 fs/namespace.c:1317
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd7a5d9f3ca
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007fd7a6cdbe18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffec RBX: 00007fd7a6cdbea0 RCX: 00007fd7a5d9f3ca
RDX: 0000200000004480 RSI: 00002000000044c0 RDI: 00007fd7a6cdbe60
RBP: 0000200000004480 R08: 00007fd7a6cdbea0 R09: 0000000000800401
R10: 0000000000800401 R11: 0000000000000246 R12: 00002000000044c0
R13: 00007fd7a6cdbe60 R14: 000000000000446c R15: 00002000000000c0
ocfs2: Unmounting device (7,0) on (node local)
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 1
CPU: 0 UID: 0 PID: 5319 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+0x410/0x560 lib/fault-inject.c:174
should_failslab+0xa8/0x100 mm/failslab.c:46
slab_pre_alloc_hook mm/slub.c:4638 [inline]
slab_alloc_node mm/slub.c:4974 [inline]
__kmalloc_cache_noprof+0xa3/0x600 mm/slub.c:5559
_kmalloc_noprof include/linux/slab.h:991 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
percpu_ref_init+0xc5/0x350 lib/percpu-refcount.c:76
alloc_swap_info mm/swapfile.c:3364 [inline]
__do_sys_swapon mm/swapfile.c:3640 [inline]
__se_sys_swapon+0xe8/0x2020 mm/swapfile.c:3613
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd7a5d9e159
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:00007fd7a6cdbfe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a7
RAX: ffffffffffffffda RBX: 00007fd7a6025fa0 RCX: 00007fd7a5d9e159
RDX: 0000000000000000 RSI: 0000000000078000 RDI: 0000000000000000
RBP: 00007fd7a5e3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd7a6026038 R14: 00007fd7a6025fa0 R15: 00007ffd48f7a668