INFO: trying to register non-static key in ieee802154_get_llsec_params

5 views
Skip to first unread message

syzbot

unread,
Mar 20, 2021, 6:14:21 AM3/20/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: cb83ddcd Linux 4.14.226
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1237ef8ad00000
kernel config: https://syzkaller.appspot.com/x/.config?x=124f4e6b89b71fac
dashboard link: https://syzkaller.appspot.com/bug?extid=5de917eca46e2de6d3ca

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+5de917...@syzkaller.appspotmail.com

option changes via remount are deprecated (pid=13082 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 0 PID: 13107 Comm: syz-executor.0 Not tainted 4.14.226-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x281 lib/dump_stack.c:58
register_lock_class+0x32b/0x1320 kernel/locking/lockdep.c:768
__lock_acquire+0x167/0x3f20 kernel/locking/lockdep.c:3378
lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
__mutex_lock_common kernel/locking/mutex.c:756 [inline]
__mutex_lock+0xc4/0x1310 kernel/locking/mutex.c:893
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+0xb8/0x310 net/ieee802154/nl802154.c:761
nl802154_send_iface+0x73b/0x8d0 net/ieee802154/nl802154.c:839
nl802154_dump_interface+0x278/0x470 net/ieee802154/nl802154.c:876
genl_lock_dumpit+0x60/0x90 net/netlink/genetlink.c:481
netlink_dump+0x39c/0xad0 net/netlink/af_netlink.c:2203
__netlink_dump_start+0x4e2/0x740 net/netlink/af_netlink.c:2300
genl_family_rcv_msg+0x95c/0xb20 net/netlink/genetlink.c:549
genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xb5/0x100 net/socket.c:656
___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
__sys_sendmsg+0xa3/0x120 net/socket.c:2096
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x27/0x40 net/socket.c:2103
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x466459
RSP: 002b:00007f3c6cf49188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffed27c1daf R14: 00007f3c6cf49300 R15: 0000000000022000
option changes via remount are deprecated (pid=13082 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13115 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13115 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13118 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13118 comm=syz-executor.4)
EXT4-fs (loop5): Unrecognized mount option "tmpfs" or missing value
FAT-fs (loop3): Directory bread(block 6) failed
ptrace attach of "/root/syz-executor.1"[7969] was attempted by "/root/syz-executor.1"[13135]
new mount options do not match the existing superblock, will be ignored
new mount options do not match the existing superblock, will be ignored
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13151 comm=syz-executor.4)
9pnet: Insufficient options for proto=fd
option changes via remount are deprecated (pid=13151 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
9pnet: Insufficient options for proto=fd
ptrace attach of "/root/syz-executor.1"[7969] was attempted by "/root/syz-executor.1"[13160]
new mount options do not match the existing superblock, will be ignored
caif:caif_disconnect_client(): nothing to disconnect
option changes via remount are deprecated (pid=13162 comm=syz-executor.4)
caif:caif_disconnect_client(): nothing to disconnect
option changes via remount are deprecated (pid=13162 comm=syz-executor.4)
EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue
ptrace attach of "/root/syz-executor.1"[7969] was attempted by "/root/syz-executor.1"[13182]
IPVS: ftp: loaded support on port[0] = 21
new mount options do not match the existing superblock, will be ignored
new mount options do not match the existing superblock, will be ignored
EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13254 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13254 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13268 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13268 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13295 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
new mount options do not match the existing superblock, will be ignored
new mount options do not match the existing superblock, will be ignored
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13348 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13348 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13380 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13380 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13407 comm=syz-executor.4)
new mount options do not match the existing superblock, will be ignored
option changes via remount are deprecated (pid=13407 comm=syz-executor.4)
ip6_tables: ip6tables: counters copy to user failed while replacing table
ip6_tables: ip6tables: counters copy to user failed while replacing table


---
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,
Mar 20, 2021, 7:42:14 AM3/20/21
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: cb83ddcd Linux 4.14.226
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13dc6edcd00000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14286621d00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=178c70bed00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5de917...@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: 1 PID: 7945 Comm: syz-executor029 Not tainted 4.14.226-syzkaller #0
RIP: 0033:0x43fb69
RSP: 002b:00007ffc7969b788 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043fb69
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 00000000004035d0 R08: 0000000000000000 R09: 00000000004004a0
R10: 0000000000000000 R11: 0000000000000

syzbot

unread,
May 13, 2021, 12:23:05 AM5/13/21
to syzkaller...@googlegroups.com
syzbot suspects this issue was fixed by commit:

commit df9aa96b613d8f46b65fad2c9b2e01782c01ceaa
Author: Alexander Aring <aahr...@redhat.com>
Date: Mon Apr 5 00:30:54 2021 +0000

net: ieee802154: stop dump llsec params for monitors

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17475e73d00000
start commit: bd634aa6 Linux 4.14.228
git tree: linux-4.14.y
kernel config: https://syzkaller.appspot.com/x/.config?x=5fab202d11a349c3
dashboard link: https://syzkaller.appspot.com/bug?extid=5de917eca46e2de6d3ca
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=179d91ced00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=175b990ed00000

If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: net: ieee802154: stop dump llsec params for monitors

For information about bisection process see: https://goo.gl/tpsmEJ#bisection
Reply all
Reply to author
Forward
0 new messages