Hello,
syzbot found the following issue on:
HEAD commit: d9b4a0c83a2d Linux 5.15.98
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1699c07cc80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=b57cfa804330c3b7
dashboard link:
https://syzkaller.appspot.com/bug?extid=e5b47a2bbc8db35fdd42
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=165c19f4c80000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=16e76beac80000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/8088989394e3/disk-d9b4a0c8.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/2651d6753959/vmlinux-d9b4a0c8.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/f3fa3f994f9a/Image-d9b4a0c8.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+e5b47a...@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4051 at mm/page_alloc.c:5396 __alloc_pages+0x40c/0x798 mm/page_alloc.c:5396
Modules linked in:
CPU: 1 PID: 4051 Comm: syz-executor428 Not tainted 5.15.98-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __alloc_pages+0x40c/0x798 mm/page_alloc.c:5396
lr : __alloc_pages+0xc8/0x798 mm/page_alloc.c:5389
sp : ffff80001c8977c0
x29: ffff80001c8978a0 x28: ffff80001c8977e0 x27: dfff800000000000
x26: ffff700003912efc x25: 0000000000000000 x24: ffff80001c897800
x23: ffff800018476544 x22: 0000000000040dc0 x21: ffff80001c897820
x20: 0000000000000000 x19: 000000000000001a x18: 0000000000000000
x17: ff8080000889bb1c x16: 0000000000000000 x15: ffff80000889bb1c
x14: 0000000000000005 x13: ffffffffffffffff x12: 0000000000000005
x11: 1ffff00003912f04 x10: 0000000000000000 x9 : 0000000000000000
x8 : ffff80001c897848 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000020
x2 : 0000000000000008 x1 : 0000000000000000 x0 : ffff80001c897820
Call trace:
__alloc_pages+0x40c/0x798 mm/page_alloc.c:5396
alloc_pages+0x390/0x634
kmalloc_order+0x40/0x154 mm/slab_common.c:966
kmalloc_order_trace+0x30/0x284 mm/slab_common.c:982
kmalloc_large include/linux/slab.h:520 [inline]
__kmalloc+0x32c/0x404 mm/slub.c:4396
kmalloc include/linux/slab.h:596 [inline]
kzalloc include/linux/slab.h:721 [inline]
input_mt_init_slots+0xc0/0x818 drivers/input/input-mt.c:49
uinput_create_device+0x3d0/0x528 drivers/input/misc/uinput.c:327
uinput_ioctl_handler+0x700/0x14b0 drivers/input/misc/uinput.c:870
uinput_ioctl+0x38/0x4c drivers/input/misc/uinput.c:1041
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 <unknown>:584
irq event stamp: 13606
hardirqs last enabled at (13605): [<ffff8000088c98f4>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231
hardirqs last disabled at (13606): [<ffff800011976650>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (13314): [<ffff800008020e1c>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (13314): [<ffff800008020e1c>] __do_softirq+0xcac/0xf48 kernel/softirq.c:587
softirqs last disabled at (13305): [<ffff8000081b8624>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (13305): [<ffff8000081b8624>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (13305): [<ffff8000081b8624>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 453dd4f3d7ce0451 ]---
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches