general protection fault in drm_object_attach_property

Status: upstream: reported C repro on 2026/08/17 05:22
Subsystems: dri
[Documentation on labels]
Reported-by: syzbot+1944765c3659f63d3777@syzkaller.appspotmail.com
First crash: 6d12h, last: 1d13h
Cause bisection: failed (error log, bisect log)
  
✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision
649046c1 assessment-security 💥 general protection fault in drm_object_attach_property 2026/08/17 03:28 2026/08/17 03:28 2026/08/17 03:28 746171ee
1f89fbb3 assessment-security 💥 general protection fault in drm_object_attach_property 2026/08/15 00:46 2026/08/15 00:46 2026/08/15 00:46 746171ee
2b743a62 assessment-security 💥 general protection fault in drm_object_attach_property 2026/08/14 00:45 2026/08/14 00:45 2026/08/14 00:45 0165196a
Discussions (3)
Title Replies (including bot) Last reply
[PATCH] drm: Optimized by adding the TV modes attribute 2 (2) 2026/08/17 15:39
[PATCH v2] drm: Optimize tv properties creation 1 (1) 2026/08/17 15:11
[syzbot] [dri?] general protection fault in drm_object_attach_property 3 (6) 2026/08/17 15:10
Last patch testing requests (3)
Created Duration User Patch Repo Result
2026/08/17 14:48 20m eadavis@qq.com patch upstream OK job log log
2026/08/17 14:08 19m eadavis@qq.com patch upstream OK job log log
2026/08/17 09:55 26m eadavis@qq.com patch upstream OK job log log

Sample crash report:
usb 1-1: config 1 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 2
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067]
CPU: 1 UID: 0 PID: 24 Comm: kworker/1:0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:drm_object_attach_property+0x79/0x420 drivers/gpu/drm/drm_mode_object.c:240
Code: 03 42 0f b6 04 38 84 c0 0f 85 7f 02 00 00 4c 89 64 24 18 48 89 5c 24 10 49 63 06 48 89 04 24 4d 8d 75 60 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 a8 9a aa fc 4c 89 6c 24 20 4d 8b
RSP: 0000:ffffc900001e6a98 EFLAGS: 00010206
RAX: 000000000000000c RBX: ffff888028880048 RCX: ffff88801e6c5d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888028880040
RBP: ffff888028880040 R08: ffff88801e6c5d00 R09: 000000000000000b
R10: 000000000000000b R11: 0000000000000000 R12: 1ffff11005110009
R13: 0000000000000000 R14: 0000000000000060 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff888125049000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c0af0424e1 CR3: 000000003096c000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 gud_connector_add_properties drivers/gpu/drm/gud/gud_connector.c:572 [inline]
 gud_connector_create drivers/gpu/drm/gud/gud_connector.c:680 [inline]
 gud_get_connectors+0x108c/0x1a50 drivers/gpu/drm/gud/gud_connector.c:717
 gud_probe+0x1125/0x13b0 drivers/gpu/drm/gud/gud_drv.c:635
 usb_probe_interface+0x653/0xc60 drivers/usb/core/driver.c:396
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x254/0xae0 drivers/base/dd.c:706
 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868
 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898
 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1026
 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500
 __device_attach+0x2c4/0x450 drivers/base/dd.c:1098
 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153
 bus_probe_device+0x12a/0x220 drivers/base/bus.c:620
 device_add+0x7d7/0xb80 drivers/base/core.c:3772
 usb_set_configuration+0x1ad8/0x2180 drivers/usb/core/message.c:2268
 usb_generic_driver_probe+0x8d/0x150 drivers/usb/core/generic.c:250
 usb_probe_device+0x1c3/0x3b0 drivers/usb/core/driver.c:291
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x254/0xae0 drivers/base/dd.c:706
 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868
 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898
 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1026
 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500
 __device_attach+0x2c4/0x450 drivers/base/dd.c:1098
 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153
 bus_probe_device+0x12a/0x220 drivers/base/bus.c:620
 device_add+0x7d7/0xb80 drivers/base/core.c:3772
 usb_new_device+0x9aa/0x1690 drivers/usb/core/hub.c:2703
 hub_port_connect drivers/usb/core/hub.c:5575 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5715 [inline]
 port_event drivers/usb/core/hub.c:5879 [inline]
 hub_event+0x28e8/0x4d30 drivers/usb/core/hub.c:5961
 process_one_work kernel/workqueue.c:3322 [inline]
 process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3405
 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3486
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:drm_object_attach_property+0x79/0x420 drivers/gpu/drm/drm_mode_object.c:240
Code: 03 42 0f b6 04 38 84 c0 0f 85 7f 02 00 00 4c 89 64 24 18 48 89 5c 24 10 49 63 06 48 89 04 24 4d 8d 75 60 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 a8 9a aa fc 4c 89 6c 24 20 4d 8b
RSP: 0000:ffffc900001e6a98 EFLAGS: 00010206
RAX: 000000000000000c RBX: ffff888028880048 RCX: ffff88801e6c5d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888028880040
RBP: ffff888028880040 R08: ffff88801e6c5d00 R09: 000000000000000b
R10: 000000000000000b R11: 0000000000000000 R12: 1ffff11005110009
R13: 0000000000000000 R14: 0000000000000060 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff888125049000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc584942000 CR3: 00000000123c8000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	03 42 0f             	add    0xf(%rdx),%eax
   3:	b6 04                	mov    $0x4,%dh
   5:	38 84 c0 0f 85 7f 02 	cmp    %al,0x27f850f(%rax,%rax,8)
   c:	00 00                	add    %al,(%rax)
   e:	4c 89 64 24 18       	mov    %r12,0x18(%rsp)
  13:	48 89 5c 24 10       	mov    %rbx,0x10(%rsp)
  18:	49 63 06             	movslq (%r14),%rax
  1b:	48 89 04 24          	mov    %rax,(%rsp)
  1f:	4d 8d 75 60          	lea    0x60(%r13),%r14
  23:	4c 89 f0             	mov    %r14,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 38 00       	cmpb   $0x0,(%rax,%r15,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 f7             	mov    %r14,%rdi
  34:	e8 a8 9a aa fc       	call   0xfcaa9ae1
  39:	4c 89 6c 24 20       	mov    %r13,0x20(%rsp)
  3e:	4d                   	rex.WRB
  3f:	8b                   	.byte 0x8b

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/18 00:52 upstream 8d3ae59288f1 1e72964b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in drm_object_attach_property
2026/08/13 14:19 upstream 3d6d817622b0 4d118901 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 general protection fault in drm_object_attach_property
2026/08/13 08:19 upstream 3d6d817622b0 359b2492 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 general protection fault in drm_object_attach_property
2026/08/13 16:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5d5fd841c346 359b2492 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/13 14:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5d5fd841c346 359b2492 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/13 12:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5d5fd841c346 359b2492 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/13 10:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5d5fd841c346 359b2492 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/13 09:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5d5fd841c346 359b2492 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/13 07:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5d5fd841c346 359b2492 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/18 04:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bdab5605259b 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/18 02:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bdab5605259b 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/18 02:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bdab5605259b 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/15 22:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bdab5605259b 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/15 20:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bdab5605259b 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/15 13:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bdab5605259b 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/13 05:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5d5fd841c346 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
2026/08/13 05:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5d5fd841c346 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb general protection fault in drm_object_attach_property
* Struck through repros no longer work on HEAD.