syzbot


INFO: trying to register non-static key in done (4)

Status: auto-obsoleted due to no activity on 2022/11/08 13:49
Reported-by: syzbot+ebf8b58ad8a5ad6dbb68@syzkaller.appspotmail.com
First crash: 698d, last: 653d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: trying to register non-static key in done 4 1689d 1738d 0/1 auto-closed as invalid on 2020/01/06 21:33
linux-4.14 INFO: trying to register non-static key in done (2) 1 1352d 1352d 0/1 auto-closed as invalid on 2020/12/09 11:35
linux-4.14 INFO: trying to register non-static key in done (3) 1 1098d 1098d 0/1 auto-closed as invalid on 2021/08/20 11:08

Sample crash report:
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 0 PID: 10434 Comm: syz-executor.0 Not tainted 4.14.287-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 register_lock_class+0x389/0x1180 kernel/locking/lockdep.c:768
Restarting kernel threads ... 
 __lock_acquire+0x167/0x3f20 kernel/locking/lockdep.c:3378
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
done.
 flush_work+0xad/0x770 kernel/workqueue.c:2890
PM: Basic memory bitmaps freed
 __cancel_work_timer+0x321/0x460 kernel/workqueue.c:2965
PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
 smc_close_active+0x7e2/0xbb0 net/smc/smc_close.c:207
 smc_release+0x3e1/0x5d0 net/smc/af_smc.c:131
PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
 __sock_release+0xcd/0x2b0 net/socket.c:602
 sock_close+0x15/0x20 net/socket.c:1139
 __fput+0x25f/0x7a0 fs/file_table.c:210
 task_work_run+0x11f/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f8002b03109
RSP: 002b:00007f8001478168 EFLAGS: 00000246
PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff]
 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007f8002c15f60 RCX: 00007f8002b03109
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f8002b5d05d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffd6f4deaf R14: 00007f8001478300 R15: 0000000000022000
PM: Basic memory bitmaps created
8021q: adding VLAN 0 to HW filter on device team0
bond0: Enslaving team0 as an active interface with an up link
bond0: Releasing backup interface team0
bridge0: port 3(team0) entered blocking state
bridge0: port 3(team0) entered disabled state
device team0 entered promiscuous mode
device team_slave_0 entered promiscuous mode
device team_slave_1 entered promiscuous mode
Restarting kernel threads ... done.
PM: Basic memory bitmaps freed
device team0 left promiscuous mode
device team_slave_0 left promiscuous mode
PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff]
device team_slave_1 left promiscuous mode
PM: Basic memory bitmaps created
print_req_error: I/O error, dev loop5, sector 0
bridge0: port 3(team0) entered disabled state
8021q: adding VLAN 0 to HW filter on device team0
bond0: Enslaving team0 as an active interface with an up link
bond0: Releasing backup interface team0
Restarting kernel threads ... done.
PM: Basic memory bitmaps freed
bridge0: port 3(team0) entered blocking state
bridge0: port 3(team0) entered disabled state
print_req_error: I/O error, dev loop5, sector 0
device team0 entered promiscuous mode
device team_slave_0 entered promiscuous mode
device team_slave_1 entered promiscuous mode
FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
could not allocate digest TFM handle sha512_mb
FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
device team0 left promiscuous mode
device team_slave_0 left promiscuous mode
device team_slave_1 left promiscuous mode
bridge0: port 3(team0) entered disabled state
8021q: adding VLAN 0 to HW filter on device team0
could not allocate digest TFM handle sha512_mb
bond0: Enslaving team0 as an active interface with an up link
FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
bond0: Releasing backup interface team0
FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
bridge0: port 3(team0) entered blocking state
bridge0: port 3(team0) entered disabled state
device team0 entered promiscuous mode
device team_slave_0 entered promiscuous mode
device team_slave_1 entered promiscuous mode
could not allocate digest TFM handle sha512_mb
device team0 left promiscuous mode
FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
device team_slave_0 left promiscuous mode
FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
device team_slave_1 left promiscuous mode
bridge0: port 3(team0) entered disabled state
8021q: adding VLAN 0 to HW filter on device team0
bond0: Enslaving team0 as an active interface with an up link
bond0: Releasing backup interface team0
bridge0: port 3(team0) entered blocking state
bridge0: port 3(team0) entered disabled state
device team0 entered promiscuous mode
device team_slave_0 entered promiscuous mode
device team_slave_1 entered promiscuous mode
FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
could not allocate digest TFM handle sha512_mb
FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
bridge0: port 3(ipvlan2) entered blocking state
bridge0: port 3(ipvlan2) entered disabled state
bridge0: port 3(ipvlan2) entered blocking state
bridge0: port 3(ipvlan2) entered disabled state
mmap: syz-executor.1 (10794) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.txt.
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs error (device loop1): ext4_empty_dir:2774: inode #12: block 255: comm syz-executor.1: bad entry in directory: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0, size=1024
EXT4-fs warning (device loop1): ext4_empty_dir:2777: inode #12: comm syz-executor.1: directory missing '.'
EXT4-fs error (device loop1): ext4_validate_block_bitmap:405: comm syz-executor.1: bg 0: block 3: invalid block bitmap
EXT4-fs error (device loop1) in ext4_free_blocks:5010: Corrupt filesystem
EXT4-fs error (device loop1): ext4_free_inode:353: comm syz-executor.1: bit already cleared for inode 12
bridge0: port 3(ipvlan2) entered blocking state
bridge0: port 3(ipvlan2) entered disabled state
EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
bridge0: port 3(ipvlan2) entered blocking state
bridge0: port 3(ipvlan2) entered disabled state
EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs error (device loop0): ext4_empty_dir:2774: inode #12: block 255: comm syz-executor.0: bad entry in directory: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0, size=1024
EXT4-fs warning (device loop0): ext4_empty_dir:2777: inode #12: comm syz-executor.0: directory missing '.'
EXT4-fs error (device loop0): ext4_validate_block_bitmap:405: comm syz-executor.0: bg 0: block 3: invalid block bitmap
EXT4-fs error (device loop0) in ext4_free_blocks:5010: Corrupt filesystem
EXT4-fs error (device loop0): ext4_free_inode:353: comm syz-executor.0: bit already cleared for inode 12

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/11 13:48 linux-4.14.y 1048779a1d7d f3f217ff .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in done
2022/05/27 08:27 linux-4.14.y 501eec4f9e13 116e7a7b .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in done
* Struck through repros no longer work on HEAD.