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=-6.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SHORT_SHORTNER,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 CED2BC433DB for ; Wed, 6 Jan 2021 21:20:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9CFA12313E for ; Wed, 6 Jan 2021 21:20:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726328AbhAFVU6 (ORCPT ); Wed, 6 Jan 2021 16:20:58 -0500 Received: from mail-io1-f69.google.com ([209.85.166.69]:51590 "EHLO mail-io1-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbhAFVU5 (ORCPT ); Wed, 6 Jan 2021 16:20:57 -0500 Received: by mail-io1-f69.google.com with SMTP id h206so2916171iof.18 for ; Wed, 06 Jan 2021 13:20:41 -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=5Kjj89yFi2Zfpu/81X89SVoMle98FrxgsINdf0Kd7Zk=; b=W0yH/JMBQEEg7OSi0x9VlQOJ4adgxsCHgXiw1freO4Ek6qqKq9VwwcCuVzoYaWHKyf fdg+WP+HD4SaCuRBxBdLWUsQKweaCpFc40RFt3erOQfbXYORw0PqgwQG/rf6u8QHPMzg W4/tEpYUXELuSZg54ajTOfCUsjsD1KbLnIxSg4EOB/TVQYUvivL9KPOVwEQ2en8p74Rr qDooMqqH8pgw1o/GvS1XTVVNckzkwjkV/5Z0zbHoETG5dQNrMzW0xLNfCziCK0hg7yCT 42c8xetlcMsd69S+UThMFWVVMmQ0R9oLS7dlDMmFwKOWb8j6hMHAbKpcM+3x5AeDIodV VC2g== X-Gm-Message-State: AOAM532kJLBL+q/DeXH5zU3+UXdjER+fmLlu6fUbT///rXnFrmyIPe1F AiDAzDEe5Sp2oeBPCFtSs701U5GPMz2EQbpjrwZPTy3LvYSY X-Google-Smtp-Source: ABdhPJyktLt1k3Nppkizvq0K+OgfroHBTQPhLLoF7EXv1izGAg32sVYYbJ4DfLq0ldrx+nE2h5kxgpjvpuY+MdJD0wq5S03ccR/p MIME-Version: 1.0 X-Received: by 2002:a05:6e02:85:: with SMTP id l5mr6043168ilm.187.1609968016406; Wed, 06 Jan 2021 13:20:16 -0800 (PST) Date: Wed, 06 Jan 2021 13:20:16 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000b7c0a305b841e314@google.com> Subject: KASAN: null-ptr-deref Write in corrupted From: syzbot To: dvyukov@google.com, elver@google.com, linux-kernel@vger.kernel.org, mingo@kernel.org, paulmck@kernel.org, peterz@infradead.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: eda809ae Merge tag 'scsi-fixes' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15fb35db500000 kernel config: https://syzkaller.appspot.com/x/.config?x=940a11083ffdc81 dashboard link: https://syzkaller.appspot.com/bug?extid=500bfbdf35e54e9b35f7 compiler: gcc (GCC) 10.1.0-syz 20200507 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14255e0b500000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+500bfbdf35e54e9b35f7@syzkaller.appspotmail.com vhci_hcd: stop threads vhci_hcd: release socket vhci_hcd: disconnect device ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: null-ptr-deref in atomic_fetch_add_relaxed include/asm-generic/atomic-instrumented.h:142 [inline] BUG: KASAN: null-ptr-deref in __refcount_add include/linux/refcount.h:193 [inline] BUG: KASAN: null-ptr-deref in __refcount_inc include/linux/refcount.h:250 [inline] BUG: KASAN: null-ptr-deref in refcount_inc include/linux/refcount.h:267 [inline] BUG: KASAN: null-ptr-deref in get_task_struct include/linux/sched/task.h:102 [inline] BUG: KASAN: null-ptr-deref in kthread_stop+0x90/0x720 kernel/kthread.c:591 Write of size 4 at addr 0000000000000024 by task kworker/u4:11/471 CPU: 0 PID: 471 Comm: kworker/u4:11 Not tainted 5.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usbip_event event_handler Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 __kasan_report mm/kasan/report.c:400 [inline] kasan_report.cold+0x5f/0xd5 mm/kasan/report.c:413 --- This report 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 issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches