syzbot


kernel BUG in pn_socket_autobind (2)

Status: upstream: reported C repro on 2021/08/23 00:08
Reported-by: syzbot+0300748b1f334714b550@syzkaller.appspotmail.com
First crash: 974d, last: 564d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG in pn_socket_autobind 1 1109d 1109d 0/1 auto-closed as invalid on 2021/08/07 18:14
upstream kernel BUG at net/phonet/socket.c:LINE! net C inconclusive 168 853d 1474d 20/26 fixed on 2022/03/08 16:11

Sample crash report:
IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready
batman_adv: batadv0: Interface activated: batadv_slave_1
IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready
netlink: 'syz-executor394': attribute type 2 has an invalid length.
------------[ cut here ]------------
kernel BUG at net/phonet/socket.c:226!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8101 Comm: syz-executor394 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:pn_socket_autobind net/phonet/socket.c:226 [inline]
RIP: 0010:pn_socket_autobind net/phonet/socket.c:226 [inline] net/phonet/socket.c:215
RIP: 0010:pn_socket_autobind+0x13c/0x160 net/phonet/socket.c:215 net/phonet/socket.c:215
Code: 44 05 00 00 00 00 00 48 8b 44 24 58 65 48 2b 04 25 28 00 00 00 75 26 48 83 c4 60 44 89 e0 5b 5d 41 5c 41 5d c3 e8 24 6c fd f9 <0f> 0b e8 ed 47 33 fa eb 9f e8 06 49 33 fa e9 6d ff ff ff e8 9c 8c
RSP: 0018:ffff8880b268fc38 EFLAGS: 00010293
RAX: ffff888098854540 RBX: 0000000000000000 RCX: ffffffff8765190c
RDX: 0000000000000000 RSI: ffffffff8765194c RDI: 0000000000000003
RBP: 1ffff110164d1f87 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 7fffffffffffffff
FS:  00005555565b9300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000740 CR3: 00000000a9623000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 pn_socket_connect+0x100/0x8c0 net/phonet/socket.c:240 net/phonet/socket.c:240
 __sys_connect+0x265/0x2c0 net/socket.c:1775 net/socket.c:1775
 __do_sys_connect net/socket.c:1786 [inline]
 __se_sys_connect net/socket.c:1783 [inline]
 __do_sys_connect net/socket.c:1786 [inline] net/socket.c:1783
 __se_sys_connect net/socket.c:1783 [inline] net/socket.c:1783
 __x64_sys_connect+0x6f/0xb0 net/socket.c:1783 net/socket.c:1783
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7facfac394b9
Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffddc8102e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007ffddc8102f8 RCX: 00007facfac394b9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffddc810300
R13: 00007ffddc810320 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace c428b09b9350b47c ]---
RIP: 0010:pn_socket_autobind net/phonet/socket.c:226 [inline]
RIP: 0010:pn_socket_autobind net/phonet/socket.c:226 [inline] net/phonet/socket.c:215
RIP: 0010:pn_socket_autobind+0x13c/0x160 net/phonet/socket.c:215 net/phonet/socket.c:215
Code: 44 05 00 00 00 00 00 48 8b 44 24 58 65 48 2b 04 25 28 00 00 00 75 26 48 83 c4 60 44 89 e0 5b 5d 41 5c 41 5d c3 e8 24 6c fd f9 <0f> 0b e8 ed 47 33 fa eb 9f e8 06 49 33 fa e9 6d ff ff ff e8 9c 8c
RSP: 0018:ffff8880b268fc38 EFLAGS: 00010293
RAX: ffff888098854540 RBX: 0000000000000000 RCX: ffffffff8765190c
RDX: 0000000000000000 RSI: ffffffff8765194c RDI: 0000000000000003
RBP: 1ffff110164d1f87 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 7fffffffffffffff
FS:  00005555565b9300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f06dec50000 CR3: 00000000a9623000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/19 21:14 linux-4.19.y 3f8a27f9e27b 44068e19 .config console log report syz C ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/10/07 11:29 linux-4.19.y 3f8a27f9e27b 79a59635 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/10/02 18:42 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/09/25 14:33 linux-4.19.y 3f8a27f9e27b 0042f2b4 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/09/20 18:26 linux-4.19.y 3f8a27f9e27b c4b8ccfd .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/09/17 07:37 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/09/15 22:16 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/09/09 11:38 linux-4.19.y 3f8a27f9e27b 90058bdc .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/08/31 11:08 linux-4.19.y 3f8a27f9e27b 51e54e30 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/08/29 12:48 linux-4.19.y 3f8a27f9e27b 94da0b6b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/08/19 00:55 linux-4.19.y 3f8a27f9e27b 26a13b38 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/08/16 01:17 linux-4.19.y 3f8a27f9e27b 7a7cb304 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/07/27 11:40 linux-4.19.y 3f8a27f9e27b da9d0366 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/07/18 14:29 linux-4.19.y 3f8a27f9e27b ff988920 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/07/11 23:30 linux-4.19.y 3f8a27f9e27b da3d6955 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/06/27 05:08 linux-4.19.y 3f8a27f9e27b a371c43c .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/06/24 12:58 linux-4.19.y 3f8a27f9e27b a371c43c .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/06/22 15:31 linux-4.19.y 3f8a27f9e27b 0fc5c330 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/06/14 15:43 linux-4.19.y 3f8a27f9e27b 127d1faf .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/06/14 05:15 linux-4.19.y 3f8a27f9e27b 0f087040 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/06/01 19:43 linux-4.19.y 3f8a27f9e27b b4bc6a3d .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/05/31 10:01 linux-4.19.y 3f8a27f9e27b af70c3a9 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/05/11 17:33 linux-4.19.y 3f8a27f9e27b beb0b407 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/05/11 12:55 linux-4.19.y 3f8a27f9e27b 8d7b3b67 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2022/05/04 10:52 linux-4.19.y 3f8a27f9e27b dc9e5259 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2021/11/27 04:01 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
2021/08/23 00:07 linux-4.19.y 59456c9cc40c b599f2fc .config console log report info ci2-linux-4-19 kernel BUG in pn_socket_autobind
* Struck through repros no longer work on HEAD.