Linux USB
 help / color / mirror / Atom feed
* [syzbot] [usb?] general protection fault in rebind_store
@ 2026-08-01  0:36 syzbot
  2026-08-19 14:59 ` syzbot
  0 siblings, 1 reply; 2+ messages in thread
From: syzbot @ 2026-08-01  0:36 UTC (permalink / raw)
  To: gregkh, i, linux-kernel, linux-usb, shuah, syzkaller-bugs,
	valentina.manea.m

Hello,

syzbot found the following issue on:

HEAD commit:    11028ab62899 Merge tag 'probes-fixes-v7.2-rc5' of git://gi..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10bdb1b9580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=145fa60d73086782
dashboard link: https://syzkaller.appspot.com/bug?extid=af76b01c9a0f0ab60fb0
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/dbf4cb7b4116/disk-11028ab6.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/77761f1559a8/vmlinux-11028ab6.xz
kernel image: https://storage.googleapis.com/syzbot-assets/bb1ed2bbff0e/bzImage-11028ab6.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+af76b01c9a0f0ab60fb0@syzkaller.appspotmail.com

Oops: general protection fault, probably for non-canonical address 0xdffffc000000001e: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x00000000000000f0-0x00000000000000f7]
CPU: 1 UID: 0 PID: 20896 Comm: syz.4.10948 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
RIP: 0010:do_rebind drivers/usb/usbip/stub_main.c:204 [inline]
RIP: 0010:rebind_store+0x147/0x2d0 drivers/usb/usbip/stub_main.c:264
Code: 53 01 00 00 48 89 d8 48 c1 e0 07 4c 8b b0 d0 4b a5 9b 48 b8 00 00 00 00 00 fc ff df 49 8d be f0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 30 01 00 00 4d 8b be f0 00 00 00 4d 85 ff 74 3c
RSP: 0018:ffffc9000315fc30 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 000000000000001e RSI: 0000000000000004 RDI: 00000000000000f0
RBP: ffffffff9ba54c50 R08: 0000000000000000 R09: fffffbfff374a98c
R10: ffffffff9ba54c63 R11: 0000000000000001 R12: 0000000000000001
R13: ffff888022ae03e0 R14: 0000000000000000 R15: ffff88802cb21600
FS:  00007fdc96e646c0(0000) GS:ffff888123edc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33f18ff8 CR3: 0000000055192000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 drv_attr_store+0x74/0xb0 drivers/base/bus.c:125
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdc95f9df99
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:00007fdc96e64028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdc96225fa0 RCX: 00007fdc95f9df99
RDX: 0000000000000001 RSI: 0000200000000200 RDI: 0000000000000003
RBP: 00007fdc96034ec4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdc96226038 R14: 00007fdc96225fa0 R15: 00007ffc4c3f1648
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_rebind drivers/usb/usbip/stub_main.c:204 [inline]
RIP: 0010:rebind_store+0x147/0x2d0 drivers/usb/usbip/stub_main.c:264
Code: 53 01 00 00 48 89 d8 48 c1 e0 07 4c 8b b0 d0 4b a5 9b 48 b8 00 00 00 00 00 fc ff df 49 8d be f0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 30 01 00 00 4d 8b be f0 00 00 00 4d 85 ff 74 3c
RSP: 0018:ffffc9000315fc30 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 000000000000001e RSI: 0000000000000004 RDI: 00000000000000f0
RBP: ffffffff9ba54c50 R08: 0000000000000000 R09: fffffbfff374a98c
R10: ffffffff9ba54c63 R11: 0000000000000001 R12: 0000000000000001
R13: ffff888022ae03e0 R14: 0000000000000000 R15: ffff88802cb21600
FS:  00007fdc96e646c0(0000) GS:ffff888123edc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30f10ff8 CR3: 0000000055192000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	53                   	push   %rbx
   1:	01 00                	add    %eax,(%rax)
   3:	00 48 89             	add    %cl,-0x77(%rax)
   6:	d8 48 c1             	fmuls  -0x3f(%rax)
   9:	e0 07                	loopne 0x12
   b:	4c 8b b0 d0 4b a5 9b 	mov    -0x645ab430(%rax),%r14
  12:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  19:	fc ff df
  1c:	49 8d be f0 00 00 00 	lea    0xf0(%r14),%rdi
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 30 01 00 00    	jne    0x164
  34:	4d 8b be f0 00 00 00 	mov    0xf0(%r14),%r15
  3b:	4d 85 ff             	test   %r15,%r15
  3e:	74 3c                	je     0x7c


---
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 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [syzbot] [usb?] general protection fault in rebind_store
  2026-08-01  0:36 [syzbot] [usb?] general protection fault in rebind_store syzbot
@ 2026-08-19 14:59 ` syzbot
  0 siblings, 0 replies; 2+ messages in thread
