loop0: detected capacity change from 0 to 128 BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 12511 Comm: syz.0.1859 Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b88/0x7680 kernel/locking/lockdep.c:5049 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662 _raw_spin_lock_nested+0x5c/0x78 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] rq_lock kernel/sched/sched.h:1645 [inline] __schedule+0x2c4/0x1d44 kernel/sched/core.c:6474 preempt_schedule_common+0xf4/0x1e8 kernel/sched/core.c:6727 preempt_schedule+0x64/0x84 kernel/sched/core.c:6751 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xa8/0xac kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __unfreeze_partials+0x144/0x198 mm/slub.c:2579 put_cpu_partial+0x18c/0x1fc mm/slub.c:2662 __slab_free+0x1a0/0x26c mm/slub.c:3538 do_slab_free mm/slub.c:3615 [inline] ___cache_free+0x164/0x198 mm/slub.c:3668 qlink_free+0x5c/0xac mm/kasan/quarantine.c:168 qlist_free_all+0x40/0xcc mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x124/0x130 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x2c/0x8c mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x74/0x458 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] __kmem_cache_alloc_node+0x27c/0x388 mm/slub.c:3437 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc_node_track_caller+0xbc/0x1c0 mm/slab_common.c:956 kstrdup mm/util.c:61 [inline] kstrdup_const+0x90/0xdc mm/util.c:84 alloc_vfsmnt+0x98/0x4d8 fs/namespace.c:207 clone_mnt+0x78/0xb08 fs/namespace.c:1104 copy_tree+0x3b0/0xa2c fs/namespace.c:1921 copy_mnt_ns+0x184/0x79c fs/namespace.c:3496 create_new_namespaces+0xcc/0x614 kernel/nsproxy.c:78 unshare_nsproxy_namespaces+0x108/0x158 kernel/nsproxy.c:226 ksys_unshare+0x424/0x7e4 kernel/fork.c:3201 __do_sys_unshare kernel/fork.c:3272 [inline] __se_sys_unshare kernel/fork.c:3270 [inline] __arm64_sys_unshare+0x3c/0x50 kernel/fork.c:3270 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 syz.0.1859: attempt to access beyond end of device loop0: rw=2049, sector=145, nr_sectors = 896 limit=128