syzbot


WARNING in kcm_write_msgs

Status: upstream: reported C repro on 2020/03/19 07:10
Reported-by: syzbot+52624bdfbf2746d37d70@syzkaller.appspotmail.com
First crash: 935d, last: 3d21h

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in kcm_write_msgs C inconclusive 1 847d 907d 0/1 upstream: reported C repro on 2020/04/12 04:13
linux-4.19 WARNING in kcm_write_msgs C error 7 195d 920d 0/1 upstream: reported C repro on 2020/03/30 19:34

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3701 at net/kcm/kcmsock.c:629 kcm_write_msgs+0x10ba/0x1990 net/kcm/kcmsock.c:629
Modules linked in:
CPU: 0 PID: 3701 Comm: syz-executor229 Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:kcm_write_msgs+0x10ba/0x1990 net/kcm/kcmsock.c:629
Code: 07 00 00 48 8b 44 24 68 45 31 e4 48 8b 74 24 08 48 89 70 10 e9 d5 f3 ff ff e8 c2 70 f4 f8 0f 0b e9 09 f5 ff ff e8 b6 70 f4 f8 <0f> 0b 41 bc ea ff ff ff e9 b7 f3 ff ff e8 a4 70 f4 f8 48 8b 7c 24
RSP: 0018:ffffc900031679d8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000000000c0 RCX: 0000000000000000
RDX: ffff888071d7c040 RSI: ffffffff8886c76a RDI: 0000000000000001
RBP: ffff88807643b0c0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000008000
R13: ffff88807162b440 R14: ffff88807643b000 R15: 0000000000000000
FS:  00007fe30f5c5700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000202bf000 CR3: 0000000078cdf000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kcm_sendmsg+0x1dd6/0x23b0 net/kcm/kcmsock.c:1035
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:734
 sock_write_iter+0x291/0x3d0 net/socket.c:1108
 call_write_iter include/linux/fs.h:2187 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x9e9/0xdd0 fs/read_write.c:578
 ksys_write+0x1e8/0x250 fs/read_write.c:631
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe30f634c99
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe30f5c52f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fe30f6bd430 RCX: 00007fe30f634c99
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007fe30f68a98c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe30f68a068
R13: 656c6c616b7a7973 R14: 0100000000000000 R15: 00007fe30f6bd438
 </TASK>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/06/10 22:15 upstream f09eacca59d2 347a5dc3 .config log report syz C
