kernel BUG in sock_write_iter

Status: upstream: reported C repro on 2026/10/01 20:45
Reported-by: syzbot+21fbf765280487df7019@syzkaller.appspotmail.com
First crash: 8d08h, last: 8d08h
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-12 kernel BUG in sock_write_iter -1 syz, C 2 13d 30d 0/1 premoderation: reported C repro on 2026/09/09 22:48
android-6-1 kernel BUG in sock_write_iter -1 syz, C 4 11d 26d 0/2 upstream: reported C repro on 2026/09/13 18:43
android-5-15 kernel BUG in sock_write_iter -1 syz, C 2 1d14h 22d 0/2 upstream: reported C repro on 2026/09/18 05:26

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/socket.c:655!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 297 Comm: syz-executor405 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:sock_sendmsg_nosec net/socket.c:655 [inline]
RIP: 0010:__sock_sendmsg net/socket.c:664 [inline]
RIP: 0010:sock_write_iter+0x39d/0x3a0 net/socket.c:1019
Code: 08 fe e9 98 fe ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 34 fe ff ff 4c 89 ef e8 6d ca 08 fe e9 27 fe ff ff e8 33 48 ce fd <0f> 0b 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 38 48 89
RSP: 0018:ffffc90000b07b80 EFLAGS: 00010293
RAX: ffffffff83966d1d RBX: 00000000fffffdef RCX: ffff88810af26400
RDX: 0000000000000000 RSI: 00000000fffffdef RDI: 00000000fffffdef
RBP: ffffc90000b07c90 R08: ffff88810aeba51f R09: 1ffff110215d74a3
R10: dffffc0000000000 R11: ffffed10215d74a4 R12: dffffc0000000000
R13: ffff88811cbb12e0 R14: ffffc90000b07bc0 R15: 1ffff92000160f74
FS:  0000555574c2b3c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000463390 CR3: 00000001214cc000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 call_write_iter include/linux/fs.h:2072 [inline]
 new_sync_write fs/read_write.c:518 [inline]
 vfs_write+0x770/0xd70 fs/read_write.c:605
 ksys_write+0x14a/0x260 fs/read_write.c:658
 __do_sys_write fs/read_write.c:670 [inline]
 __se_sys_write fs/read_write.c:667 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:667
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f7eb6d56cb9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd493b3578 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000200000000000 RCX: 00007f7eb6d56cb9
RDX: 0000000000000001 RSI: 0000200000000000 RDI: 0000000000000003
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd493b36b8
R13: 0000000000000002 R14: 00002000000000c0 R15: 0000000000000002
Modules linked in:
---[ end trace d28c8eb13e364de4 ]---
RIP: 0010:sock_sendmsg_nosec net/socket.c:655 [inline]
RIP: 0010:__sock_sendmsg net/socket.c:664 [inline]
RIP: 0010:sock_write_iter+0x39d/0x3a0 net/socket.c:1019
Code: 08 fe e9 98 fe ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 34 fe ff ff 4c 89 ef e8 6d ca 08 fe e9 27 fe ff ff e8 33 48 ce fd <0f> 0b 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 38 48 89
RSP: 0018:ffffc90000b07b80 EFLAGS: 00010293
RAX: ffffffff83966d1d RBX: 00000000fffffdef RCX: ffff88810af26400
RDX: 0000000000000000 RSI: 00000000fffffdef RDI: 00000000fffffdef
RBP: ffffc90000b07c90 R08: ffff88810aeba51f R09: 1ffff110215d74a3
R10: dffffc0000000000 R11: ffffed10215d74a4 R12: dffffc0000000000
R13: ffff88811cbb12e0 R14: ffffc90000b07bc0 R15: 1ffff92000160f74
FS:  0000555574c2b3c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000463390 CR3: 00000001214cc000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/01 20:45 android13-5.10-lts 27ea5541934c f5cdae2f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in sock_write_iter
* Struck through repros no longer work on HEAD.