[v5.15] WARNING in raw_ioctl

0 views
Skip to first unread message

syzbot

unread,
Oct 29, 2025, 12:52:35 PM (4 days ago) Oct 29
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: cc5ec8769306 Linux 5.15.196
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14b64bcd980000
kernel config: https://syzkaller.appspot.com/x/.config?x=e1bb6d24ef2164eb
dashboard link: https://syzkaller.appspot.com/bug?extid=38d63b587d0e251d2f26
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/c71c660545b2/disk-cc5ec876.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/4f011826cca6/vmlinux-cc5ec876.xz
kernel image: https://storage.googleapis.com/syzbot-assets/8ccd1a2c3f8c/bzImage-cc5ec876.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+38d63b...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 5702 at mm/page_alloc.c:5462 current_gfp_context include/linux/sched/mm.h:-1 [inline]
WARNING: CPU: 0 PID: 5702 at mm/page_alloc.c:5462 __alloc_pages+0x391/0x470 mm/page_alloc.c:5474
Modules linked in:
CPU: 0 PID: 5702 Comm: syz.0.383 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__alloc_pages+0x391/0x470 mm/page_alloc.c:5462
Code: 31 ff e9 b2 fe ff ff e8 fd e6 f6 07 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 50 fd ff ff 4c 89 e7 e8 34 ad 09 00 e9 43 fd ff ff <0f> 0b 45 31 ff e9 ef fe ff ff 65 44 8b 2d 55 8e 4f 7e 41 83 fd 08
RSP: 0018:ffffc9000362fa60 EFLAGS: 00010246
RAX: ffffc9000362faa0 RBX: 1ffff920006c5f50 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc9000362fac8
RBP: ffffc9000362fb58 R08: dffffc0000000000 R09: ffffc9000362faa0
R10: fffff520006c5f59 R11: 1ffff920006c5f54 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000040cc0 R15: 0000000000000013
FS: 00007f10cb5476c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32713ff8 CR3: 0000000058380000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
kmalloc_order+0x40/0x150 mm/slab_common.c:986
kmalloc_order_trace+0x14/0xf0 mm/slab_common.c:1002
kmalloc include/linux/slab.h:612 [inline]
raw_alloc_io_data drivers/usb/gadget/legacy/raw_gadget.c:626 [inline]
raw_ioctl_ep_read drivers/usb/gadget/legacy/raw_gadget.c:1110 [inline]
raw_ioctl+0x1600/0x3560 drivers/usb/gadget/legacy/raw_gadget.c:1274
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f10cd2dffc9
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:00007f10cb547038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f10cd536fa0 RCX: 00007f10cd2dffc9
RDX: 00002000000000c0 RSI: 00000000c0085508 RDI: 0000000000000004
RBP: 00007f10cd362f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f10cd537038 R14: 00007f10cd536fa0 R15: 00007fffcca4cf38
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Oct 29, 2025, 1:15:36 PM (4 days ago) Oct 29
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: e5bbb12db2c7 Linux 6.6.115
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11e23fe2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=12606d4b8832c7e4
dashboard link: https://syzkaller.appspot.com/bug?extid=25aafda8a91aa982b3cf
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/e6860876f0ec/disk-e5bbb12d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/d6c28d7cc7f3/vmlinux-e5bbb12d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/8f52ba3964b2/bzImage-e5bbb12d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+25aafd...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 7871 at mm/page_alloc.c:4433 __alloc_pages+0x2de/0x460 mm/page_alloc.c:4433
Modules linked in:
CPU: 0 PID: 7871 Comm: syz.5.526 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__alloc_pages+0x2de/0x460 mm/page_alloc.c:4433
Code: 0c 25 28 00 00 00 48 3b 8c 24 a0 00 00 00 0f 85 a0 00 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 c6 05 4c 21 64 0c 01 <0f> 0b eb a5 a9 00 00 08 00 8b 74 24 0c 75 3e 44 89 f1 81 e1 7f ff
RSP: 0018:ffffc9000439fa00 EFLAGS: 00010246
RAX: ffffc9000439fa00 RBX: 1ffff92000873f44 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000439fa68
RBP: ffffc9000439fb00 R08: ffffc9000439fa67 R09: 0000000000000000
R10: ffffc9000439fa40 R11: fffff52000873f4d R12: 0000000000000012
R13: 0000000000000000 R14: 0000000000040cc0 R15: dffffc0000000000
FS: 00007fc9192016c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c40d2dd CR3: 000000006b445000 CR4: 00000000003506f0
Call Trace:
<TASK>
__alloc_pages_node include/linux/gfp.h:237 [inline]
alloc_pages_node include/linux/gfp.h:260 [inline]
__kmalloc_large_node+0x8c/0x1e0 mm/slab_common.c:1148
__do_kmalloc_node mm/slab_common.c:995 [inline]
__kmalloc+0x111/0x240 mm/slab_common.c:1020
kmalloc include/linux/slab.h:604 [inline]
raw_alloc_io_data drivers/usb/gadget/legacy/raw_gadget.c:626 [inline]
raw_ioctl_ep_read drivers/usb/gadget/legacy/raw_gadget.c:1117 [inline]
raw_ioctl+0x1944/0x3b70 drivers/usb/gadget/legacy/raw_gadget.c:1280
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc91838efc9
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:00007fc919201038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc9185e5fa0 RCX: 00007fc91838efc9
RDX: 00002000000000c0 RSI: 00000000c0085508 RDI: 0000000000000003
RBP: 00007fc918411f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc9185e6038 R14: 00007fc9185e5fa0 R15: 00007ffd4f2d72d8

syzbot

unread,
Oct 29, 2025, 2:33:34 PM (4 days ago) Oct 29
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f6e38ae624cf Linux 6.1.158
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=176d0e14580000
kernel config: https://syzkaller.appspot.com/x/.config?x=7eb38bd5021fec61
dashboard link: https://syzkaller.appspot.com/bug?extid=51caeea9407f03978ea4
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2b7003e2661d/disk-f6e38ae6.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/0696cea8d016/vmlinux-f6e38ae6.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6b7a89e636d7/bzImage-f6e38ae6.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+51caee...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 5136 at mm/page_alloc.c:5590 __alloc_pages+0x2f4/0x4e0 mm/page_alloc.c:5590
Modules linked in:
CPU: 0 PID: 5136 Comm: syz.1.273 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__alloc_pages+0x2f4/0x4e0 mm/page_alloc.c:5590
Code: 0c 25 28 00 00 00 48 3b 8c 24 a0 00 00 00 0f 85 a0 00 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 c6 05 32 1f 45 0c 01 <0f> 0b eb a5 a9 00 00 08 00 8b 74 24 04 75 3e 44 89 f1 81 e1 7f ff
RSP: 0018:ffffc90002f97a00 EFLAGS: 00010246
RAX: ffffc90002f97a00 RBX: 1ffff920005f2f44 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc90002f97a68
RBP: ffffc90002f97b00 R08: dffffc0000000000 R09: ffffc90002f97a40
R10: fffff520005f2f4d R11: 1ffff920005f2f48 R12: 0000000000000013
R13: 0000000000000000 R14: 0000000000040cc0 R15: dffffc0000000000
FS: 00007fa1cb6f96c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa1cb6f7fe0 CR3: 00000000797d1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__alloc_pages_node include/linux/gfp.h:237 [inline]
alloc_pages_node include/linux/gfp.h:260 [inline]
__kmalloc_large_node+0x8c/0x1e0 mm/slab_common.c:1077
__do_kmalloc_node mm/slab_common.c:924 [inline]
__kmalloc+0x110/0x240 mm/slab_common.c:949
kmalloc include/linux/slab.h:568 [inline]
raw_alloc_io_data drivers/usb/gadget/legacy/raw_gadget.c:626 [inline]
raw_ioctl_ep_read drivers/usb/gadget/legacy/raw_gadget.c:1117 [inline]
raw_ioctl+0x17c7/0x39c0 drivers/usb/gadget/legacy/raw_gadget.c:1280
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa1ca78efc9
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:00007fa1cb6f9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fa1ca9e5fa0 RCX: 00007fa1ca78efc9
RDX: 00002000000000c0 RSI: 00000000c0085508 RDI: 0000000000000003
RBP: 00007fa1ca811f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa1ca9e6038 R14: 00007fa1ca9e5fa0 R15: 00007fffb8979cc8

syzbot

