From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74BC2C4332B for ; Mon, 23 Mar 2020 12:40:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52FB720753 for ; Mon, 23 Mar 2020 12:40:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728316AbgCWMkP (ORCPT ); Mon, 23 Mar 2020 08:40:15 -0400 Received: from mail-io1-f71.google.com ([209.85.166.71]:46017 "EHLO mail-io1-f71.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728260AbgCWMkP (ORCPT ); Mon, 23 Mar 2020 08:40:15 -0400 Received: by mail-io1-f71.google.com with SMTP id h76so11576562iof.12 for ; Mon, 23 Mar 2020 05:40:14 -0700 (PDT) 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=iDq4wNZVaHbH9ptRCLoICWSHeJziVSt0hE9bV6lZbUM=; b=DUIfBczcU7JcJoe84/kFsOswcLQ9Z3lnHt2+/fCn/xndkz8M2sCLrgCi/jPb/3AnuX S1TM5ZU89C/MdZyMHF6ndB0BP5j0FC6g9xUEf8SX1jHJNPzk5bcXWI1vu1pNErsmheNF r3Z8mOX+h1KgGmuIk9jmIyp+sN5p2cc0/N9C0eplyqomRyMkkTWtyUCfCXZL4sWzYpps 4+H0rCb8Z/kXJ+/EbFkmB9d0+XLqg9KlYJ/a1U+hEoTMHMj7PFiGrbOKcFx/m3GzDPNc jU9o+enqp0CJ+R01pZgyajEoISUwNPWNe9+LpT4HIc1VZV1YXH4OZ7iKvy12XpHbHskx MLWg== X-Gm-Message-State: ANhLgQ1vLxCfP1oLxPWQUHb+zXyDPyU0Lvx017EVNLpZpGQaskmiMUNK 8Mpvej0ebnY0SvCQvUkh5/SB5a7W7QNRCstMXZFFaYYhmqRK X-Google-Smtp-Source: ADFU+vtZ06kvfCxzwPMjo3uy4cdd7KqAhPKqo3oC+Gp2MaOKQbMVZIfESs7BgAhzZfyqpNsg+Q90MygcGfDF/HG/8myhpZdo0noQ MIME-Version: 1.0 X-Received: by 2002:a92:afc1:: with SMTP id v62mr20547963ill.308.1584967214577; Mon, 23 Mar 2020 05:40:14 -0700 (PDT) Date: Mon, 23 Mar 2020 05:40:14 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000ce3eed05a184efe9@google.com> Subject: KASAN: slab-out-of-bounds Read in edge_interrupt_callback From: syzbot To: andreyknvl@google.com, gregkh@linuxfoundation.org, johan@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: e17994d1 usb: core: kcov: collect coverage from usb comple.. git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=13706939e00000 kernel config: https://syzkaller.appspot.com/x/.config?x=5d64370c438bc60 dashboard link: https://syzkaller.appspot.com/bug?extid=37ba33391ad5f3935bbd compiler: gcc (GCC) 9.0.0 20181231 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=150d3841e00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12842b19e00000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+37ba33391ad5f3935bbd@syzkaller.appspotmail.com ================================================================== BUG: KASAN: slab-out-of-bounds in edge_interrupt_callback+0x8be/0x9d0 drivers/usb/serial/io_edgeport.c:715 Read of size 1 at addr ffff8881d2920c67 by task swapper/0/0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.6.0-rc5-syzkaller #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+0xef/0x16e lib/dump_stack.c:118 print_address_description.constprop.0.cold+0xd3/0x314 mm/kasan/report.c:374 __kasan_report.cold+0x37/0x77 mm/kasan/report.c:506 kasan_report+0xe/0x20 mm/kasan/common.c:641 edge_interrupt_callback+0x8be/0x9d0 drivers/usb/serial/io_edgeport.c:715 __usb_hcd_giveback_urb+0x29a/0x550 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x368/0x420 drivers/usb/core/hcd.c:1716 dummy_timer+0x1258/0x32ae drivers/usb/gadget/udc/dummy_hcd.c:1966 call_timer_fn+0x195/0x6f0 kernel/time/timer.c:1404 --- 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