syzbot


WARNING in kcsan_end_atomic

Status: closed as invalid on 2019/09/24 15:48
Subsystems: kasan
[Documentation on labels]
First crash: 1684d, last: 1684d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in kcsan_end_atomic (2) kasan C 2 1684d 1684d 0/26 closed as invalid on 2019/09/25 15:28

Sample crash report:
hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network
IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready
8021q: adding VLAN 0 to HW filter on device batadv0
------------[ cut here ]------------
mismatching kcsan_end_atomic()
WARNING: CPU: 0 PID: 7245 at kernel/kcsan/core.c:264 kcsan_end_atomic kernel/kcsan/core.c:264 [inline]
WARNING: CPU: 0 PID: 7245 at kernel/kcsan/core.c:264 kcsan_end_atomic+0x60/0xd0 kernel/kcsan/core.c:252
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 7245 Comm: syz-executor646 Not tainted 5.3.0+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xf5/0x159 lib/dump_stack.c:113
 panic+0x209/0x639 kernel/panic.c:219
 __warn.cold+0x4c/0x4d kernel/panic.c:576
 report_bug+0x1cf/0x1e0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0xda/0x140 arch/x86/kernel/traps.c:272
 do_invalid_op+0x43/0x60 arch/x86/kernel/traps.c:291
 invalid_op+0x1e/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:kcsan_end_atomic kernel/kcsan/core.c:264 [inline]
RIP: 0010:kcsan_end_atomic+0x60/0xd0 kernel/kcsan/core.c:252
Code: 89 e5 74 77 65 ff 05 1f 90 af 7e 65 8b 05 b0 90 ae 7e a9 00 01 1f 00 75 77 e8 cc fe ff ff 48 c7 c7 70 34 60 85 e8 78 1c db ff <0f> 0b e8 09 ff ff ff 5d c3 a9 00 01 1f 00 75 14 65 48 8b 04 25 40
RSP: 0018:ffffc9000129f5d0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8881235e8000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81388b3d RDI: 0000000000000006
RBP: ffffc9000129f5d0 R08: ffff88812345f000 R09: 000000000000001e
R10: 0000000035343237 R11: 0000000034323754 R12: 0000000000000008
R13: ffff888125229600 R14: ffff8881235e80bc R15: ffffe8ffffc1dde0
 raw_write_seqcount_end include/linux/seqlock.h:256 [inline]
 write_seqcount_end include/linux/seqlock.h:414 [inline]
 qdisc_run_end include/net/sch_generic.h:175 [inline]
 __dev_xmit_skb net/core/dev.c:3480 [inline]
 __dev_queue_xmit+0x175f/0x1b80 net/core/dev.c:3838
 dev_queue_xmit+0x21/0x30 net/core/dev.c:3902
 neigh_resolve_output net/core/neighbour.c:1490 [inline]
 neigh_resolve_output+0x44a/0x470 net/core/neighbour.c:1470
 neigh_output include/net/neighbour.h:511 [inline]
 ip_finish_output2+0x4a9/0xe30 net/ipv4/ip_output.c:228
 __ip_finish_output net/ipv4/ip_output.c:308 [inline]
 __ip_finish_output+0x23a/0x490 net/ipv4/ip_output.c:290
 ip_finish_output+0x41/0x160 net/ipv4/ip_output.c:318
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip_output+0xdf/0x210 net/ipv4/ip_output.c:432
 dst_output include/net/dst.h:436 [inline]
 ip_local_out+0x74/0x90 net/ipv4/ip_output.c:125
 ip_send_skb+0x35/0xb0 net/ipv4/ip_output.c:1554
 udp_send_skb.isra.0+0x3a6/0x890 net/ipv4/udp.c:887
 udp_sendmsg+0x1541/0x18d0 net/ipv4/udp.c:1174
 inet_sendmsg+0x6d/0x90 net/ipv4/af_inet.c:807
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg+0x9f/0xc0 net/socket.c:657
 ___sys_sendmsg+0x2b7/0x5d0 net/socket.c:2311
 __sys_sendmmsg+0x123/0x350 net/socket.c:2413
 __do_sys_sendmmsg net/socket.c:2442 [inline]
 __se_sys_sendmmsg net/socket.c:2439 [inline]
 __x64_sys_sendmmsg+0x64/0x80 net/socket.c:2439
 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4419e9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 7b 10 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffe430d7a18 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004419e9
RDX: 0400000000000030 RSI: 0000000020007fc0 RDI: 0000000000000003
RBP: 00007ffe430d7a30 R08: 0000000001bbbbbb R09: 0000000001bbbbbb
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000402f80 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/24 12:29 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report syz C ci2-upstream-kcsan-gce
2019/09/24 15:44 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 15:44 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 15:41 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 15:41 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 15:40 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 15:24 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 15:23 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 15:20 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 14:45 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 13:34 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 12:44 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 12:06 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
2019/09/24 12:06 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.