syzbot


general protection fault in relay_switch_subbuf (2)

Status: auto-closed as invalid on 2020/10/13 07:52
Reported-by: syzbot+f28b3e6d94fa5a8f301c@syzkaller.appspotmail.com
First crash: 1620d, last: 1620d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in relay_switch_subbuf 2 1700d 1793d 0/1 auto-closed as invalid on 2020/07/25 03:12
upstream KASAN: use-after-free Read in relay_switch_subbuf block trace C done error 93 754d 2248d 0/28 auto-obsoleted due to no activity on 2023/04/20 06:56
upstream general protection fault in relay_switch_subbuf block trace 4 2127d 2100d 0/28 auto-closed as invalid on 2019/07/23 22:29
upstream general protection fault in relay_switch_subbuf (2) block trace 1 1940d 1932d 0/28 auto-closed as invalid on 2019/10/25 14:11
linux-5.15 KASAN: use-after-free Read in relay_switch_subbuf 2 567d 588d 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 1848d 1848d 0/28 auto-closed as invalid on 2020/01/29 10:20
linux-4.19 general protection fault in relay_switch_subbuf 1 1923d 1923d 0/1 auto-closed as invalid on 2019/12/15 08:14
linux-4.19 KASAN: use-after-free Read in relay_switch_subbuf (2) 23 648d 1131d 0/1 upstream: reported on 2021/10/17 18:33

Sample crash report:
netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'.
device veth15 entered promiscuous mode
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
CPU: 0 PID: 20603 Comm: systemd-udevd Not tainted 4.19.128-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:relay_switch_subbuf+0x213/0x930 kernel/relay.c:760
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ca 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 89 06 00 00 48 ba 00 00 00 00 00 fc ff df 49 8b
RSP: 0018:ffff88804d6572d8 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: ffff88808aead080 RCX: 1ffff11013ae77ce
RDX: 000000000000000a RSI: ffffffff816836bb RDI: 0000000000000050
RBP: 0000000000000080 R08: ffff88804e966700 R09: 0000000000000010
R10: fffff52002c13ad7 R11: ffffc9001609d6bb R12: 0000000000000040
R13: ffff88809d73bdc0 R14: 0000000000000000 R15: 00000000000007c0
FS:  00007f3a3b2948c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe2c3bdc98 CR3: 0000000097dd8000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 relay_reserve include/linux/relay.h:261 [inline]
 trace_note.isra.0+0x5d6/0x710 kernel/trace/blktrace.c:93
 trace_note_tsk kernel/trace/blktrace.c:124 [inline]
 __blk_add_trace+0xb93/0xe20 kernel/trace/blktrace.c:264
 blk_add_trace_plug+0xfe/0x240 kernel/trace/blktrace.c:969
 trace_block_plug include/trace/events/block.h:456 [inline]
 blk_mq_make_request+0x1460/0x1bc0 block/blk-mq.c:1886
 generic_make_request+0x624/0xe00 block/blk-core.c:2464
 submit_bio+0xb1/0x430 block/blk-core.c:2573
 mpage_bio_submit fs/mpage.c:66 [inline]
 mpage_readpages+0x4ce/0x640 fs/mpage.c:410
 read_pages+0x101/0x610 mm/readahead.c:123
 __do_page_cache_readahead+0x5a3/0x6a0 mm/readahead.c:211
 force_page_cache_readahead+0x1dc/0x320 mm/readahead.c:242
 page_cache_sync_readahead mm/readahead.c:523 [inline]
 page_cache_sync_readahead+0x4b6/0x520 mm/readahead.c:510
 generic_file_buffered_read mm/filemap.c:2115 [inline]
 generic_file_read_iter+0x1502/0x2bd0 mm/filemap.c:2385
 blkdev_read_iter+0x11b/0x180 fs/block_dev.c:1947
 call_read_iter include/linux/fs.h:1815 [inline]
 new_sync_read fs/read_write.c:406 [inline]
 __vfs_read+0x50f/0x740 fs/read_write.c:418
 vfs_read+0x18e/0x3c0 fs/read_write.c:452
 ksys_read+0x12b/0x2a0 fs/read_write.c:579
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f3a3a3db210
Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24
RSP: 002b:00007ffe2c3c0e98 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00005572c5955180 RCX: 00007f3a3a3db210
RDX: 0000000000000040 RSI: 00005572c59551a8 RDI: 000000000000000f
RBP: 00005572c5955050 R08: 0000000000000000 R09: 0000000000000070
R10: 000000000000006d R11: 0000000000000246 R12: 00000000080f0000
R13: 00000000080f0040 R14: 00005572c59550a0 R15: 0000000000000040
Modules linked in:
---[ end trace 0b0c7a88a4427298 ]---
RIP: 0010:relay_switch_subbuf+0x213/0x930 kernel/relay.c:760
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ca 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 89 06 00 00 48 ba 00 00 00 00 00 fc ff df 49 8b
RSP: 0018:ffff88804d6572d8 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: ffff88808aead080 RCX: 1ffff11013ae77ce
RDX: 000000000000000a RSI: ffffffff816836bb RDI: 0000000000000050
RBP: 0000000000000080 R08: ffff88804e966700 R09: 0000000000000010
R10: fffff52002c13ad7 R11: ffffc9001609d6bb R12: 0000000000000040
R13: ffff88809d73bdc0 R14: 0000000000000000 R15: 00000000000007c0
FS:  00007f3a3b2948c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe2c3bdc98 CR3: 0000000097dd8000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/15 07:51 linux-4.19.y 3fc898571b97 2a22c77a .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.