Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2773054ybx; Fri, 8 Nov 2019 09:07:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzqPNuki0RRnt/jHi77TW6uw/c/XU1i564JQXYDmQNhoQH+9SWLIlm/VnFH7M5YqiUHuryD X-Received: by 2002:a17:906:2ada:: with SMTP id m26mr9821909eje.87.1573232863681; Fri, 08 Nov 2019 09:07:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573232863; cv=none; d=google.com; s=arc-20160816; b=rM7iUMyeWdaDZLLK5Bkb8i6pQGAN4+zeQ2GTqSOy8CM3zNO/icGXBIjU5ed85aqT20 zHs1Y1GJ88xQacI3//ziCTMMuG9NfSQIbGVZZ1d83dLXWp7JxZDgvyyyoHvZAP5qDGom oRgXcrVOF4yfSCe18xG3Dg+1n7fzfMUbuv1BrhhHQgC9xc9LchY329C9OV6UpIor2FFg +v2GwkkPdb4A64FnyaGIjm8xUX6tK3alzFzy1ScJohxR4YosKx93j1BEJPvFZrfCtOkw 6wKLlijolxg/21M3sT2G6iVJ3Rb06dawIceCElOwrE1m7S6EKmd0enC0YxK/Z69EQmib BXTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version; bh=fTH3wke3SUWD+KbdNuoh7OfY2dQXat+nLBYGUBMdbaU=; b=mbtAG/gr4Q49TOce8sSFF8znTqR738qJaal1G1bQ9LuHUrdtZ89An9/c3qQOqT0bPh Z2rByC/QoZyQidg1UGlIajy7mAB91X5BF01dWa7OvL3XAYewbC/pm72mE6RSiPISTJB+ SYdcSXclMGBuz4vunu0amLufNZUx7dmK2CyT+U4XG9KUKXYzzOycg6ixuEr01Cx4BmHd bOTxrrfKsYeDImQqqErQ4Iy0HzMfX7BsZb1xZk+1zR6+Z9Ycna2T3FGeVQIkVijH4NNt +A5dcUGSLChMJh8n4bXMRUuhz69e8RphB4j5EW86qLQesNXJ2E9GZoF/nLKVLXrBvRFz zKoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si4052197ejv.363.2019.11.08.09.07.20; Fri, 08 Nov 2019 09:07:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729973AbfKHREa (ORCPT + 99 others); Fri, 8 Nov 2019 12:04:30 -0500 Received: from mail-io1-f72.google.com ([209.85.166.72]:44810 "EHLO mail-io1-f72.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727010AbfKHREL (ORCPT ); Fri, 8 Nov 2019 12:04:11 -0500 Received: by mail-io1-f72.google.com with SMTP id q13so5798201iot.11 for ; Fri, 08 Nov 2019 09:04:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=fTH3wke3SUWD+KbdNuoh7OfY2dQXat+nLBYGUBMdbaU=; b=HJRakgdl+Q6zXzSZgEtqRYLi9QAHSqzOzIkY8QEbsFAKjdnbiHGzlSKgfASxXAUzi+ NxfrHBUN91odlpY/MtmWFQybFXqCbOQubifp1/SrHwdAXItbo1S7XOePErOle1IUTfSj m1wv9j7onA+BQiH04ZRdbfqwsmGnZxpFVuEbwpjXnKRTepZYw7VKSMpMYEyZOwCDJWFu SAsKluKA0XUjntFChfON8XIncgPYoHyDnUlyJ+ECEVmlqBsLiPQG/4BuON7llLZUzLLv +VfomasmcRDxW80Xh8hSFRa0gse7qd6ynCE7Qe5TZ52aPykM+V2HCCCsBz/HK8rslsxM DMPQ== X-Gm-Message-State: APjAAAVxvflPfrT4f2/GNqgty4oz6GQJOmk5LkPbPUidlAY0Y1C570+r hSYQ9dbUKZO0TqdOnweurBJ01H0cyYOUB5A5jvy8NssKuy+U MIME-Version: 1.0 X-Received: by 2002:a92:d64d:: with SMTP id x13mr13363985ilp.54.1573232650955; Fri, 08 Nov 2019 09:04:10 -0800 (PST) Date: Fri, 08 Nov 2019 09:04:10 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000004f3d820596d8c51c@google.com> Subject: KMSAN: uninit-value in digitv_rc_query From: syzbot To: glider@google.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: 1e76a3e5 kmsan: replace __GFP_NO_KMSAN_SHADOW with kmsan_i.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=16860a63600000 kernel config: https://syzkaller.appspot.com/x/.config?x=f03c659d0830ab8d dashboard link: https://syzkaller.appspot.com/bug?extid=6bf9606ee955b646c0e1 compiler: clang version 9.0.0 (/home/glider/llvm/clang 80fee25776c2fb61e74c1ecb1a523375c2500b69) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12c1101b600000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15db3cfd600000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+6bf9606ee955b646c0e1@syzkaller.appspotmail.com dvb-usb: schedule remote query interval to 1000 msecs. dvb-usb: Nebula Electronics uDigiTV DVB-T USB2.0) successfully initialized and connected. dvb-usb: bulk message failed: -22 (7/0) dvb-usb: bulk message failed: -22 (7/0) dvb-usb: bulk message failed: -22 (7/-30591) dvb-usb: bulk message failed: -22 (7/0) ===================================================== BUG: KMSAN: uninit-value in legacy_dvb_usb_read_remote_control+0x106/0x790 drivers/media/usb/dvb-usb/dvb-usb-remote.c:123 CPU: 1 PID: 3844 Comm: kworker/1:2 Not tainted 5.3.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events legacy_dvb_usb_read_remote_control 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 digitv_rc_query+0x76a/0x890 drivers/media/usb/dvb-usb/digitv.c:259 legacy_dvb_usb_read_remote_control+0x106/0x790 drivers/media/usb/dvb-usb/dvb-usb-remote.c:123 process_one_work+0x1572/0x1ef0 kernel/workqueue.c:2269 worker_thread+0x111b/0x2460 kernel/workqueue.c:2415 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 Local variable description: ----key@digitv_rc_query Variable was created at: digitv_rc_query+0x78/0x890 drivers/media/usb/dvb-usb/digitv.c:234 legacy_dvb_usb_read_remote_control+0x106/0x790 drivers/media/usb/dvb-usb/dvb-usb-remote.c:123 ===================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 3844 Comm: kworker/1:2 Tainted: G B 5.3.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events legacy_dvb_usb_read_remote_control Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x191/0x1f0 lib/dump_stack.c:113 panic+0x3c9/0xc1e kernel/panic.c:219 kmsan_report+0x2a2/0x2b0 mm/kmsan/kmsan_report.c:131 __msan_warning+0x73/0xe0 mm/kmsan/kmsan_instr.c:250 digitv_rc_query+0x76a/0x890 drivers/media/usb/dvb-usb/digitv.c:259 legacy_dvb_usb_read_remote_control+0x106/0x790 drivers/media/usb/dvb-usb/dvb-usb-remote.c:123 process_one_work+0x1572/0x1ef0 kernel/workqueue.c:2269 worker_thread+0x111b/0x2460 kernel/workqueue.c:2415 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 Kernel Offset: disabled Rebooting in 86400 seconds.. --- This bug is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this bug report. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this bug, for details see: https://goo.gl/tpsmEJ#testing-patches