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: 1 PID: 1621 Comm: systemd-udevd Not tainted 4.19.190-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:728 [inline] register_lock_class+0xe82/0x11c0 kernel/locking/lockdep.c:754 __lock_acquire+0x17d/0x3ff0 kernel/locking/lockdep.c:3304 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0x5b/0x80 kernel/locking/spinlock.c:160 spin_lock_irq include/linux/spinlock.h:354 [inline] shmem_add_to_page_cache+0x306/0xbb0 mm/shmem.c:607 shmem_getpage_gfp+0x2004/0x37f0 mm/shmem.c:1836 netlink: 20 bytes leftover after parsing attributes in process `syz-executor.5'. shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2436 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7ffa4c671970 Code: 73 01 c3 48 8b 0d 28 d5 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 99 2d 2c 00 00 75 10 b8 01 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 7e 9b 01 00 48 89 04 24 RSP: 002b:00007ffd8d549c48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000000003f RCX: 00007ffa4c671970 RDX: 000000000000003f RSI: 000055ec473592d0 RDI: 000000000000000f RBP: 000055ec473592d0 R08: 000055ec47340840 R09: 00007ffa4d7ff8c0 R10: 0000000000000073 R11: 0000000000000246 R12: 000000000000003f R13: 0000000000000001 R14: 000055ec47340760 R15: 000000000000003f __ntfs_error: 122 callbacks suppressed ntfs: (device loop3): read_ntfs_boot_sector(): Primary boot sector is invalid. ntfs: (device loop3): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. ntfs: (device loop3): ntfs_fill_super(): Not an NTFS volume. ntfs: (device loop3): read_ntfs_boot_sector(): Primary boot sector is invalid. ntfs: (device loop3): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. ntfs: (device loop3): ntfs_fill_super(): Not an NTFS volume. ntfs: (device loop1): read_ntfs_boot_sector(): Primary boot sector is invalid. ntfs: (device loop1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. ntfs: (device loop1): ntfs_fill_super(): Not an NTFS volume. ntfs: (device loop4): read_ntfs_boot_sector(): Primary boot sector is invalid. print_req_error: 162 callbacks suppressed print_req_error: I/O error, dev loop7, sector 992 print_req_error: I/O error, dev loop7, sector 0 print_req_error: I/O error, dev loop7, sector 4 buffer_io_error: 154 callbacks suppressed Buffer I/O error on dev loop7, logical block 0, lost async page write print_req_error: I/O error, dev loop7, sector 8 Buffer I/O error on dev loop7, logical block 2, lost async page write print_req_error: I/O error, dev loop7, sector 12 Buffer I/O error on dev loop7, logical block 3, lost async page write print_req_error: I/O error, dev loop7, sector 16 Buffer I/O error on dev loop7, logical block 4, lost async page write print_req_error: I/O error, dev loop7, sector 20 Buffer I/O error on dev loop7, logical block 5, lost async page write print_req_error: I/O error, dev loop7, sector 24 Buffer I/O error on dev loop7, logical block 6, lost async page write print_req_error: I/O error, dev loop7, sector 28 Buffer I/O error on dev loop7, logical block 7, lost async page write print_req_error: I/O error, dev loop7, sector 32 Buffer I/O error on dev loop7, logical block 8, lost async page write Buffer I/O error on dev loop7, logical block 9, lost async page write Buffer I/O error on dev loop7, logical block 10, lost async page write netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. __ntfs_error: 140 callbacks suppressed ntfs: (device loop3): read_ntfs_boot_sector(): Primary boot sector is invalid. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. ntfs: (device loop1): read_ntfs_boot_sector(): Primary boot sector is invalid. ntfs: (device loop3): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. ntfs: (device loop3): ntfs_fill_super(): Not an NTFS volume. ntfs: (device loop1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. ntfs: (device loop1): ntfs_fill_super(): Not an NTFS volume. ntfs: (device loop4): read_ntfs_boot_sector(): Primary boot sector is invalid. ntfs: (device loop3): read_ntfs_boot_sector(): Primary boot sector is invalid. ntfs: (device loop4): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. ntfs: (device loop1): read_ntfs_boot_sector(): Primary boot sector is invalid. ntfs: volume version 3.1.