Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | KMSAN: uninit-value in sock_rfree net | 1 | 2492d | 2492d | 0/28 | closed as invalid on 2018/07/20 09:38 |
syzbot |
sign-in | mailing list | source | docs |
Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | KMSAN: uninit-value in sock_rfree net | 1 | 2492d | 2492d | 0/28 | closed as invalid on 2018/07/20 09:38 |
===================================================== BUG: KMSAN: uninit-value in skb_release_head_state+0x16a/0x610 net/core/skbuff.c:652 CPU: 0 PID: 17159 Comm: syz-executor.3 Not tainted 5.3.0-rc7+ #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+0x191/0x1f0 lib/dump_stack.c:113 kmsan_report+0x13a/0x2b0 mm/kmsan/kmsan_report.c:108 __msan_warning+0x73/0xe0 mm/kmsan/kmsan_instr.c:250 sk_has_account include/net/sock.h:1405 [inline] sk_mem_uncharge include/net/sock.h:1451 [inline] sock_rfree+0x1cb/0x2b0 net/core/sock.c:2041 skb_release_head_state+0x16a/0x610 net/core/skbuff.c:652 skb_release_all net/core/skbuff.c:663 [inline] __kfree_skb net/core/skbuff.c:679 [inline] kfree_skb+0x2cf/0x4c0 net/core/skbuff.c:697 bcsp_close+0x127/0x1e0 drivers/bluetooth/hci_bcsp.c:748 hci_uart_tty_close+0x385/0x410 drivers/bluetooth/hci_ldisc.c:548 tty_ldisc_close drivers/tty/tty_ldisc.c:494 [inline] tty_ldisc_kill drivers/tty/tty_ldisc.c:642 [inline] tty_ldisc_release+0x5dd/0xdb0 drivers/tty/tty_ldisc.c:814 tty_release_struct+0x4f/0x1d0 drivers/tty/tty_io.c:1612 tty_release+0x1be2/0x1e80 drivers/tty/tty_io.c:1785 __fput+0x4c9/0xba0 fs/file_table.c:280 ____fput+0x37/0x40 fs/file_table.c:313 task_work_run+0x22e/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:163 [inline] prepare_exit_to_usermode+0x39d/0x4d0 arch/x86/entry/common.c:194 syscall_return_slowpath+0x90/0x610 arch/x86/entry/common.c:274 do_syscall_64+0xe2/0xf0 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x413711 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:0000000000a6fbf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413711 RDX: 0000001b2f020000 RSI: 000000000000021d RDI: 0000000000000003 RBP: 0000000000000001 R08: 000000001473c21d R09: 000000001473c221 R10: 0000000000a6fcd0 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 0000000000760d60 R15: 000000000075c07c Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:150 [inline] kmsan_internal_poison_shadow+0x53/0x100 mm/kmsan/kmsan.c:134 kmsan_slab_free+0x8d/0x100 mm/kmsan/kmsan_hooks.c:123 slab_free_freelist_hook mm/slub.c:1472 [inline] slab_free mm/slub.c:3038 [inline] kfree+0x4c1/0x2db0 mm/slub.c:3980 sk_prot_free net/core/sock.c:1640 [inline] __sk_destruct+0x85b/0x890 net/core/sock.c:1726 sk_destruct net/core/sock.c:1734 [inline] __sk_free+0x5af/0x640 net/core/sock.c:1745 sk_free+0x6c/0x90 net/core/sock.c:1756 sock_put include/net/sock.h:1725 [inline] packet_release+0x1497/0x15d0 net/packet/af_packet.c:3059 __sock_release net/socket.c:590 [inline] sock_close+0x156/0x460 net/socket.c:1268 __fput+0x4c9/0xba0 fs/file_table.c:280 ____fput+0x37/0x40 fs/file_table.c:313 task_work_run+0x22e/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:163 [inline] prepare_exit_to_usermode+0x39d/0x4d0 arch/x86/entry/common.c:194 syscall_return_slowpath+0x90/0x610 arch/x86/entry/common.c:274 do_syscall_64+0xe2/0xf0 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x63/0xe7 =====================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2019/09/29 15:39 | https://github.com/google/kmsan.git master | 124037e07586 | c1ad5441 | .config | console log | report | ci-upstream-kmsan-gce |