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=15fc996cd00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=6a1a8f0ba6627eb7
dashboard link:
https://syzkaller.appspot.com/bug?extid=7f1b4f2030ff6be8870e
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+7f1b4f...@syzkaller.appspotmail.com
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 21457 Comm: syz-executor.0 Not tainted 4.19.177-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:nla_get_le64 include/net/netlink.h:1162 [inline]
RIP: 0010:ieee802154_llsec_parse_dev_addr+0x260/0x370 net/ieee802154/nl802154.c:1326
Code: 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 ea 38 9d f9 48 8b 5c 24 50 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 04 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ee 00 00 00 48 8d 7d 08 48 8b 5b 04 48 b8 00 00
RSP: 0018:ffff8880a491f450 EFLAGS: 00010247
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005c21000
RDX: 0000000000000000 RSI: ffffffff87c52636 RDI: 0000000000000004
RBP: ffff8880a491f650 R08: 0000000000000001 R09: 0000000000000003
R10: 0000000000000001 R11: 0000000000000000 R12: 1ffff11014923e8a
R13: 0000000000000000 R14: ffff8880a2d30a78 R15: ffff8880a2d30a98
FS: 00007f048a03b700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004e1c24 CR3: 00000000709c6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee802154_llsec_parse_key_id+0x340/0x410 net/ieee802154/nl802154.c:1362
nl802154_set_llsec_params+0x1db/0x470 net/ieee802154/nl802154.c:1417
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: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:00007f048a03b188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465ef9
RDX: 0000000000004010 RSI: 0000000020000540 RDI: 0000000000000004
RBP: 00000000004bcd1c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007fff6741c87f R14: 00007f048a03b300 R15: 0000000000022000
Modules linked in:
---[ end trace 95649e1e1c61dfa3 ]---
RIP: 0010:nla_get_le64 include/net/netlink.h:1162 [inline]
RIP: 0010:ieee802154_llsec_parse_dev_addr+0x260/0x370 net/ieee802154/nl802154.c:1326
Code: 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 ea 38 9d f9 48 8b 5c 24 50 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 04 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ee 00 00 00 48 8d 7d 08 48 8b 5b 04 48 b8 00 00
RSP: 0018:ffff8880a491f450 EFLAGS: 00010247
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005c21000
RDX: 0000000000000000 RSI: ffffffff87c52636 RDI: 0000000000000004
RBP: ffff8880a491f650 R08: 0000000000000001 R09: 0000000000000003
R10: 0000000000000001 R11: 0000000000000000 R12: 1ffff11014923e8a
R13: 0000000000000000 R14: ffff8880a2d30a78 R15: ffff8880a2d30a98
FS: 00007f048a03b700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
tmpfs: Bad value 'interleave=relative:,7' for mount option 'mpol'
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056112d2315c0 CR3: 00000000709c6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400