unread,
Oct 29, 2025, 11:52:33 PM (4 days ago) Oct 29
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: e5bbb12db2c7 Linux 6.6.115
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17c19258580000
kernel config: https://syzkaller.appspot.com/x/.config?x=12606d4b8832c7e4
dashboard link: https://syzkaller.appspot.com/bug?extid=25aafda8a91aa982b3cf
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15e7e704580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17974bcd980000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/e6860876f0ec/disk-e5bbb12d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/d6c28d7cc7f3/vmlinux-e5bbb12d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/8f52ba3964b2/bzImage-e5bbb12d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+25aafd...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 5942 at mm/page_alloc.c:4433 __alloc_pages+0x2de/0x460 mm/page_alloc.c:4433
Modules linked in:
CPU: 0 PID: 5942 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__alloc_pages+0x2de/0x460 mm/page_alloc.c:4433
Code: 0c 25 28 00 00 00 48 3b 8c 24 a0 00 00 00 0f 85 a0 00 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 c6 05 4c 21 64 0c 01 <0f> 0b eb a5 a9 00 00 08 00 8b 74 24 0c 75 3e 44 89 f1 81 e1 7f ff
RSP: 0018:ffffc90003397a00 EFLAGS: 00010246
RAX: ffffc90003397a00 RBX: 1ffff92000672f44 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90003397a68
RBP: ffffc90003397b00 R08: ffffc90003397a67 R09: 0000000000000000
R10: ffffc90003397a40 R11: fffff52000672f4d R12: 0000000000000012
R13: 0000000000000000 R14: 0000000000040cc0 R15: dffffc0000000000
FS: 0000555555fab500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcb1022ff8 CR3: 000000002554c000 CR4: 00000000003506f0
Call Trace:
<TASK>
__alloc_pages_node include/linux/gfp.h:237 [inline]
alloc_pages_node include/linux/gfp.h:260 [inline]
__kmalloc_large_node+0x8c/0x1e0 mm/slab_common.c:1148
__do_kmalloc_node mm/slab_common.c:995 [inline]
__kmalloc+0x111/0x240 mm/slab_common.c:1020
kmalloc include/linux/slab.h:604 [inline]
raw_alloc_io_data drivers/usb/gadget/legacy/raw_gadget.c:626 [inline]
raw_ioctl_ep_read drivers/usb/gadget/legacy/raw_gadget.c:1117 [inline]
raw_ioctl+0x1944/0x3b70 drivers/usb/gadget/legacy/raw_gadget.c:1280
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb2a518efc9
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:00007ffcb10252f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fb2a53e5fa0 RCX: 00007fb2a518efc9
RDX: 00002000000000c0 RSI: 00000000c0085508 RDI: 0000000000000003
RBP: 00007fb2a5211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb2a53e5fa0 R14: 00007fb2a53e5fa0 R15: 0000000000000003
</TASK>


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Oct 30, 2025, 12:17:25 AM (4 days ago) Oct 30
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: cc5ec8769306 Linux 5.15.196
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1243232f980000
kernel config: https://syzkaller.appspot.com/x/.config?x=e1bb6d24ef2164eb
dashboard link: https://syzkaller.appspot.com/bug?extid=38d63b587d0e251d2f26
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15025932580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15278342580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/c71c660545b2/disk-cc5ec876.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/4f011826cca6/vmlinux-cc5ec876.xz
kernel image: https://storage.googleapis.com/syzbot-assets/8ccd1a2c3f8c/bzImage-cc5ec876.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+38d63b...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 4335 at mm/page_alloc.c:5462 current_gfp_context include/linux/sched/mm.h:-1 [inline]
WARNING: CPU: 0 PID: 4335 at mm/page_alloc.c:5462 __alloc_pages+0x391/0x470 mm/page_alloc.c:5474
Modules linked in:
CPU: 0 PID: 4335 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__alloc_pages+0x391/0x470 mm/page_alloc.c:5462
Code: 31 ff e9 b2 fe ff ff e8 fd e6 f6 07 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 50 fd ff ff 4c 89 e7 e8 34 ad 09 00 e9 43 fd ff ff <0f> 0b 45 31 ff e9 ef fe ff ff 65 44 8b 2d 55 8e 4f 7e 41 83 fd 08
RSP: 0018:ffffc9000339fa60 EFLAGS: 00010246
RAX: ffffc9000339faa0 RBX: 1ffff92000673f50 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc9000339fac8
RBP: ffffc9000339fb58 R08: dffffc0000000000 R09: ffffc9000339faa0
R10: fffff52000673f59 R11: 1ffff92000673f54 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000040cc0 R15: 0000000000000013
FS: 000055558984d500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffec2b72fe8 CR3: 00000000297fa000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
kmalloc_order+0x40/0x150 mm/slab_common.c:986
kmalloc_order_trace+0x14/0xf0 mm/slab_common.c:1002
kmalloc include/linux/slab.h:612 [inline]
raw_alloc_io_data drivers/usb/gadget/legacy/raw_gadget.c:626 [inline]
raw_ioctl_ep_read drivers/usb/gadget/legacy/raw_gadget.c:1110 [inline]
raw_ioctl+0x1600/0x3560 drivers/usb/gadget/legacy/raw_gadget.c:1274
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa1b9f33fc9
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:00007ffec2b75818 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fa1ba18afa0 RCX: 00007fa1b9f33fc9
RDX: 00002000000000c0 RSI: 00000000c0085508 RDI: 0000000000000004
RBP: 00007fa1b9fb6f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa1ba18afa0 R14: 00007fa1ba18afa0 R15: 0000000000000003