ci-upstream-kasan-gce-smack-root 2021/03/02 19:41 upstream 7a7fd0de4a98 347a5dc3 .config log report syz C
ci-upstream-kasan-gce-smack-root 2021/01/10 10:56 upstream 2ff90100ace8 347a5dc3 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/11/12 13:08 upstream 3d5e28bff7ad 347a5dc3 .config log report syz C
* Struck through repros no longer work on HEAD.
Crashes (238):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/09/17 22:59 upstream a335366bad13 dd9a85ff .config log report syz C WARNING in kcm_write_msgs
ci-upstream-kasan-gce-smack-root 2022/08/20 00:39 upstream 4c2d0b039c5c 26a13b38 .config log report syz C WARNING in kcm_write_msgs
ci-upstream-kasan-gce-root 2022/07/03 05:08 upstream 34074da5424c 1434eec0 .config log report syz C WARNING in kcm_write_msgs
ci-upstream-kasan-gce 2022/05/13 19:01 upstream f3f19f939c11 107f6434 .config log report syz C WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/05/13 19:08 net f3f19f939c11 107f6434 .config log report syz C WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/05/13 18:27 net-next b67fd3d9d942 107f6434 .config log report syz C WARNING in kcm_write_msgs
ci-upstream-linux-next-kasan-gce-root 2022/08/10 08:02 linux-next 6c8f479764eb c2a623d6 .config log report syz C WARNING in kcm_write_msgs
ci-upstream-kasan-gce-smack-root 2020/04/20 19:40 upstream ae83d0b416db 347a5dc3 .config log report syz C
ci-upstream-kasan-gce-root 2020/04/19 02:11 upstream 90280eaa88ac 365fba24 .config log report syz C
ci-upstream-net-this-kasan-gce 2020/03/26 00:43 net 919a23e9d6cc 41f049cc .config log report syz C
ci-upstream-net-kasan-gce 2020/03/25 23:53 net-next 29f3490ba9d2 41f049cc .config log report syz C
ci-upstream-net-this-kasan-gce 2022/08/02 11:22 net a41b17ff9dac fef302b1 .config log report syz WARNING in kcm_write_msgs
ci-qemu-upstream 2022/09/28 04:20 upstream 46452d3786a8 75c78242 .config log report info WARNING in kcm_write_msgs
ci-upstream-kasan-gce 2022/09/26 14:00 upstream f76349cf4145 d59ba983 .config log report info WARNING in kcm_write_msgs
ci-upstream-kasan-gce-smack-root 2022/09/06 07:25 upstream 53e99dcff61e 9dcd38fc .config log report info WARNING in kcm_write_msgs
ci-upstream-kasan-gce 2022/09/05 03:36 upstream 7726d4c3e60b 28811d0a .config log report info WARNING in kcm_write_msgs
ci-upstream-kasan-gce 2022/08/26 00:57 upstream 3f5c20055a64 9b5bf4cd .config log report info WARNING in kcm_write_msgs
ci-qemu-upstream 2022/08/17 10:38 upstream 3cc40a443a04 4e72d229 .config log report info WARNING in kcm_write_msgs
ci-upstream-kasan-gce-selinux-root 2022/08/14 02:00 upstream 7ebfc85e2cd7 8dfcaa3d .config log report info WARNING in kcm_write_msgs
ci-qemu-upstream 2022/08/10 10:59 upstream 200e340f2196 aaa9eaa0 .config log report info WARNING in kcm_write_msgs
ci-qemu-upstream 2022/08/08 19:32 upstream 200e340f2196 da700653 .config log report info WARNING in kcm_write_msgs
ci-qemu-upstream 2022/06/27 10:36 upstream 03c765b0e3b4 a371c43c .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/10/03 03:37 net ae3ed15da588 feb56351 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/08/27 07:29 net 7498a457ecf7 07177916 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/08/19 21:11 net 4c2d0b039c5c 26a13b38 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/08/18 11:00 net ed16d19c5f1d d58e263f .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/08/14 06:20 net 777885673122 8dfcaa3d .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/08/08 21:53 net 8eaa1d110800 88e3a122 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/08/07 19:08 net 8eaa1d110800 88e3a122 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/07/12 18:41 net f946964a9f79 d91dd8ea .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/07/09 09:58 net 7c895ef88403 b5765a15 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2022/06/24 06:55 net 12378a5a75e3 912f5df7 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/10/02 06:13 net-next bc37b24ee05e feb56351 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/09/19 21:18 net-next 44a8535fb87c dd9a85ff .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/09/17 07:13 net-next 862deb68c1bc dd9a85ff .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/08/31 17:20 net-next 146ecbac1d32 51e54e30 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/08/27 09:24 net-next 0c1f77d87d69 07177916 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/08/26 16:09 net-next 44387d1736c4 e5a303f1 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/08/25 02:01 net-next 8357d67f5ec0 514514f6 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/08/23 03:05 net-next de4370892443 26a13b38 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/08/20 22:57 net-next 917edfb98c48 26a13b38 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/08/14 22:21 net-next 7ebfc85e2cd7 8dfcaa3d .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/08/12 07:06 net-next 7ebfc85e2cd7 402cd70d .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/08/04 00:41 net-next 3c47fb2f4c4d 1c9013ac .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/20 11:36 net-next 7f9eee196ec8 775344bc .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/12 00:09 net-next edb2c3476db9 da3d6955 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/10 00:22 net-next 877d4e3cedd1 b5765a15 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/08 11:00 net-next cf21b355ccb3 bff65f44 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/07 09:38 net-next 7ed5f2454acf bff65f44 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/07 06:35 net-next 4874fb9484be bff65f44 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/05 08:17 net-next 874bdbfe624e bff65f44 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/04 21:59 net-next 798661c73672 bff65f44 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/04 19:21 net-next 798661c73672 bff65f44 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/04 08:50 net-next d0bf1fe6454e 1434eec0 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/03 12:55 net-next 8e60a041e478 1434eec0 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/07/02 09:23 net-next dbdd9a28e140 1434eec0 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/06/30 03:21 net-next d640516a65d8 1434eec0 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/06/28 04:54 net-next c83bc86a0596 ef82eb2c .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/06/27 23:20 net-next c83bc86a0596 ef82eb2c .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/06/26 19:48 net-next ebeae54d3a77 a371c43c .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/06/24 22:25 net-next 93817be8b62c a5dbd430 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/06/23 05:27 net-next 6dd4142fb5a9 912f5df7 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-kasan-gce 2022/06/21 23:56 net-next 8720bd951b8e 0fc5c330 .config log report info WARNING in kcm_write_msgs
ci-upstream-linux-next-kasan-gce-root 2022/08/14 11:55 linux-next 6c8f479764eb 8dfcaa3d .config log report info WARNING in kcm_write_msgs
ci-upstream-linux-next-kasan-gce-root 2022/07/31 12:05 linux-next cb71b93c2dc3 fef302b1 .config log report info WARNING in kcm_write_msgs
ci-upstream-net-this-kasan-gce 2021/01/16 18:12 net bcd0cf19ef82 65a7a854 .config log report info
ci-upstream-net-this-kasan-gce 2020/03/15 04:32 net 94b18a87efdd 749688d2 .config log report
* Struck through repros no longer work on HEAD.