syzbot


WARNING in kcsan_end_atomic (2)

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

Sample crash report:
------------[ cut here ]------------
mismatching kcsan_end_atomic()
WARNING: CPU: 0 PID: 7249 at kernel/kcsan/core.c:264 kcsan_end_atomic kernel/kcsan/core.c:264 [inline]
WARNING: CPU: 0 PID: 7249 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: 7249 Comm: syz-executor433 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:ffffc90001687380 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff88812ac29c00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81388b3d RDI: 0000000000000006
RBP: ffffc90001687380 R08: ffff88812264f0c0 R09: 000000000000001e
R10: 0000000039343237 R11: 0000000034323754 R12: 0000000000000420
R13: ffff8881293ca000 R14: ffff88812ac29cbc R15: ffffe8ffffc1bac0
 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_do_fragment+0xccb/0xda0 net/ipv4/ip_output.c:849
 ip_fragment.constprop.0+0xd8/0x160 net/ipv4/ip_output.c:575
 __ip_finish_output net/ipv4/ip_output.c:306 [inline]
 __ip_finish_output+0x2f8/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_mc_output+0x143/0x620 net/ipv4/ip_output.c:417
 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
 ip_push_pending_frames+0x5b/0x80 net/ipv4/ip_output.c:1574
 raw_sendmsg+0xe7d/0x1cd0 net/ipv4/raw.c:672
 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
 kernel_sendmsg+0x4d/0x70 net/socket.c:677
 sock_no_sendpage+0xda/0x110 net/core/sock.c:2730
 inet_sendpage+0xe7/0x100 net/ipv4/af_inet.c:822
 kernel_sendpage+0x7b/0xc0 net/socket.c:3682
 sock_sendpage+0x6c/0x90 net/socket.c:935
 pipe_to_sendpage+0x102/0x180 fs/splice.c:449
 splice_from_pipe_feed fs/splice.c:500 [inline]
 __splice_from_pipe+0x248/0x480 fs/splice.c:624
 splice_from_pipe+0xbb/0x100 fs/splice.c:659
 generic_splice_sendpage+0x45/0x60 fs/splice.c:829
 do_splice_from fs/splice.c:848 [inline]
 do_splice+0x497/0xbe0 fs/splice.c:1155
 __do_sys_splice fs/splice.c:1425 [inline]
 __se_sys_splice fs/splice.c:1405 [inline]
 __x64_sys_splice+0x20a/0x220 fs/splice.c:1405
 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x445949
Code: e8 bc b7 02 00 48 83 c4 18 c3 0f 1f 80 00 00 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 0f 83 2b 12 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f16a3064da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00000000006dac78 RCX: 0000000000445949
RDX: 0000000000000006 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00000000006dac70 R08: 0000000000019404 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dac7c
R13: 00007ffd617cfc7f R14: 00007f16a30659c0 R15: 20c49ba5e353f7cf
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/24 16:16 https://github.com/google/ktsan.git kcsan 2c382792b88d f8368f99 .config console log report syz C ci2-upstream-kcsan-gce
2019/09/24 15:49 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.