syzbot

unread,
Oct 30, 2025, 3:21:46 AM (4 days ago) Oct 30
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: f6e38ae624cf Linux 6.1.158
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15f59258580000
kernel config: https://syzkaller.appspot.com/x/.config?x=7eb38bd5021fec61
dashboard link: https://syzkaller.appspot.com/bug?extid=51caeea9407f03978ea4
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10d04342580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=156f3fe2580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2b7003e2661d/disk-f6e38ae6.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/0696cea8d016/vmlinux-f6e38ae6.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6b7a89e636d7/bzImage-f6e38ae6.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+51caee...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 4438 at mm/page_alloc.c:5590 __alloc_pages+0x2f4/0x4e0 mm/page_alloc.c:5590
Modules linked in:
CPU: 0 PID: 4438 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__alloc_pages+0x2f4/0x4e0 mm/page_alloc.c:5590
Code: 0c 25 28 00 00 00 48 3b 8c 24 a0 00 00 00 0f 85 a0 00 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 c6 05 32 1f 45 0c 01 <0f> 0b eb a5 a9 00 00 08 00 8b 74 24 04 75 3e 44 89 f1 81 e1 7f ff
RSP: 0018:ffffc900032e7a00 EFLAGS: 00010246
RAX: ffffc900032e7a00 RBX: 1ffff9200065cf44 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc900032e7a68
RBP: ffffc900032e7b00 R08: dffffc0000000000 R09: ffffc900032e7a40
R10: fffff5200065cf4d R11: 1ffff9200065cf48 R12: 0000000000000013
R13: 0000000000000000 R14: 0000000000040cc0 R15: dffffc0000000000
FS: 000055557a19f500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdf2c22df0 CR3: 000000001e3d8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__alloc_pages_node include/linux/gfp.h:237 [inline]
alloc_pages_node include/linux/gfp.h:260 [inline]
__kmalloc_large_node+0x8c/0x1e0 mm/slab_common.c:1077
__do_kmalloc_node mm/slab_common.c:924 [inline]
__kmalloc+0x110/0x240 mm/slab_common.c:949
kmalloc include/linux/slab.h:568 [inline]
raw_alloc_io_data drivers/usb/gadget/legacy/raw_gadget.c:626 [inline]
raw_ioctl_ep_read drivers/usb/gadget/legacy/raw_gadget.c:1117 [inline]
raw_ioctl+0x17c7/0x39c0 drivers/usb/gadget/legacy/raw_gadget.c:1280
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0b2018efc9
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:00007ffdf2c23e48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0b203e5fa0 RCX: 00007f0b2018efc9
RDX: 00002000000000c0 RSI: 00000000c0085508 RDI: 0000000000000003
RBP: 00007f0b20211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0b203e5fa0 R14: 00007f0b203e5fa0 R15: 0000000000000003
Reply all
Reply to author
Forward
0 new messages