general protection fault in nfcmrvl_bulk_complete

Status: upstream: reported on 2026/11/23 10:27
Reported-by: syzbot+abbfddcf8be395d48d97@syzkaller.appspotmail.com
First crash: 5d21h, last: 3d03h
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in nfcmrvl_bulk_complete prio:high nfc 2 C 7 2d17h 94d 0/30 upstream: reported C repro on 2026/08/26 12:31
linux-6.1 general protection fault in nfcmrvl_bulk_complete 2 1 1d18h 1d18h 0/3 upstream: reported on 2026/11/27 13:23

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
CPU: 1 PID: 4939 Comm: kworker/1:14 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:nfcmrvl_bulk_complete+0x103/0x5c0 drivers/nfc/nfcmrvl/usb.c:71
Code: e8 03 48 89 44 24 28 42 80 3c 28 00 74 08 4c 89 e7 e8 41 ed ce fc 4c 89 64 24 30 4d 8b 24 24 49 83 c4 20 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 1e ed ce fc 49 8b 2c 24 48 89 5c
RSP: 0018:ffffc90000dd07e8 EFLAGS: 00010002
RAX: 0000000000000004 RBX: ffff88802bab5b00 RCX: 0000000000000002
RDX: ffff888022780000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88802c01b83f R09: 1ffff11005803707
R10: dffffc0000000000 R11: ffffed1005803708 R12: 0000000000000020
R13: dffffc0000000000 R14: ffff88802c01b838 R15: 1ffff11005803707
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f210364ad58 CR3: 000000001fe21000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1674
 dummy_timer+0xa44/0x3570 drivers/usb/gadget/udc/dummy_hcd.c:2017
 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1672
 expire_timers kernel/time/timer.c:1723 [inline]
 __run_timers+0x56c/0x810 kernel/time/timer.c:1994
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:2007
 handle_softirqs+0x336/0x830 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_unlock+0xc90/0x10f0 kernel/printk/printk.c:2749
Code: 75 11 e8 63 ef 18 00 4d 85 e4 75 16 e8 59 ef 18 00 eb 15 e8 52 ef 18 00 e8 1d 2f 6b 08 4d 85 e4 74 ea e8 43 ef 18 00 fb 31 ff <89> de e8 f9 f2 18 00 85 db 0f 94 c0 22 44 24 1f 3c 01 75 1f e8 27
RSP: 0018:ffffc900037a68a0 EFLAGS: 00000246
RAX: ffffffff8160682d RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc90015d8d000 RSI: 0000000000038ee1 RDI: 0000000000000000
RBP: ffffc900037a6b10 R08: ffffffff910500c7 R09: 1ffffffff220a018
R10: dffffc0000000000 R11: fffffbfff220a019 R12: 0000000000000200
R13: 000000000000004e R14: 0000000000000000 R15: dffffc0000000000
 vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274
 dev_vprintk_emit+0x2c2/0x360 drivers/base/core.c:4667
 dev_printk_emit+0xeb/0x140 drivers/base/core.c:4678
 _dev_info+0x11b/0x170 drivers/base/core.c:4736
 nfcmrvl_nci_register_dev+0x30e/0x460 drivers/nfc/nfcmrvl/main.c:167
 nfcmrvl_probe+0x7e1/0x930 drivers/nfc/nfcmrvl/usb.c:332
 usb_probe_interface+0x5be/0xae0 drivers/usb/core/driver.c:396
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x276/0xc70 drivers/base/dd.c:595
 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:775
 driver_probe_device+0x4f/0x420 drivers/base/dd.c:805
 __device_attach_driver+0x2b0/0x500 drivers/base/dd.c:927
 bus_for_each_drv+0x184/0x210 drivers/base/bus.c:429
 __device_attach+0x2a7/0x480 drivers/base/dd.c:999
 bus_probe_device+0xba/0x1d0 drivers/base/bus.c:489
 device_add+0xbcf/0x1050 drivers/base/core.c:3429
 usb_set_configuration+0x1ad8/0x2140 drivers/usb/core/message.c:2230
 usb_generic_driver_probe+0x89/0x150 drivers/usb/core/generic.c:238
 usb_probe_device+0x126/0x250 drivers/usb/core/driver.c:293
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x276/0xc70 drivers/base/dd.c:595
 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:775
 driver_probe_device+0x4f/0x420 drivers/base/dd.c:805
 __device_attach_driver+0x2b0/0x500 drivers/base/dd.c:927
 bus_for_each_drv+0x184/0x210 drivers/base/bus.c:429
 __device_attach+0x2a7/0x480 drivers/base/dd.c:999
 bus_probe_device+0xba/0x1d0 drivers/base/bus.c:489
 device_add+0xbcf/0x1050 drivers/base/core.c:3429
 usb_new_device+0xa01/0x15e0 drivers/usb/core/hub.c:2642
 hub_port_connect drivers/usb/core/hub.c:5507 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5647 [inline]
 port_event drivers/usb/core/hub.c:5809 [inline]
 hub_event+0x2b8d/0x5260 drivers/usb/core/hub.c:5891
 process_one_work+0x867/0xff0 kernel/workqueue.c:2310
 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace 1d1066fdfefa8c30 ]---
RIP: 0010:nfcmrvl_bulk_complete+0x103/0x5c0 drivers/nfc/nfcmrvl/usb.c:71
Code: e8 03 48 89 44 24 28 42 80 3c 28 00 74 08 4c 89 e7 e8 41 ed ce fc 4c 89 64 24 30 4d 8b 24 24 49 83 c4 20 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 1e ed ce fc 49 8b 2c 24 48 89 5c
RSP: 0018:ffffc90000dd07e8 EFLAGS: 00010002
RAX: 0000000000000004 RBX: ffff88802bab5b00 RCX: 0000000000000002
RDX: ffff888022780000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88802c01b83f R09: 1ffff11005803707
R10: dffffc0000000000 R11: ffffed1005803708 R12: 0000000000000020
R13: dffffc0000000000 R14: ffff88802c01b838 R15: 1ffff11005803707
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f210364ad58 CR3: 000000001fe21000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e8 03 48 89 44       	call   0x44894808
   5:	24 28                	and    $0x28,%al
   7:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
   c:	74 08                	je     0x16
   e:	4c 89 e7             	mov    %r12,%rdi
  11:	e8 41 ed ce fc       	call   0xfcceed57
  16:	4c 89 64 24 30       	mov    %r12,0x30(%rsp)
  1b:	4d 8b 24 24          	mov    (%r12),%r12
  1f:	49 83 c4 20          	add    $0x20,%r12
  23:	4c 89 e0             	mov    %r12,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 e7             	mov    %r12,%rdi
  34:	e8 1e ed ce fc       	call   0xfcceed57
  39:	49 8b 2c 24          	mov    (%r12),%rbp
  3d:	48                   	rex.W
  3e:	89                   	.byte 0x89
  3f:	5c                   	pop    %rsp

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/26 04:20 linux-5.15.y 4f2df9a01754 9a575fe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in nfcmrvl_bulk_complete
2026/11/23 10:27 linux-5.15.y 4f2df9a01754 b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in nfcmrvl_bulk_complete
* Struck through repros no longer work on HEAD.