From: syzbot @ 2026-08-19 14:59 UTC (permalink / raw)
  To: gregkh, i, jeffinphilip14, linux-kernel, linux-usb, shuah, skhan,
	stable, syzkaller-bugs, valentina.manea.m

syzbot has found a reproducer for the following issue on:

HEAD commit:    21d6ac051080 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=130c3a25580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=d1128bc53f2ef7f3
dashboard link: https://syzkaller.appspot.com/bug?extid=af76b01c9a0f0ab60fb0
compiler:       Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
userspace arch: arm64
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15e47815580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=15af7679580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/88380e2ddcb9/disk-21d6ac05.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/5dba5c2896b7/vmlinux-21d6ac05.xz
kernel image: https://storage.googleapis.com/syzbot-assets/52ac739e37e0/Image-21d6ac05.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+af76b01c9a0f0ab60fb0@syzkaller.appspotmail.com

Unable to handle kernel paging request at virtual address dfff80000000001e
KASAN: null-ptr-deref in range [0x00000000000000f0-0x00000000000000f7]
Mem abort info:
  ESR = 0x0000000096000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0
[dfff80000000001e] address between user and kernel address ranges
Internal error: Oops: 0000000096000005 [#1]  SMP
Modules linked in:
CPU: 1 UID: 0 PID: 4959 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026
pstate: 03400005 (nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
pc : do_rebind drivers/usb/usbip/stub_main.c:204 [inline]
pc : rebind_store+0xb8/0x204 drivers/usb/usbip/stub_main.c:264
lr : spin_unlock include/linux/spinlock.h:390 [inline]
lr : put_busid_priv drivers/usb/usbip/stub_main.c:85 [inline]
lr : rebind_store+0x94/0x204 drivers/usb/usbip/stub_main.c:262
sp : ffff80009a7579a0
x29: ffff80009a7579a0 x28: ffff80009a757b68 x27: 1fffe00019788f80
x26: 1fffe00019788fa9 x25: 1ffff00011d58696 x24: dfff800000000000
x23: dfff800000000000 x22: 00000000000000f0 x21: ffff80008eac34b0
x20: ffff0000c667d000 x19: 0000000000000004 x18: 00000000ffffffff
x17: ffff80008a7d6000 x16: 0000000000000004 x15: ffff80008a35fda0
x14: ffff80008a5d5e28 x13: 0000000000000001 x12: 0000000000000000
x11: 0000000000000000 x10: 0000000000000001 x9 : dfff800000000000
x8 : 000000000000001e x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff80008a9961f0 x4 : 0000000000000008 x3 : ffff80008046a5e0
x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000001
Call trace:
 do_rebind drivers/usb/usbip/stub_main.c:204 [inline] (P)
 rebind_store+0xb8/0x204 drivers/usb/usbip/stub_main.c:264 (P)
 drv_attr_store+0x80/0xa4 drivers/base/bus.c:125
 sysfs_kf_write+0xe0/0x108 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x260/0x3b8 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x51c/0xa0c fs/read_write.c:687
 ksys_write+0x12c/0x228 fs/read_write.c:739
 __do_sys_write fs/read_write.c:750 [inline]
 __se_sys_write fs/read_write.c:747 [inline]
 __arm64_sys_write+0x84/0x98 fs/read_write.c:747
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121
 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140
 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:758
 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:777
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:590
Code: 975283bb f94002a8 9103c116 d343fec8 (38786908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	975283bb 	bl	0xfffffffffd4a0eec
   4:	f94002a8 	ldr	x8, [x21]
   8:	9103c116 	add	x22, x8, #0xf0
   c:	d343fec8 	lsr	x8, x22, #3
* 10:	38786908 	ldrb	w8, [x8, x24] <-- trapping instruction


---
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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-19 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-01  0:36 [syzbot] [usb?] general protection fault in rebind_store syzbot
2026-08-19 14:59 ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox