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: 58m, last: 58m
▶ ▼ Similar bugs (1)
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 5 6h19m 88d 0/29 upstream: reported C repro on 2026/08/26 12:31

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: 4920 Comm: syz.4.159 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
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: ffff88801b9fcf00 RCX: 0000000000000002
RDX: ffff88807e0f5940 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88807744003f R09: 1ffff1100ee88007
R10: dffffc0000000000 R11: ffffed100ee88008 R12: 0000000000000020
R13: dffffc0000000000 R14: ffff888077440038 R15: 1ffff1100ee88007
FS:  00007f13ee44c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f13ee42bd58 CR3: 0000000079443000 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:194
Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> ef 73 7d f7 65 8b 05 70 61 2d 76 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc900031cefc0 EFLAGS: 00000206
RAX: dffffc0000000004 RBX: 0000000000000a06 RCX: a3ea0ff345567900
RDX: dffffc0000000000 RSI: ffffffff8a2b3160 RDI: 0000000000000001
RBP: ffffc900031cf058 R08: ffffffff9105027f R09: 1ffffffff220a04f
R10: dffffc0000000000 R11: fffffbfff220a050 R12: dffffc0000000000
R13: ffff8880b8f280c0 R14: ffff8880b8f280c0 R15: 1ffff92000639df8
 __mod_timer+0x925/0xd20 kernel/time/timer.c:1105
 schedule_timeout+0x17f/0x2d0 kernel/time/timer.c:2140
 do_wait_for_common+0x295/0x460 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion_interruptible_timeout+0x46/0x60 kernel/sched/completion.c:228
 __nci_request net/nfc/nci/core.c:109 [inline]
 nci_open_device net/nfc/nci/core.c:502 [inline]
 nci_dev_up+0x365/0xd90 net/nfc/nci/core.c:633
 nfc_dev_up+0x15d/0x310 net/nfc/core.c:118
 nfc_genl_dev_up+0x85/0xd0 net/nfc/netlink.c:770
 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0xd0b/0xfa0 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x1e9/0x430 net/netlink/af_netlink.c:2535
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
 netlink_unicast+0x804/0x9e0 net/netlink/af_netlink.c:1340
 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1927
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 ____sys_sendmsg+0x5be/0x8f0 net/socket.c:2446
 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2500
 __sys_sendmsg net/socket.c:2529 [inline]
 __do_sys_sendmsg net/socket.c:2538 [inline]
 __se_sys_sendmsg+0x1b7/0x2a0 net/socket.c:2536
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f13f01ff559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f13ee44c028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f13f047bfa0 RCX: 00007f13f01ff559
RDX: 0000000000000000 RSI: 0000200000000240 RDI: 0000000000000005
RBP: 00007f13f028e136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f13f047c038 R14: 00007f13f047bfa0 R15: 00007ffd534ef878
 </TASK>
Modules linked in:
---[ end trace 0aeba57888c4dda3 ]---
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: ffff88801b9fcf00 RCX: 0000000000000002
RDX: ffff88807e0f5940 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88807744003f R09: 1ffff1100ee88007
R10: dffffc0000000000 R11: ffffed100ee88008 R12: 0000000000000020
R13: dffffc0000000000 R14: ffff888077440038 R15: 1ffff1100ee88007
FS:  00007f13ee44c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f13ee42bd58 CR3: 0000000079443000 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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.