syzbot |
sign-in | mailing list | source | docs |
sd 0:0:1:0: [sg_rq_end_io] Sense Key : Illegal Request [current] sd 0:0:1:0: [sg_rq_end_io] Add. Sense: Invalid command operation code sd 0:0:1:0: [sg_rq_end_io] Sense Key : Illegal Request [current] sd 0:0:1:0: [sg_rq_end_io] Add. Sense: Invalid command operation code ================================================================== BUG: KMSAN: uninit-value in vsnprintf+0x24eb/0x3450 lib/vsprintf.c:2267 CPU: 0 PID: 4522 Comm: rsyslogd Not tainted 4.18.0-rc5+ #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: <IRQ> __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x185/0x1e0 lib/dump_stack.c:113 kmsan_report+0x195/0x2c0 mm/kmsan/kmsan.c:982 __msan_warning+0x7d/0xe0 mm/kmsan/kmsan_instr.c:645 vsnprintf+0x24eb/0x3450 lib/vsprintf.c:2267 snprintf+0x24a/0x290 lib/vsprintf.c:2400 create_syslog_header drivers/base/core.c:2890 [inline] dev_vprintk_emit+0x19f/0xbb0 drivers/base/core.c:2940 dev_printk_emit+0x233/0x280 drivers/base/core.c:2953 __dev_printk drivers/base/core.c:2965 [inline] dev_printk+0x4e3/0x680 drivers/base/core.c:2982 scsi_log_print_sense_hdr+0xbf2/0x1990 drivers/scsi/scsi_logging.c:376 scsi_log_print_sense+0x1b7/0x970 drivers/scsi/scsi_logging.c:396 __scsi_print_sense+0xb8/0xd0 drivers/scsi/scsi_logging.c:416 sg_rq_end_io+0x583/0x1540 drivers/scsi/sg.c:1374 __blk_mq_end_request+0x370/0x4d0 block/blk-mq.c:531 scsi_end_request+0x37f/0xb20 drivers/scsi/scsi_lib.c:703 scsi_io_completion+0x143d/0x2bb0 drivers/scsi/scsi_lib.c:909 scsi_finish_command+0x5f2/0x610 drivers/scsi/scsi.c:248 scsi_softirq_done+0x4f1/0x520 drivers/scsi/scsi_lib.c:1691 __blk_mq_complete_request block/blk-mq.c:583 [inline] blk_mq_complete_request+0x528/0x7c0 block/blk-mq.c:620 scsi_mq_done+0x26c/0x2a0 drivers/scsi/scsi_lib.c:2002 virtscsi_complete_cmd+0x94d/0xb50 drivers/scsi/virtio_scsi.c:207 virtscsi_vq_done+0x1a6/0x320 drivers/scsi/virtio_scsi.c:223 virtscsi_req_done+0xf3/0x130 drivers/scsi/virtio_scsi.c:238 vring_interrupt+0x162/0x1d0 drivers/virtio/virtio_ring.c:960 __handle_irq_event_percpu+0x402/0xe40 kernel/irq/handle.c:149 handle_irq_event_percpu kernel/irq/handle.c:189 [inline] handle_irq_event+0x19a/0x3f0 kernel/irq/handle.c:206 handle_edge_irq+0x5e7/0x1230 kernel/irq/chip.c:791 generic_handle_irq_desc include/linux/irqdesc.h:154 [inline] handle_irq+0x36e/0x660 arch/x86/kernel/irq_64.c:77 do_IRQ+0x8e/0x1c0 arch/x86/kernel/irq.c:252 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:646 RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:66 Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01 RSP: 0018:ffff88021fc0f1e8 EFLAGS: 00000282 ORIG_RAX: ffffffffffffffda RAX: ffff88021f07c4ff RBX: ffff88021fc0f497 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 00000000ffffffff RDI: ffff88021f07c498 RBP: ffff88021fc0f290 R08: 0000000000480020 R09: ffff88021f07c497 R10: 0000000000000000 R11: ffffffff88a7eda0 R12: 0000000000000001 R13: 0000000000000001 R14: 0000000000000001 R15: ffff8801c4a29d80 tcp_v4_rcv+0x12c/0x7220 net/ipv4/tcp_ipv4.c:1677 ip_local_deliver_finish+0x851/0xf00 net/ipv4/ip_input.c:215 NF_HOOK include/linux/netfilter.h:287 [inline] ip_local_deliver+0x455/0x510 net/ipv4/ip_input.c:256 dst_input include/net/dst.h:450 [inline] ip_rcv_finish+0xa1b/0x1d10 net/ipv4/ip_input.c:396 NF_HOOK include/linux/netfilter.h:287 [inline] ip_rcv+0x12d4/0x14f0 net/ipv4/ip_input.c:492 __netif_receive_skb_core+0x4a7a/0x4fc0 net/core/dev.c:4628 __netif_receive_skb net/core/dev.c:4693 [inline] netif_receive_skb_internal+0x475/0x660 net/core/dev.c:4767 napi_skb_finish net/core/dev.c:5129 [inline] napi_gro_receive+0x6be/0xb90 net/core/dev.c:5160 receive_buf+0x4fb4/0x7900 drivers/net/virtio_net.c:996 virtnet_receive drivers/net/virtio_net.c:1252 [inline] virtnet_poll+0x903/0x1490 drivers/net/virtio_net.c:1334 napi_poll net/core/dev.c:5771 [inline] net_rx_action+0x799/0x1ae0 net/core/dev.c:5837 __do_softirq+0x55f/0x934 kernel/softirq.c:288 invoke_softirq kernel/softirq.c:369 [inline] irq_exit+0x22a/0x270 kernel/softirq.c:410 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:527 smp_apic_timer_interrupt+0x64/0x90 arch/x86/kernel/apic/apic.c:1055 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:868 </IRQ> RIP: 0010:syslog_print kernel/printk/printk.c:1341 [inline] RIP: 0010:do_syslog+0x3a95/0x3ea0 kernel/printk/printk.c:1467 Code: 00 00 c6 04 25 38 15 9c 8b 00 48 c7 c7 34 15 9c 8b e8 5f 6a 82 00 c6 00 00 c6 04 25 34 15 9c 8b 00 e8 ff 02 01 00 fb 4d 85 ed <4c> 8b bd e0 fe ff ff 4c 8b b5 78 ff ff ff 8b 9d 60 ff ff ff 48 8b RSP: 0018:ffff8801964dfa38 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffffffff814267be RBX: 0000000000000000 RCX: ffff8801c4a29d80 RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea000045a860 RBP: ffff8801964dfba8 R08: ffffffff7fffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801c4a2a680 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 kmsg_read+0x142/0x1a0 fs/proc/kmsg.c:40 proc_reg_read+0x1e3/0x2f0 fs/proc/inode.c:229 __vfs_read+0x1f0/0xb40 fs/read_write.c:416 vfs_read+0x36c/0x6b0 fs/read_write.c:452 ksys_read fs/read_write.c:578 [inline] __do_sys_read fs/read_write.c:588 [inline] __se_sys_read fs/read_write.c:586 [inline] __x64_sys_read+0x1cf/0x400 fs/read_write.c:586 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x7f57e755f1fd Code: d1 20 00 00 75 10 b8 00 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 5e fa ff ff 48 89 04 24 b8 00 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 a7 fa ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f57e4afee30 EFLAGS: 00000293 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000001c40670 RCX: 00007f57e755f1fd RDX: 0000000000000fff RSI: 00007f57e63335a0 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000001c2b260 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000293 R12: 000000000065e420 R13: 00007f57e4aff9c0 R14: 00007f57e7ba4040 R15: 0000000000000003 Local variable description: ----args@snprintf Variable was created at: snprintf+0xfd/0x290 lib/vsprintf.c:2395 create_syslog_header drivers/base/core.c:2890 [inline] dev_vprintk_emit+0x19f/0xbb0 drivers/base/core.c:2940 ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2018/07/21 19:47 | https://github.com/google/kmsan.git master | d1c2a46a46f6 | 8cc079c3 | .config | console log | report | syz | C | ci-upstream-kmsan-gce | |||
2018/07/21 19:05 | https://github.com/google/kmsan.git master | d1c2a46a46f6 | 8cc079c3 | .config | console log | report | ci-upstream-kmsan-gce |