syzbot


general protection fault in relay_switch_subbuf

Status: auto-closed as invalid on 2020/07/25 03:12
Reported-by: syzbot+0160082cd978abb9d31d@syzkaller.appspotmail.com
First crash: 1583d, last: 1490d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: use-after-free Read in relay_switch_subbuf block trace C done error 93 543d 2037d 0/26 auto-obsoleted due to no activity on 2023/04/20 06:56
upstream general protection fault in relay_switch_subbuf block trace 4 1917d 1889d 0/26 auto-closed as invalid on 2019/07/23 22:29
upstream general protection fault in relay_switch_subbuf (2) block trace 1 1730d 1721d 0/26 auto-closed as invalid on 2019/10/25 14:11
linux-5.15 KASAN: use-after-free Read in relay_switch_subbuf 2 357d 377d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:04
upstream general protection fault in relay_switch_subbuf (3) block trace 1 1637d 1637d 0/26 auto-closed as invalid on 2020/01/29 10:20
linux-4.19 general protection fault in relay_switch_subbuf 1 1712d 1712d 0/1 auto-closed as invalid on 2019/12/15 08:14
linux-4.19 general protection fault in relay_switch_subbuf (2) 1 1409d 1409d 0/1 auto-closed as invalid on 2020/10/13 07:52
linux-4.19 KASAN: use-after-free Read in relay_switch_subbuf (2) 23 437d 920d 0/1 upstream: reported on 2021/10/17 18:33

Sample crash report:
net_ratelimit: 1 callbacks suppressed
ip_tables: iptables: counters copy to user failed while replacing table
ip_tables: iptables: counters copy to user failed while replacing table
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 10575 Comm: syz-executor.2 Not tainted 4.14.174-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88803f20a400 task.stack: ffff88803ee00000
RIP: 0010:relay_switch_subbuf+0x1ef/0x8f0 kernel/relay.c:754
RSP: 0018:ffff88803ee07ac8 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff888071d71840 RCX: ffffc9000bc5b000
RDX: 000000000000000a RSI: ffffffff815abe57 RDI: 0000000000000050
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffffff8a066498
R10: ffff88803ee07b20 R11: ffff88803f20a400 R12: 0000000000000000
R13: ffff8880462238c0 R14: 0000000000000000 R15: ffff8880462238d8
FS:  00007f5d04aa4700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f304707e830 CR3: 0000000057492000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 relay_flush kernel/relay.c:882 [inline]
 relay_flush+0x1a7/0x270 kernel/relay.c:866
 blk_trace_startstop+0x1f8/0x590 kernel/trace/blktrace.c:657
 blk_trace_ioctl+0x1a1/0x260 kernel/trace/blktrace.c:705
 blkdev_ioctl+0xe9/0x17d0 block/ioctl.c:580
 block_ioctl+0xd9/0x120 fs/block_dev.c:1881
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45c849
RSP: 002b:00007f5d04aa3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5d04aa46d4 RCX: 000000000045c849
RDX: 0000000000000000 RSI: 0000000000001275 RDI: 000000000000000f
RBP: 000000000076c2c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000022a R14: 00000000004c4513 R15: 000000000076c2cc
Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b0 06 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 73 58 49 8d 7e 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 6f 06 00 00 48 ba 00 00 00 00 00 fc ff df 49 
RIP: relay_switch_subbuf+0x1ef/0x8f0 kernel/relay.c:754 RSP: ffff88803ee07ac8
---[ end trace dc94a3cfe49923ff ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/27 03:11 linux-4.14.y 01364dad1d45 6d25c5a0 .config console log report ci2-linux-4-14
2019/12/25 01:49 linux-4.14.y e1f7d50ae3a3 be5c2c81 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.