INFO: trying to register non-static key in ieee802154_get_llsec_params

5 views
Skip to first unread message

syzbot

unread,
Feb 28, 2021, 3:59:19 PM2/28/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 2d19be46 Linux 4.19.177
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=142489ccd00000
kernel config: https://syzkaller.appspot.com/x/.config?x=6a1a8f0ba6627eb7
dashboard link: https://syzkaller.appspot.com/bug?extid=e7619545f676b3ded1e6

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e76195...@syzkaller.appspotmail.com

INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 0 PID: 1653 Comm: syz-executor.1 Not tainted 4.19.177-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:727 [inline]
register_lock_class+0xe76/0x11c0 kernel/locking/lockdep.c:753
__lock_acquire+0x17d/0x3ff0 kernel/locking/lockdep.c:3303
lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3907
__mutex_lock_common kernel/locking/mutex.c:925 [inline]
__mutex_lock+0xd7/0x1260 kernel/locking/mutex.c:1072
ieee802154_get_llsec_params+0x3f/0x70 net/mac802154/cfg.c:327
rdev_get_llsec_params net/ieee802154/rdev-ops.h:241 [inline]
nl802154_get_llsec_params+0xce/0x390 net/ieee802154/nl802154.c:761
nl802154_send_iface+0x83d/0x9e0 net/ieee802154/nl802154.c:839
nl802154_dump_interface+0x294/0x490 net/ieee802154/nl802154.c:876
genl_lock_dumpit+0x60/0x90 net/netlink/genetlink.c:482
netlink_dump+0x3cf/0xc10 net/netlink/af_netlink.c:2234
__netlink_dump_start+0x4e9/0x6f0 net/netlink/af_netlink.c:2330
genl_family_rcv_msg+0xa76/0xc40 net/netlink/genetlink.c:550
genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
__sys_sendmsg net/socket.c:2153 [inline]
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x465ef9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1a4e6dc188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465ef9
RDX: 0000000000000000 RSI: 0000000020000440 RDI: 0000000000000005
RBP: 00000000004bcd1c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffe468aed7f R14: 00007f1a4e6dc300 R15: 0000000000022000
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
tmpfs: Bad mount option �ie
EXT4-fs (loop1): Unrecognized mount option " " or missing value
tmpfs: Bad mount option �ie
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
tmpfs: Bad mount option �ie
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
tmpfs: Bad mount option �ie
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
tmpfs: Bad mount option �ie
PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff]
PM: Basic memory bitmaps created
tmpfs: Bad mount option �ie
PM: Basic memory bitmaps freed
PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff]
PM: Basic memory bitmaps created
PM: Basic memory bitmaps freed
netlink: 'syz-executor.3': attribute type 29 has an invalid length.
netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'.
tmpfs: Bad mount option �ie
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff]
PM: Basic memory bitmaps created
PM: Basic memory bitmaps freed
sd 0:0:1:0: [sg0] tag#5839 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
sd 0:0:1:0: [sg0] tag#5839 CDB: Test Unit Ready
sd 0:0:1:0: [sg0] tag#5839 CDB[00]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[10]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
sd 0:0:1:0: [sg0] tag#5839 CDB[20]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[30]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[40]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[50]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[60]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[70]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[80]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[90]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[a0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[b0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[c0]: 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
sd 0:0:1:0: [sg0] tag#5839 CDB: Test Unit Ready
sd 0:0:1:0: [sg0] tag#5839 CDB[00]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[10]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[20]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[30]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[40]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[50]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[60]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[70]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[80]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[90]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[a0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[b0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sd 0:0:1:0: [sg0] tag#5839 CDB[c0]: 00 00 00 00 00 00 00 00
tmpfs: Bad mount option �ie
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
PM: Marking nosave pages: [mem 0x0009f000-0x000fffff]
PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff]
PM: Basic memory bitmaps created
PM: Basic memory bitmaps freed
x_tables: duplicate underflow at hook 3
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
tmpfs: Bad mount option �ie
x_tables: duplicate underflow at hook 3
x_tables: duplicate underflow at hook 3
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
tmpfs: Bad mount option �ie
EXT4-fs (loop4): Unrecognized mount option " " or missing value
x_tables: duplicate underflow at hook 3
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
tmpfs: Bad mount option �ie
overlayfs: upperdir is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection.
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
audit: type=1804 audit(1614545914.282:155): pid=2471 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir876230062/syzkaller.2FPxyz/475/file0/file0" dev="sda1" ino=16191 res=1
EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue
tmpfs: Bad mount option �ie
tmpfs: Bad mount option �ie
audit: type=1804 audit(1614545914.592:156): pid=2504 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir876230062/syzkaller.2FPxyz/475/file0/file0" dev="sda1" ino=16191 res=1
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Aug 5, 2021, 1:48:11 AM8/5/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages