syzbot


WARNING in kcm_write_msgs

Status: upstream: reported C repro on 2020/03/19 07:10
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+52624bdfbf2746d37d70@syzkaller.appspotmail.com
First crash: 1493d, last: 11d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Discussions (9)
Title Replies (including bot) Last reply
[syzbot] Monthly net report (Feb 2024) 0 (1) 2024/02/27 09:32
[syzbot] Monthly net report (Jan 2024) 0 (1) 2024/01/26 21:54
[syzbot] Monthly net report (Dec 2023) 0 (1) 2023/12/27 09:18
[syzbot] Monthly net report (Nov 2023) 5 (6) 2023/11/28 15:05
[syzbot] Monthly net report (Jun 2023) 0 (1) 2023/06/29 12:38
[syzbot] Monthly net report (May 2023) 0 (1) 2023/05/30 10:56
[syzbot] Monthly net report (Apr 2023) 0 (1) 2023/04/27 10:45
[syzbot] Monthly net report 0 (1) 2023/03/27 11:04
WARNING in kcm_write_msgs 0 (2) 2020/03/25 23:53
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in kcm_write_msgs origin:upstream C 2 11d 140d 0/3 upstream: reported C repro on 2023/11/28 05:07
linux-4.14 WARNING in kcm_write_msgs C inconclusive 2 459d 1466d 0/1 upstream: reported C repro on 2020/04/12 04:13
linux-4.19 WARNING in kcm_write_msgs C error 8 454d 1478d 0/1 upstream: reported C repro on 2020/03/30 19:34
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/03/31 11:54 20m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/03/31 11:54 24m retest repro net-next error OK
2024/03/31 11:54 23m retest repro net-next error OK
2024/03/31 11:54 24m retest repro net-next error OK
2024/03/31 11:54 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/03/24 17:40 4h51m retest repro net error OK
2024/03/24 17:40 25m retest repro upstream error OK
2024/03/24 17:40 24m retest repro net error OK
2024/03/24 07:41 27m retest repro net error OK
2024/03/24 07:41 23m retest repro net error OK
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2021/06/10 21:46 29m bisect fix upstream job log (0) log
2021/03/02 19:18 23m bisect fix upstream job log (0) log
2021/01/10 10:33 23m bisect fix upstream job log (0) log
2020/11/12 12:50 17m bisect fix upstream job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5240 at net/kcm/kcmsock.c:630 kcm_write_msgs+0x982/0x1690 net/kcm/kcmsock.c:630
Modules linked in:
CPU: 1 PID: 5240 Comm: syz-executor158 Not tainted 6.8.0-rc1-syzkaller-00049-g6098d87eaf31 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:kcm_write_msgs+0x982/0x1690 net/kcm/kcmsock.c:630
Code: 48 c1 e8 03 42 0f b6 04 20 38 c8 7f 08 84 c0 0f 85 c1 0a 00 00 41 c6 47 34 01 4c 89 7c 24 20 e9 93 f8 ff ff e8 6f f9 cc f7 90 <0f> 0b 90 41 bd ea ff ff ff e8 60 f9 cc f7 e9 f4 fb ff ff e8 56 f9
RSP: 0018:ffffc900046d78c8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff89bb2227
RDX: ffff8880201d3b80 RSI: ffffffff89bb28f1 RDI: 0000000000000001
RBP: ffff8880788fc740 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000088000 R14: ffff88802d88aec0 R15: ffff88806fd3d140
FS:  00007f83269e96c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020d10000 CR3: 0000000069fca000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 kcm_sendmsg+0x226f/0x28d0 net/kcm/kcmsock.c:905
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0xd5/0x180 net/socket.c:745
 sock_write_iter+0x29b/0x3d0 net/socket.c:1160
 call_write_iter include/linux/fs.h:2085 [inline]
 new_sync_write fs/read_write.c:497 [inline]
 vfs_write+0x6d5/0x1100 fs/read_write.c:590
 ksys_write+0x1f0/0x250 fs/read_write.c:643
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f8326a2c979
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1a 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f83269e9218 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f8326ab7428 RCX: 00007f8326a2c979
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f8326ab7420 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8326a84374
R13: 00007f8326a83620 R14: 00000000200011c0 R15: 656c6c616b7a7973
 </TASK>

Crashes (443):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/26 05:26 upstream 6098d87eaf31 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in kcm_write_msgs
2024/01/15 06:57 upstream 052d534373b7 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in kcm_write_msgs
2023/10/16 15:17 upstream 58720809f527 6388bc36 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kcm_write_msgs
2023/07/04 12:11 upstream 24be4d0b46bb 6e553898 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in kcm_write_msgs
2023/03/13 05:05 upstream 134231664868 5205ef30 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in kcm_write_msgs
2023/01/05 12:13 upstream 512dee0c00ad 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kcm_write_msgs
2022/09/17 22:59 upstream a335366bad13 dd9a85ff .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in kcm_write_msgs
2022/08/20 00:39 upstream 4c2d0b039c5c 26a13b38 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in kcm_write_msgs
2022/07/03 05:08 upstream 34074da5424c 1434eec0 .config strace log report syz C ci-upstream-kasan-gce-root WARNING in kcm_write_msgs
2024/04/06 03:02 upstream e8b0ccb2a787 ca620dd8 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in kcm_write_msgs
2023/10/15 02:40 net 2d1c882d4434 6388bc36 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2023/01/05 03:32 net-old 558016722e9d 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2022/05/13 19:08 net-old f3f19f939c11 107f6434 .config strace log report syz C ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2023/10/14 16:58 net-next 85605fb694f0 6388bc36 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/01/05 10:16 net-next-old d75858ef108c 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2022/05/13 18:27 net-next-old b67fd3d9d942 107f6434 .config strace log report syz C ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/05/02 05:44 linux-next 92e815cf07ed 62df2017 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kcm_write_msgs
2022/08/10 08:02 linux-next 6c8f479764eb c2a623d6 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in kcm_write_msgs
2023/11/11 14:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 6d6dbf8a .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in kcm_write_msgs
2023/01/05 05:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in kcm_write_msgs
2020/04/19 02:11 upstream 90280eaa88ac 365fba24 .config console log report syz C ci-upstream-kasan-gce-root
2020/04/20 19:40 upstream ae83d0b416db 347a5dc3 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/03/26 00:43 net-old 919a23e9d6cc 41f049cc .config console log report syz C ci-upstream-net-this-kasan-gce
2020/03/25 23:53 net-next-old 29f3490ba9d2 41f049cc .config console log report syz C ci-upstream-net-kasan-gce
2022/08/02 11:22 net-old a41b17ff9dac fef302b1 .config console log report syz ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2022/05/13 19:01 upstream f3f19f939c11 107f6434 .config strace log report syz C ci-upstream-kasan-gce WARNING in kcm_write_msgs
2024/03/08 16:50 upstream 3aaa8ce7a335 cf82cde1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kcm_write_msgs
2024/03/08 13:08 upstream 3aaa8ce7a335 cf82cde1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kcm_write_msgs
2024/02/18 18:33 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kcm_write_msgs
2024/02/06 02:40 upstream 54be6c6c5ae8 4e988e80 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kcm_write_msgs
2024/01/25 07:48 upstream 443b349019f2 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kcm_write_msgs
2023/12/19 20:38 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in kcm_write_msgs
2023/12/06 14:28 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kcm_write_msgs
2023/12/03 00:28 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in kcm_write_msgs
2023/04/04 05:36 upstream 148341f0a2f5 7db618d0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in kcm_write_msgs
2022/11/18 09:55 upstream 84368d882b96 5bb70014 .config console log report info ci-qemu-upstream WARNING in kcm_write_msgs
2024/03/08 16:44 net df4793505abd cf82cde1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2024/02/07 08:12 net 1ce2654d87e2 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2024/02/01 15:00 net b59af3045a66 81024119 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2024/01/14 01:25 net 894d7508316e 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2024/01/13 15:29 net 68d27badef62 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2024/01/10 11:00 net ac631873c9e7 b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2024/01/10 09:35 net ac631873c9e7 b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2024/01/06 12:56 net 3f14b377d01d d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2023/12/21 07:37 net bd7f77dae695 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2023/12/18 18:00 net 979e90173af8 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2023/12/16 06:49 net b1dfc0f76231 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2023/12/08 09:41 net b0a930e8d90c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2023/12/06 16:16 net 3142dbf084cb e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2023/12/02 15:33 net 6c89f4996437 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2023/11/30 14:42 net 300fbb247eb3 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in kcm_write_msgs
2024/02/04 21:28 net-next 3907f1ffc0ec a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/21 04:28 net-next 736b5545d39c 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/19 14:19 net-next 736b5545d39c 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/18 17:20 net-next 3e7aeb78ab01 239abf84 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/18 12:50 net-next 3e7aeb78ab01 239abf84 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/18 10:53 net-next 3e7aeb78ab01 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/17 17:23 net-next 3e7aeb78ab01 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/14 20:59 net-next 3e7aeb78ab01 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/12 19:30 net-next 3e7aeb78ab01 dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/10 08:13 net-next a7fe0881d9b7 b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/09 01:13 net-next 3fbf61207c66 4c0fd4bb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/27 18:51 net-next c2b2ee36250d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/26 22:39 net-next b1dffcf0da22 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/17 18:05 net-next 3a3af3aedb00 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/16 21:17 net-next 358105ab92fc 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/15 02:49 net-next 1b666016d0ad 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/07 17:33 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/07 15:00 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/06 20:06 net-next 074ac38d5b95 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/03 06:02 net-next 8470e4368b0f f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/12/02 08:39 net-next 15bc81212f59 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2023/11/30 16:51 net-next 6afb936f73cf f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in kcm_write_msgs
2024/01/01 18:27 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kcm_write_msgs
2024/04/05 18:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in kcm_write_msgs
2021/01/16 18:12 net-old bcd0cf19ef82 65a7a854 .config console log report info ci-upstream-net-this-kasan-gce
2020/03/15 04:32 net-old 94b18a87efdd 749688d2 .config console log report ci-upstream-net-this-kasan-gce
* Struck through repros no longer work on HEAD.