From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (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 7D3303EB0F2 for ; Fri, 14 Aug 2026 08:51:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786697488; cv=none; b=sfT14/T3XHsNA25peSPaUrwTkPKNuoubvoFDKmbL0Yk5p3VNa3cGvXT7IGI22WG/4ev+om1VwJmJR05iNQveAnOd8Nx2bN7gbVzVNXtoEz7XwUU5I3CMl6arWzBUG0qbpATK21FdFzXY8NV8IgqmDCBe3z6tR5sx5X4bnqrRF1U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786697488; c=relaxed/simple; bh=IDLvsaiM3nsOxiFNQX4eVpH10LJI0w+r3H8ntWrp0kU=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=IvYm0tj6Hnn0WIM8YDGrPWHboFJJ406hCOpQiqczytMOODzOAP5iwfCHvwnH5O2zzdejOWnA3+/egpsMSEBh9bE5/uy0YbQf9wxlNSjXnOiJWx27Z4seE4aD5lBndH2o13VWF1fFa63f3/IJFudr3axzoqfl1YqiTm3Rd+TZ1qM= 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.161.69 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-oo1-f69.google.com with SMTP id 006d021491bc7-6aae0178901so613097eaf.3 for ; Fri, 14 Aug 2026 01:51:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786697485; x=1787302285; h=content-type:to:from:subject:message-id:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=9+DavfjyMuTNPSclKXAiX8yWQatEnoi5BPMO8BQohF4=; b=o1Z608qqod5ibn4FMLYre0WMf/a1jQyYcOOs9O0NQjYFHmb+9j4Q6dkTr86vTL+wnf 20iy05oycO6wSKOnwrYWxE3auuzz+andpMf5MSanTO8qVKZHBuz6h2gCsl6a2aN474Rs xh6FaRidG3qQy9GMBzQwSjt9mZlLuH2GmDue0U/bYCViPJzZ3vj1j1u3+CaHkrcWl1bh PkbUpMYdUCKLqpkP7Et7//UIfuk934/zOXaBNhnG03dTKe+MYDyyUtKfZMfife53QbBm ScJmj5Ejz4cjthzHi0c/7ABkZ1yICyL9Mopbjg4pN3rLjfdfHLYBag+HTKRWmz2kVHnb Bv3A== X-Gm-Message-State: AOJu0YzxNVAopJkGCbCtJsRsll3KkRPGggEBDC4cB++tS0gx7PtBfIdf vC3v2rXIvpI9mDkKGxA+9f7Q/eBOhrbdslA85U6HJcnBf7zVxlLGz+JsznI/sVmliAGYNhWbufE DWxcWuRnCZrU3hWCGoxOWWnkoY8RpTN92YOSWFqaWjBt+/aFrq/67g7kpWu4= 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:4d09:b0:6a3:927:a1d4 with SMTP id 006d021491bc7-6b0d686e24emr3559663eaf.24.1786697484946; Fri, 14 Aug 2026 01:51:24 -0700 (PDT) Date: Fri, 14 Aug 2026 01:51:24 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a7ed70c.5b0d2c79.2ef4ef.0004.GAE@google.com> Subject: [syzbot] [kernel?] general protection fault in __device_attach (2) From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 2f1baf1fc892 Merge tag 'trace-v7.2-rc7' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10f9f149580000 kernel config: https://syzkaller.appspot.com/x/.config?x=c44651ea7dd2f307 dashboard link: https://syzkaller.appspot.com/bug?extid=de42beb9ccc760a210ab compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17c9a279580000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+de42beb9ccc760a210ab@syzkaller.appspotmail.com ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 serio serio2: device_add() failed for (), error: -12 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000021: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000108-0x000000000000010f] CPU: 2 UID: 0 PID: 847 Comm: kworker/2:2 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: events_long serio_handle_event RIP: 0010:__device_attach+0xb0/0x4d0 drivers/base/dd.c:1074 Code: c1 e8 03 42 80 3c 28 00 0f 85 d1 03 00 00 48 ba 00 00 00 00 00 fc ff df 4c 8b 7b 48 49 8d bf 08 01 00 00 48 89 f9 48 c1 e9 03 <0f> b6 14 11 84 d2 74 06 0f 8e 9d 03 00 00 45 0f b6 af 08 01 00 00 RSP: 0018:ffffc90004ee7b40 EFLAGS: 00010206 RAX: 1ffff110068d6a48 RBX: ffff8880346b51f8 RCX: 0000000000000021 RDX: dffffc0000000000 RSI: ffffffff8c400400 RDI: 0000000000000108 RBP: 1ffff920009dcf69 R08: 0000000000000000 R09: fffffbfff224331a R10: ffffc90004ee7b40 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880346b52c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880d5fe9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdf29b81d58 CR3: 000000000e994000 CR4: 0000000000352ef0 Call Trace: serio_find_driver drivers/input/serio/serio.c:112 [inline] serio_handle_event+0x60a/0x990 drivers/input/serio/serio.c:206 process_one_work+0xa23/0x1940 kernel/workqueue.c:3322 process_scheduled_works kernel/workqueue.c:3405 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__device_attach+0xb0/0x4d0 drivers/base/dd.c:1074 Code: c1 e8 03 42 80 3c 28 00 0f 85 d1 03 00 00 48 ba 00 00 00 00 00 fc ff df 4c 8b 7b 48 49 8d bf 08 01 00 00 48 89 f9 48 c1 e9 03 <0f> b6 14 11 84 d2 74 06 0f 8e 9d 03 00 00 45 0f b6 af 08 01 00 00 RSP: 0018:ffffc90004ee7b40 EFLAGS: 00010206 RAX: 1ffff110068d6a48 RBX: ffff8880346b51f8 RCX: 0000000000000021 RDX: dffffc0000000000 RSI: ffffffff8c400400 RDI: 0000000000000108 RBP: 1ffff920009dcf69 R08: 0000000000000000 R09: fffffbfff224331a R10: ffffc90004ee7b40 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880346b52c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880d5fe9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdf29b81d58 CR3: 000000000e994000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: c1 e8 03 shr $0x3,%eax 3: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 8: 0f 85 d1 03 00 00 jne 0x3df e: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 15: fc ff df 18: 4c 8b 7b 48 mov 0x48(%rbx),%r15 1c: 49 8d bf 08 01 00 00 lea 0x108(%r15),%rdi 23: 48 89 f9 mov %rdi,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx * 2a: 0f b6 14 11 movzbl (%rcx,%rdx,1),%edx <-- trapping instruction 2e: 84 d2 test %dl,%dl 30: 74 06 je 0x38 32: 0f 8e 9d 03 00 00 jle 0x3d5 38: 45 0f b6 af 08 01 00 movzbl 0x108(%r15),%r13d 3f: 00 --- 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. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup