WARNING in ep_write_iter

Status: upstream: reported C repro on 2026/11/17 04:18
Reported-by: syzbot+dd31bc4b780308fd943e@syzkaller.appspotmail.com
First crash: 1d12h, last: 1d09h
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in ep_write_iter -1 1 1d13h 1d13h 0/3 upstream: reported on 2026/11/17 04:00
linux-6.6 WARNING in ep_write_iter -1 2 1d13h 1d13h 0/2 upstream: reported on 2026/11/17 04:10
upstream WARNING in ep_write_iter prio:low mm -1 C 11 23d 93d 27/29 upstream: reported C repro on 2026/08/16 19:25

Sample crash report:
gadgetfs: bound to dummy_udc driver
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4361 at mm/page_alloc.c:5476 current_gfp_context include/linux/sched/mm.h:-1 [inline]
WARNING: CPU: 1 PID: 4361 at mm/page_alloc.c:5476 __alloc_pages+0x39f/0x480 mm/page_alloc.c:5488
Modules linked in:
CPU: 1 PID: 4361 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:__alloc_pages+0x39f/0x480 mm/page_alloc.c:5476
Code: 31 ff e9 b1 fe ff ff e8 bf e8 14 08 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 4f fd ff ff 4c 89 e7 e8 06 d3 09 00 e9 42 fd ff ff <0f> 0b 45 31 ff e9 ee fe ff ff 65 44 8b 2d 97 72 4d 7e 41 83 fd 08
RSP: 0018:ffffc9000116f9a0 EFLAGS: 00010246
RAX: ffffc9000116f9e0 RBX: 1ffff9200022df38 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc9000116fa08
RBP: ffffc9000116fa98 R08: ffffc9000116fa07 R09: ffffc9000116f9e0
R10: dffffc0000000000 R11: fffff5200022df41 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000040cc0 R15: 0000000000000013
FS:  0000555585723500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff0af87030 CR3: 0000000075a1e000 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]
 ep_write_iter+0x1bb/0x4f0 drivers/usb/gadget/legacy/inode.c:667
 do_iter_readv_writev+0x47d/0x5f0 fs/read_write.c:-1
 do_iter_write+0x1f8/0x7a0 fs/read_write.c:855
 vfs_writev fs/read_write.c:928 [inline]
 do_writev+0x281/0x480 fs/read_write.c:971
 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:0x7f5f8df154d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff0af86cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007f5f8e191fa0 RCX: 00007f5f8df154d9
RDX: 0000000000000002 RSI: 0000200000000440 RDI: 0000000000000004
RBP: 00007f5f8dfa4136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5f8e191fac R14: 00007f5f8e191fa0 R15: 00007f5f8e191fa0
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/17 07:53 linux-5.15.y 29c6cdaac04a a3e64cfc .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ep_write_iter
2026/11/17 07:19 linux-5.15.y 29c6cdaac04a a3e64cfc .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ep_write_iter
2026/11/17 04:18 linux-5.15.y 29c6cdaac04a a3e64cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ep_write_iter
2026/11/17 04:17 linux-5.15.y 29c6cdaac04a a3e64cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ep_write_iter
* Struck through repros no longer work on HEAD.