syzbot


BUG: unable to handle kernel paging request in uinput_destroy_device

Status: premoderation: reported C repro on 2025/10/12 02:11
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+313adb94da7c4bb52208@syzkaller.appspotmail.com
First crash: 14d, last: 14d
Bug presence (2)
Date Name Commit Repro Result
2025/10/17 lts (merge base) b0c51e95f54e C [report] BUG: unable to handle kernel paging request in uinput_destroy_device
2025/10/17 upstream (ToT) 6f3b6e91f720 C [report] BUG: unable to handle kernel paging request in uinput_destroy_device
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in uinput_destroy_device input 8 syz 1 14d 12d 0/29 upstream: reported syz repro on 2025/10/13 21:58
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/10/26 06:16 4m retest repro android16-6.12 error

Sample crash report:
input: syz1 as /devices/virtual/input/input457
BUG: unable to handle page fault for address: fffffffffffffff8
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 72ac067 P4D 72ac067 PUD 72ae067 PMD 0 
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 880 Comm: syz.0.470 Not tainted syzkaller #0 1f5813a52420658c51670c32aa0b3f2b32c06bdf
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:swake_up_locked kernel/sched/swait.c:29 [inline]
RIP: 0010:complete_with_flags kernel/sched/completion.c:24 [inline]
RIP: 0010:complete+0xa2/0x1d0 kernel/sched/completion.c:47
Code: e7 e8 a2 8c 79 00 4d 8b 3c 24 4d 39 e7 0f 84 db 00 00 00 49 8d 7f f8 48 89 f8 48 c1 e8 03 42 80 3c 30 00 74 05 e8 7e 8c 79 00 <49> 8b 7f f8 be 03 00 00 00 31 d2 e8 6e ab f8 ff 4c 89 ff e8 e6 ea
RSP: 0018:ffffc900007efce0 EFLAGS: 00010046
RAX: 1fffffffffffffff RBX: ffffc90004637a78 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000004 RDI: fffffffffffffff8
RBP: ffffc900007efd18 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520000fdf88 R12: ffffc90004637a80
R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000555581490500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff8 CR3: 000000011e508000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 uinput_flush_requests drivers/input/misc/uinput.c:213 [inline]
 uinput_destroy_device+0x129/0x900 drivers/input/misc/uinput.c:298
 uinput_release+0x3f/0x70 drivers/input/misc/uinput.c:758
 __fput+0x1fe/0xa00 fs/file_table.c:429
 ____fput+0x20/0x30 fs/file_table.c:457
 task_work_run+0x1e0/0x250 kernel/task_work.c:240
 resume_user_mode_work+0x36/0x50 include/linux/resume_user_mode.h:50
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x64/0xb0 kernel/entry/common.c:218
 do_syscall_64+0x64/0xf0 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fd36138eec9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe330c8428 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 000000000000985e RCX: 00007fd36138eec9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000001 R09: 00000006330c871f
R10: 0000001b33520000 R11: 0000000000000246 R12: 00007fd3615e5fac
R13: 00007fd3615e5fa0 R14: ffffffffffffffff R15: 0000000000000002
 </TASK>
Modules linked in:
CR2: fffffffffffffff8
---[ end trace 0000000000000000 ]---
RIP: 0010:swake_up_locked kernel/sched/swait.c:29 [inline]
RIP: 0010:complete_with_flags kernel/sched/completion.c:24 [inline]
RIP: 0010:complete+0xa2/0x1d0 kernel/sched/completion.c:47
Code: e7 e8 a2 8c 79 00 4d 8b 3c 24 4d 39 e7 0f 84 db 00 00 00 49 8d 7f f8 48 89 f8 48 c1 e8 03 42 80 3c 30 00 74 05 e8 7e 8c 79 00 <49> 8b 7f f8 be 03 00 00 00 31 d2 e8 6e ab f8 ff 4c 89 ff e8 e6 ea
RSP: 0018:ffffc900007efce0 EFLAGS: 00010046
RAX: 1fffffffffffffff RBX: ffffc90004637a78 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000004 RDI: fffffffffffffff8
RBP: ffffc900007efd18 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520000fdf88 R12: ffffc90004637a80
R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000555581490500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff8 CR3: 000000011e508000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	e7 e8                	out    %eax,$0xe8
   2:	a2 8c 79 00 4d 8b 3c 	movabs %al,0x4d243c8b4d00798c
   9:	24 4d
   b:	39 e7                	cmp    %esp,%edi
   d:	0f 84 db 00 00 00    	je     0xee
  13:	49 8d 7f f8          	lea    -0x8(%r15),%rdi
  17:	48 89 f8             	mov    %rdi,%rax
  1a:	48 c1 e8 03          	shr    $0x3,%rax
  1e:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1)
  23:	74 05                	je     0x2a
  25:	e8 7e 8c 79 00       	call   0x798ca8
* 2a:	49 8b 7f f8          	mov    -0x8(%r15),%rdi <-- trapping instruction
  2e:	be 03 00 00 00       	mov    $0x3,%esi
  33:	31 d2                	xor    %edx,%edx
  35:	e8 6e ab f8 ff       	call   0xfff8aba8
  3a:	4c 89 ff             	mov    %r15,%rdi
  3d:	e8                   	.byte 0xe8
  3e:	e6 ea                	out    %al,$0xea

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/12 02:10 android16-6.12 fbb5490cc8c3 ff1712fe .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in uinput_destroy_device
* Struck through repros no longer work on HEAD.