From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C47B33D648C for ; Tue, 28 Apr 2026 08:51:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777366264; cv=none; b=uwFKZ12fIxkjSe6rhlb3lwkw6B+NOFzWZF/kTSwTrWL+7KnzA24yXO/RvegT9KVQfZrDn9wIWaNTXRPMkNM0H2TVotZwYqZQUanYWoHAtPLJiEbHP2Zgs3li7h7QGbKg5RLKpVQiip2N83GY45cbzQIZCncN3KCMlCOtHMgYupM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777366264; c=relaxed/simple; bh=n9Kq+KLIQp4jBr1iUbd9PGJ0AxkBn55hXvmW1OkN+pI=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=lbLSFX8RfH0mpALnE5Xv8x4SMDW/61BtNMuLraIRihJmUrhEvI544ikkmuXpWLg1YstKskomDLx5AVj1H8/8RT9upKH1TWzQI1/qmwd3NEjT5LFlt6TCRr7iMP4DCiO+LjyWTXD0+8VAGp3YX8xyToX11Z2q4Qr4mMB+Vwv4zE8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.210.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-ot1-f70.google.com with SMTP id 46e09a7af769-7d4c7afa9e0so18075350a34.0 for ; Tue, 28 Apr 2026 01:51:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777366262; x=1777971062; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=k3P84TllQwwkhtd59rtf4AkP9RaVFDqgTJaVucXIMqQ=; b=VRXTUIeWSKaYoBOKEkwZrgdyGuu9jKwZpYRjG5oDhXkquxQLeWSpE2UJANIUbMCYmZ HmBNjdIQKS6e8Pm6WQtxOTKGgcLE8wUlTg8VSiOXoi2zdHR6IXwl/KyO39k+S0JL2md7 4ZSWGg8Lm4fR2H1WCVEeGNlkTmn1Pjuwe7grsou8P1+rD0qF7X7UDcJsyOtkj1hJuWMG lV9Xh/EgEhAQ6G6T4/ENTOEBD3eE+oy5hScUFveYRxwVfLPNziwy83570pG73DKVs1oB 6c3oQRf0M4Qxd5dv+FrIJBZYw+54ffilJWbfEtA/aOPWQ5qRQyOPCaVDjzxdFC6plprF UkTA== X-Forwarded-Encrypted: i=1; AFNElJ94Y/A1y4THsEgSsVr+9pb1gor24uMaGeT9ZNpRsWw+WXYIF6DoKBUrILz3RbmKnSrXys5phjk2oSsbrIk=@vger.kernel.org X-Gm-Message-State: AOJu0Yzg+X6eXxeOO4/+OYdq2hvQuAf3J7Q62mCnC2OWTq2kvSg6hOFU AdkuMu59g7f//qoW1FAviVeTvUQoTusxKDowvqPJn3uKJHPxM6ifDiHj3jp5zGXcdKUum+m7aIb J9yMDvTivlljpp6FHyDp5RToSSjxvOR4UZr2e5p31VhxenurZ1EdhCeTjsTs= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:220a:b0:696:1356:9567 with SMTP id 006d021491bc7-6965c8ceaacmr1139970eaf.0.1777366261748; Tue, 28 Apr 2026 01:51:01 -0700 (PDT) Date: Tue, 28 Apr 2026 01:51:01 -0700 In-Reply-To: <20260428080007.2192-1-hdanton@sina.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69f074f5.050a0220.fa731.0000.GAE@google.com> Subject: Re: [syzbot] [input?] [usb?] KASAN: slab-use-after-free Read in hidraw_report_event From: syzbot To: hdanton@sina.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: INFO: trying to register non-static key in usbhid_power INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 1 UID: 0 PID: 6580 Comm: syz.2.19 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:986 register_lock_class+0xcc/0x2e0 kernel/locking/lockdep.c:1301 __lock_acquire+0xad/0x2cf0 kernel/locking/lockdep.c:5114 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5870 __mutex_lock_common kernel/locking/rtmutex_api.c:534 [inline] mutex_lock_nested+0x5a/0x1d0 kernel/locking/rtmutex_api.c:553 usbhid_power+0x56/0x190 drivers/hid/usbhid/hid-core.c:1283 hid_hw_power include/linux/hid.h:1239 [inline] hidraw_open+0x24d/0x8a0 drivers/hid/hidraw.c:302 chrdev_open+0x4d0/0x5f0 fs/char_dev.c:411 do_dentry_open+0x83d/0x13e0 fs/open.c:947 vfs_open+0x3b/0x350 fs/open.c:1079 do_open fs/namei.c:4699 [inline] path_openat+0x2e43/0x38a0 fs/namei.c:4858 do_file_open+0x23e/0x4a0 fs/namei.c:4887 do_sys_openat2+0x113/0x200 fs/open.c:1364 do_sys_open fs/open.c:1370 [inline] __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1381 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce44f9d60e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007fce4463db28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fce4463e6c0 RCX: 00007fce44f9d60e RDX: 0000000000000002 RSI: 00007fce4463dc00 RDI: ffffffffffffff9c RBP: 00007fce4463dc00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd R13: 00007fce45256038 R14: 00007fce45255fa0 R15: 00007ffd81c3c108 Tested on: commit: 39704f00 Add linux-next specific files for 20260427 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=11dc1896580000 kernel config: https://syzkaller.appspot.com/x/.config?x=dea2372337a7c0e dashboard link: https://syzkaller.appspot.com/bug?extid=9eebf5f6544c5e873858 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 patch: https://syzkaller.appspot.com/x/patch.diff?x=175e0a73980000