kernel BUG in pn_socket_autobind

7 views
Skip to first unread message

syzbot

unread,
Apr 9, 2021, 2:14:24 PM4/9/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: b4454811 Linux 4.19.185
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16b546a6d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=f1617d95e525cca8
dashboard link: https://syzkaller.appspot.com/bug?extid=a34284622dd093f2f7c1

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

------------[ cut here ]------------
kernel BUG at net/phonet/socket.c:226!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 27791 Comm: syz-executor.2 Not tainted 4.19.185-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+0x13c/0x160 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 b4 84 fe f9 <0f> 0b e8 cd 44 34 fa eb 9f e8 e6 45 34 fa e9 6d ff ff ff e8 0c cc
RSP: 0018:ffff88803a6bfc38 EFLAGS: 00010216
RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90009f25000
RDX: 00000000000000a4 RSI: ffffffff8763d8ac RDI: 0000000000000003
RBP: 1ffff110074d7f87 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000010 R15: 7fffffffffffffff
FS: 00007f0dfef83700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc778e5cfe8 CR3: 00000000408f4000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pn_socket_connect+0x100/0x8c0 net/phonet/socket.c:240
__sys_connect+0x265/0x2c0 net/socket.c:1663
__do_sys_connect net/socket.c:1674 [inline]
__se_sys_connect net/socket.c:1671 [inline]
__x64_sys_connect+0x6f/0xb0 net/socket.c:1671
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x466459
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:00007f0dfef83188 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffeb4c60adf R14: 00007f0dfef83300 R15: 0000000000022000
Modules linked in:
---[ end trace 0f8a4e273248a6a5 ]---
BTRFS warning (device <unknown>): duplicate device /dev/loop1 devid 1 generation 7 scanned by syz-executor.1 (27790)
BTRFS info (device loop4): disk space caching is enabled
RIP: 0010:pn_socket_autobind net/phonet/socket.c:226 [inline]
RIP: 0010:pn_socket_autobind+0x13c/0x160 net/phonet/socket.c:215
BTRFS info (device loop4): has skinny extents
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 b4 84 fe f9 <0f> 0b e8 cd 44 34 fa eb 9f e8 e6 45 34 fa e9 6d ff ff ff e8 0c cc
BTRFS warning (device <unknown>): duplicate device /dev/loop1 devid 1 generation 7 scanned by systemd-udevd (27775)
RSP: 0018:ffff88803a6bfc38 EFLAGS: 00010216
BTRFS warning (device <unknown>): duplicate device /dev/loop3 devid 1 generation 7 scanned by syz-executor.3 (27809)
RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90009f25000
RDX: 00000000000000a4 RSI: ffffffff8763d8ac RDI: 0000000000000003
RBP: 1ffff110074d7f87 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000010 R15: 7fffffffffffffff
FS: 00007f0dfef83700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
BTRFS warning (device <unknown>): duplicate device /dev/loop3 devid 1 generation 7 scanned by systemd-udevd (27761)
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6bcbd3b718 CR3: 00000000408f4000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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,
Aug 7, 2021, 2:14:15 PM8/7/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages