syzbot


BUG: unable to handle kernel paging request in insert_char

Status: upstream: reported C repro on 2019/12/13 18:49
Reported-by: syzbot+5c72dffac655d688ba3f@syzkaller.appspotmail.com
First crash: 1567d, last: 1339d
Fix bisection the fix commit could be any of (bisect log):
  a844dc4c5442 Linux 4.14.158
  56dfe6252c68 Linux 4.14.188
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: unable to handle kernel paging request in insert_char C done 46 1353d 1573d 1/1 fixed on 2020/08/14 11:39
upstream BUG: unable to handle kernel paging request in insert_char serial C inconclusive done 173 1371d 1570d 0/26 closed as dup on 2020/07/27 22:45
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/01/28 16:32 10m retest repro linux-4.14.y report log
2022/09/09 16:27 9m retest repro linux-4.14.y report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2020/07/10 12:35 30m bisect fix linux-4.14.y job log (2)
2020/06/05 14:22 23m bisect fix linux-4.14.y job log (0) log
2020/05/06 13:56 25m bisect fix linux-4.14.y job log (0) log
2020/04/06 13:33 23m bisect fix linux-4.14.y job log (0) log
2020/03/07 13:08 24m bisect fix linux-4.14.y job log (0) log

Sample crash report:
audit: type=1400 audit(1576540318.353:36): avc:  denied  { map } for  pid=7169 comm="syz-executor319" path="/root/syz-executor319615387" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
BUG: unable to handle kernel paging request at 000000010000000e
IP: memset16 arch/x86/include/asm/string_64.h:58 [inline]
IP: scr_memsetw include/linux/vt_buffer.h:36 [inline]
IP: insert_char+0x107/0x290 drivers/tty/vt/vt.c:535
PGD 9be5a067 P4D 9be5a067 PUD 0 
Oops: 0002 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 7169 Comm: syz-executor319 Not tainted 4.14.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88808e7fa640 task.stack: ffff8880a13b8000
RIP: 0010:memset16 arch/x86/include/asm/string_64.h:58 [inline]
RIP: 0010:scr_memsetw include/linux/vt_buffer.h:36 [inline]
RIP: 0010:insert_char+0x107/0x290 drivers/tty/vt/vt.c:535
RSP: 0018:ffff8880a13bf838 EFLAGS: 00010202
RAX: 0000000000000720 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 1ffff1101498caa1 RSI: 000000010000000e RDI: 000000010000000e
RBP: ffff8880a13bf868 R08: ffff8880a4c6550c R09: 0000000000000002
R10: 0000000000000000 R11: ffff88808e7fa640 R12: ffff8880a4c65140
R13: ffff8880a4c654cc R14: ffff8880a4c65474 R15: 000000010000000e
FS:  0000000000975880(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000010000000e CR3: 0000000090914000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 csi_at drivers/tty/vt/vt.c:1627 [inline]
 do_con_trol+0x35bd/0x5b40 drivers/tty/vt/vt.c:2074
 do_con_write.part.0+0xcc7/0x1b50 drivers/tty/vt/vt.c:2434
 do_con_write drivers/tty/vt/vt.c:2205 [inline]
 con_write+0x38/0xc0 drivers/tty/vt/vt.c:2787
 process_output_block drivers/tty/n_tty.c:595 [inline]
 n_tty_write+0x38b/0xee0 drivers/tty/n_tty.c:2333
 do_tty_write drivers/tty/tty_io.c:959 [inline]
 tty_write+0x3f6/0x700 drivers/tty/tty_io.c:1043
 __vfs_write+0x105/0x6b0 fs/read_write.c:480
 vfs_write+0x198/0x500 fs/read_write.c:544
 SYSC_write fs/read_write.c:590 [inline]
 SyS_write+0xfd/0x230 fs/read_write.c:582
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x4404f9
RSP: 002b:00007ffd19b72328 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004404f9
RDX: 0000000000000078 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401de0
R13: 0000000000401e70 R14: 0000000000000000 R15: 0000000000000000
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 01 0f 8e 3b 01 00 00 41 0f b7 84 24 c8 03 00 00 d1 eb 4c 89 ff 89 d9 <f3> 66 ab 49 8d bc 24 78 04 00 00 48 b8 00 00 00 00 00 fc ff df 
RIP: memset16 arch/x86/include/asm/string_64.h:58 [inline] RSP: ffff8880a13bf838
RIP: scr_memsetw include/linux/vt_buffer.h:36 [inline] RSP: ffff8880a13bf838
RIP: insert_char+0x107/0x290 drivers/tty/vt/vt.c:535 RSP: ffff8880a13bf838
CR2: 000000010000000e
---[ end trace 7d3d4e07c436daba ]---

Crashes (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/16 23:54 linux-4.14.y a844dc4c5442 0ae38e44 .config console log report syz C ci2-linux-4-14
2020/07/28 13:25 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/06/10 12:35 linux-4.14.y c6db52a88798 5caaad3a .config console log report ci2-linux-4-14
2020/06/09 13:48 linux-4.14.y c6db52a88798 092934c1 .config console log report ci2-linux-4-14
2020/06/08 11:21 linux-4.14.y c6db52a88798 7604bb03 .config console log report ci2-linux-4-14
2020/02/06 13:08 linux-4.14.y e0f8b8a65a47 5be3a391 .config console log report ci2-linux-4-14
2020/02/04 11:40 linux-4.14.y 9fa690a2a016 93e5e335 .config console log report ci2-linux-4-14
2020/02/01 22:37 linux-4.14.y 9fa690a2a016 2274ad39 .config console log report ci2-linux-4-14
2020/01/23 08:22 linux-4.14.y 8bac50406cca 3334d684 .config console log report ci2-linux-4-14
2020/01/15 16:37 linux-4.14.y c04fc6fa5c96 069a5a44 .config console log report ci2-linux-4-14
2020/01/14 19:47 linux-4.14.y c04fc6fa5c96 fa12bd3c .config console log report ci2-linux-4-14
2020/01/13 11:28 linux-4.14.y 6d0c334a400d 99565c1a .config console log report ci2-linux-4-14
2020/01/12 11:02 linux-4.14.y b0cdffaa546e 31290a45 .config console log report ci2-linux-4-14
2020/01/11 03:54 linux-4.14.y b0cdffaa546e 4c04afaa .config console log report ci2-linux-4-14
2020/01/11 00:35 linux-4.14.y b0cdffaa546e 532ec44e .config console log report ci2-linux-4-14
2020/01/10 15:46 linux-4.14.y b0cdffaa546e 532ec44e .config console log report ci2-linux-4-14
2020/01/08 23:30 linux-4.14.y 84f5ad468100 ddc3e859 .config console log report ci2-linux-4-14
2019/12/30 17:53 linux-4.14.y e1f7d50ae3a3 6b36d338 .config console log report ci2-linux-4-14
2019/12/18 19:48 linux-4.14.y bfb9e5c03076 79b211f7 .config console log report ci2-linux-4-14
2019/12/18 05:12 linux-4.14.y bfb9e5c03076 64ca0a37 .config console log report ci2-linux-4-14
2019/12/13 18:48 linux-4.14.y a844dc4c5442 a5c1ab05 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.