INFO: trying to register non-static key in ieee802154_del_devkey

12 views
Skip to first unread message

syzbot

unread,
Aug 19, 2021, 10:01:27 PM8/19/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 59456c9cc40c Linux 4.19.204
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=113e4355300000
kernel config: https://syzkaller.appspot.com/x/.config?x=a84b4514346e13dc
dashboard link: https://syzkaller.appspot.com/bug?extid=0631a126750192d64a55
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

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+0631a1...@syzkaller.appspotmail.com

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: 27444 Comm: syz-executor.0 Not tainted 4.19.204-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
__mutex_lock_common kernel/locking/mutex.c:938 [inline]
__mutex_lock+0xd7/0x1200 kernel/locking/mutex.c:1083
ieee802154_del_devkey+0x44/0x80 net/mac802154/cfg.c:450
rdev_del_devkey net/ieee802154/rdev-ops.h:316 [inline]
nl802154_del_llsec_devkey+0x28a/0x380 net/ieee802154/nl802154.c:1994
genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2457
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1346
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2225
__sys_sendmsg net/socket.c:2263 [inline]
__do_sys_sendmsg net/socket.c:2272 [inline]
__se_sys_sendmsg net/socket.c:2270 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2270
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665e9
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:00007f21b0a89188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9
RDX: 0000000000000000 RSI: 0000000020000480 RDI: 0000000000000004
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffee28dc21f R14: 00007f21b0a89300 R15: 0000000000022000
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
ieee802154 phy1 wpan1: encryption failed: -22
xt_check_match: 61 callbacks suppressed
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: xt_cgroup: no path or classid specified
x_tables: ip6_tables: tcp match: only valid for protocol 6
x_tables: ip6_tables: tcp match: only valid for protocol 6
x_tables: ip6_tables: tcp match: only valid for protocol 6
x_tables: ip6_tables: tcp match: only valid for protocol 6
x_tables: ip6_tables: tcp match: only valid for protocol 6
x_tables: ip6_tables: tcp match: only valid for protocol 6
x_tables: ip6_tables: tcp match: only valid for protocol 6
cgroup_mt_check_v1: 57 callbacks suppressed
xt_cgroup: invalid path, errno=-2
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'.
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'.
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
nbd: couldn't find device at index -1
xt_cgroup: xt_cgroup: no path or classid specified
nbd: couldn't find device at index -1
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_check_match: 61 callbacks suppressed
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: xt_cgroup: no path or classid specified
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: xt_cgroup: no path or classid specified
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
nbd: couldn't find device at index -1
x_tables: ip6_tables: tcp match: only valid for protocol 6
nbd: couldn't find device at index -1
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: xt_cgroup: no path or classid specified
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: xt_cgroup: no path or classid specified
x_tables: ip6_tables: tcp match: only valid for protocol 6
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: xt_cgroup: no path or classid specified
x_tables: ip6_tables: tcp match: only valid for protocol 6
xt_cgroup: xt_cgroup: no path or classid specified
x_tables: ip6_tables: tcp match: only valid for protocol 6
cgroup_mt_check_v1: 64 callbacks suppressed
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
nbd: couldn't find device at index -1
nbd: couldn't find device at index -1
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
xt_cgroup: invalid path, errno=-2
xt_cgroup: xt_cgroup: no path or classid specified
----------------
Code disassembly (best guess), 1 bytes skipped:
0: ff c3 inc %ebx
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 40 00 nopl 0x0(%rax)
10: 48 89 f8 mov %rdi,%rax
13: 48 89 f7 mov %rsi,%rdi
16: 48 89 d6 mov %rdx,%rsi
19: 48 89 ca mov %rcx,%rdx
1c: 4d 89 c2 mov %r8,%r10
1f: 4d 89 c8 mov %r9,%r8
22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
27: 0f 05 syscall
29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
2f: 73 01 jae 0x32
31: c3 retq
32: 48 c7 c1 bc ff ff ff mov $0xffffffffffffffbc,%rcx
39: f7 d8 neg %eax
3b: 64 89 01 mov %eax,%fs:(%rcx)
3e: 48 rex.W


---
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,
Feb 2, 2022, 2:03:19 AM2/2/22
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