syzbot


WARNING in netlink_ack_tlv_fill

Status: upstream: reported C repro on 2024/11/13 10:03
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+d4373fa8042c06cefa84@syzkaller.appspotmail.com
First crash: 8d15h, last: 8d14h
Cause bisection: failed (error log, bisect log)
  
Discussions (4)
Title Replies (including bot) Last reply
[PATCH net 1/2] netlink: fix false positive warning in extack during dumps 3 (3) 2024/11/15 16:38
[PATCH net v2] netlink: Add string check in netlink_ack_tlv_fill 3 (3) 2024/11/14 08:07
[PATCH] Add string check in netlink_ack_tlv_fill 2 (2) 2024/11/14 00:02
[syzbot] [net?] WARNING in netlink_ack_tlv_fill 0 (1) 2024/11/13 10:03

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5845 at net/netlink/af_netlink.c:2210 netlink_ack_tlv_fill+0x1a8/0x560 net/netlink/af_netlink.c:2209
Modules linked in:
CPU: 1 UID: 0 PID: 5845 Comm: syz-executor685 Not tainted 6.12.0-rc6-syzkaller-01230-g4861333b4217 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:netlink_ack_tlv_fill+0x1a8/0x560 net/netlink/af_netlink.c:2209
Code: 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 0d 48 89 df e8 db b3 2a f8 48 8b 4c 24 10 4c 8b 3b 4d 39 fd 73 2c e8 c9 ed c0 f7 90 <0f> 0b 90 49 bf 00 00 00 00 00 fc ff df e9 9f 00 00 00 e8 b1 ed c0
RSP: 0018:ffffc90003b47780 EFLAGS: 00010293
RAX: ffffffff89d3ec97 RBX: ffff88807d437718 RCX: ffff888030185a00
RDX: 0000000000000000 RSI: 00000000ffffffde RDI: 0000000000000000
RBP: ffffc90003b47850 R08: ffffffff89d3ec3c R09: 0000000000000074
R10: 6f702064656c6961 R11: 6620657475626972 R12: 1ffff92000768ef4
R13: ffff88803169461c R14: ffffc90003b479c0 R15: ffff888031694620
FS:  0000555569f6a380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000066abb0 CR3: 0000000079386000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 netlink_dump_done+0x513/0x970 net/netlink/af_netlink.c:2250
 netlink_dump+0x91f/0xe10 net/netlink/af_netlink.c:2351
 netlink_recvmsg+0x6bb/0x11d0 net/netlink/af_netlink.c:1983
 sock_recvmsg_nosec net/socket.c:1051 [inline]
 sock_recvmsg+0x22f/0x280 net/socket.c:1073
 __sys_recvfrom+0x246/0x3d0 net/socket.c:2267
 __do_sys_recvfrom net/socket.c:2285 [inline]
 __se_sys_recvfrom net/socket.c:2281 [inline]
 __x64_sys_recvfrom+0xde/0x100 net/socket.c:2281
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff37dd17a79
Code: ff e8 cb 01 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 80 3d 11 66 07 00 00 41 89 ca 74 1c 45 31 c9 45 31 c0 b8 2d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 67 c3 66 0f 1f 44 00 00 55 48 83 ec 20 48 89
RSP: 002b:00007ffda0631f18 EFLAGS: 00000246 ORIG_RAX: 000000000000002d
RAX: ffffffffffffffda RBX: 00007ffda0631fa4 RCX: 00007ff37dd17a79
RDX: 0000000000001000 RSI: 00007ffda0631f90 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffda0631f90
R13: 00007ffda0633178 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/09 11:10 net-next 4861333b4217 6b856513 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in netlink_ack_tlv_fill
2024/11/09 10:36 net-next 4861333b4217 6b856513 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in netlink_ack_tlv_fill
2024/11/09 10:01 net-next 4861333b4217 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in netlink_ack_tlv_fill
* Struck through repros no longer work on HEAD.