syzbot


general protection fault in ieee802154_llsec_dump_table

Status: closed as invalid on 2025/10/12 21:34
Subsystems: wpan
[Documentation on labels]
First crash: 151d, last: 151d

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 1 UID: 0 PID: 10075 Comm: syz.4.1035 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:ieee802154_llsec_dump_table+0x241/0x5f0 net/ieee802154/nl-mac.c:778
Code: 42 80 3c 28 00 4c 8b 74 24 18 74 08 4c 89 ff e8 85 43 f3 f6 4d 8b 3f 4c 89 bc 24 e0 00 00 00 49 83 c7 38 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 60 43 f3 f6 4d 8b 3f 4d 85 ff 0f
RSP: 0018:ffffc90019f36fc0 EFLAGS: 00010202
RAX: 0000000000000007 RBX: ffff88807c5b4158 RCX: 0000000000000002
RDX: ffff888030260000 RSI: 0000000000000324 RDI: 0000000000000324
RBP: ffffc90019f37130 R08: ffffc90019f36f47 R09: 1ffff920033e6de8
R10: dffffc0000000000 R11: fffff520033e6de9 R12: 000000000000006d
R13: dffffc0000000000 R14: ffff88806e1aa500 R15: 0000000000000038
FS:  00007fe4c09be6c0(0000) GS:ffff888125d14000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33313ff8 CR3: 00000000774f4000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 genl_dumpit+0x10b/0x1b0 net/netlink/genetlink.c:1027
 netlink_dump+0x6e1/0xe90 net/netlink/af_netlink.c:2327
 __netlink_dump_start+0x5cb/0x7e0 net/netlink/af_netlink.c:2442
 genl_family_rcv_msg_dumpit+0x1e7/0x2c0 net/netlink/genetlink.c:1076
 genl_family_rcv_msg net/netlink/genetlink.c:1192 [inline]
 genl_rcv_msg+0x5da/0x790 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2552
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
 netlink_unicast+0x82c/0x9e0 net/netlink/af_netlink.c:1346
 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896
 sock_sendmsg_nosec net/socket.c:714 [inline]
 __sock_sendmsg+0x21c/0x270 net/socket.c:729
 ____sys_sendmsg+0x505/0x830 net/socket.c:2614
 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2668
 __sys_sendmsg net/socket.c:2700 [inline]
 __do_sys_sendmsg net/socket.c:2705 [inline]
 __se_sys_sendmsg net/socket.c:2703 [inline]
 __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2703
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe4bfb8ebe9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe4c09be038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe4bfdc5fa0 RCX: 00007fe4bfb8ebe9
RDX: 0000000000000000 RSI: 0000200000000380 RDI: 000000000000000d
RBP: 00007fe4bfc11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe4bfdc6038 R14: 00007fe4bfdc5fa0 R15: 00007ffdde611828
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ieee802154_llsec_dump_table+0x241/0x5f0 net/ieee802154/nl-mac.c:778
Code: 42 80 3c 28 00 4c 8b 74 24 18 74 08 4c 89 ff e8 85 43 f3 f6 4d 8b 3f 4c 89 bc 24 e0 00 00 00 49 83 c7 38 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 60 43 f3 f6 4d 8b 3f 4d 85 ff 0f
RSP: 0018:ffffc90019f36fc0 EFLAGS: 00010202
RAX: 0000000000000007 RBX: ffff88807c5b4158 RCX: 0000000000000002
RDX: ffff888030260000 RSI: 0000000000000324 RDI: 0000000000000324
RBP: ffffc90019f37130 R08: ffffc90019f36f47 R09: 1ffff920033e6de8
R10: dffffc0000000000 R11: fffff520033e6de9 R12: 000000000000006d
R13: dffffc0000000000 R14: ffff88806e1aa500 R15: 0000000000000038
FS:  00007fe4c09be6c0(0000) GS:ffff888125c14000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3311bff8 CR3: 00000000774f4000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
   5:	4c 8b 74 24 18       	mov    0x18(%rsp),%r14
   a:	74 08                	je     0x14
   c:	4c 89 ff             	mov    %r15,%rdi
   f:	e8 85 43 f3 f6       	call   0xf6f34399
  14:	4d 8b 3f             	mov    (%r15),%r15
  17:	4c 89 bc 24 e0 00 00 	mov    %r15,0xe0(%rsp)
  1e:	00
  1f:	49 83 c7 38          	add    $0x38,%r15
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ff             	mov    %r15,%rdi
  34:	e8 60 43 f3 f6       	call   0xf6f34399
  39:	4d 8b 3f             	mov    (%r15),%r15
  3c:	4d 85 ff             	test   %r15,%r15
  3f:	0f                   	.byte 0xf

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/31 05:17 net-next 864ecc4a6dad 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in ieee802154_llsec_dump_table
* Struck through repros no longer work on HEAD.