The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [syzbot] [usb?] memory leak in uss720_probe
@ 2026-07-16  7:50 syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2026-07-16  7:50 UTC (permalink / raw)
  To: gregkh, linux-kernel, linux-usb, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    58717b2a1365 Merge tag 'sound-7.2-rc4' of git://git.kernel..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15a344b9580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=b80376788da8bcda
dashboard link: https://syzkaller.appspot.com/bug?extid=56962eb32ba0136cd330
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10f70b46580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=162454b9580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/dac88573d763/disk-58717b2a.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/29447c97aeb1/vmlinux-58717b2a.xz
kernel image: https://storage.googleapis.com/syzbot-assets/076ab0265b89/bzImage-58717b2a.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/cbc20556ddac/mount_1.gz
  fsck result: failed (log: https://syzkaller.appspot.com/x/fsck.log?x=17770b46580000)

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

BUG: memory leak
unreferenced object 0xffff88812c0e34c0 (size 64):
  comm "kworker/0:0", pid 9, jiffies 4294942439
  hex dump (first 32 bytes):
    00 b8 b6 05 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc 7291ab94):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4625 [inline]
    slab_alloc_node mm/slub.c:4945 [inline]
    __kmalloc_cache_noprof+0x356/0x440 mm/slub.c:5511
    _kmalloc_noprof include/linux/slab.h:969 [inline]
    _kzalloc_noprof include/linux/slab.h:1290 [inline]
    uss720_probe+0xf6/0x330 drivers/usb/misc/uss720.c:702
    usb_probe_interface+0x210/0x480 drivers/usb/core/driver.c:396
    call_driver_probe drivers/base/dd.c:628 [inline]
    really_probe+0x12f/0x3a0 drivers/base/dd.c:706
    __driver_probe_device+0xe9/0x1a0 drivers/base/dd.c:868
    driver_probe_device+0x28/0xf0 drivers/base/dd.c:898
    __device_attach_driver+0x10f/0x170 drivers/base/dd.c:1026
    bus_for_each_drv+0xd2/0x130 drivers/base/bus.c:500
    __device_attach+0xf9/0x290 drivers/base/dd.c:1098
    device_initial_probe+0x6f/0x80 drivers/base/dd.c:1153
    bus_probe_device+0x3e/0xb0 drivers/base/bus.c:620
    device_add+0x99f/0xc80 drivers/base/core.c:3772
    usb_set_configuration+0x8f5/0xb80 drivers/usb/core/message.c:2268
    usb_generic_driver_probe+0x73/0xb0 drivers/usb/core/generic.c:250
    usb_probe_device+0x78/0x1f0 drivers/usb/core/driver.c:291
    call_driver_probe drivers/base/dd.c:628 [inline]
    really_probe+0x12f/0x3a0 drivers/base/dd.c:706

BUG: memory leak
unreferenced object 0xffff88812d350b40 (size 96):
  comm "kworker/0:0", pid 9, jiffies 4294942439
  hex dump (first 32 bytes):
    c0 34 0e 2c 81 88 ff ff 01 00 00 00 00 00 00 00  .4.,............
    e0 34 0e 2c 81 88 ff ff e0 34 0e 2c 81 88 ff ff  .4.,.....4.,....
  backtrace (crc 519c4231):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4625 [inline]
    slab_alloc_node mm/slub.c:4945 [inline]
    __kmalloc_cache_noprof+0x356/0x440 mm/slub.c:5511
    _kmalloc_noprof include/linux/slab.h:969 [inline]
    _kzalloc_noprof include/linux/slab.h:1290 [inline]
    submit_async_request.constprop.0+0x6b/0x440 drivers/usb/misc/uss720.c:137
    get_1284_register+0x4a/0x1a0 drivers/usb/misc/uss720.c:205
    uss720_probe+0x205/0x330 drivers/usb/misc/uss720.c:733
    usb_probe_interface+0x210/0x480 drivers/usb/core/driver.c:396
    call_driver_probe drivers/base/dd.c:628 [inline]
    really_probe+0x12f/0x3a0 drivers/base/dd.c:706
    __driver_probe_device+0xe9/0x1a0 drivers/base/dd.c:868
    driver_probe_device+0x28/0xf0 drivers/base/dd.c:898
    __device_attach_driver+0x10f/0x170 drivers/base/dd.c:1026
    bus_for_each_drv+0xd2/0x130 drivers/base/bus.c:500
    __device_attach+0xf9/0x290 drivers/base/dd.c:1098
    device_initial_probe+0x6f/0x80 drivers/base/dd.c:1153
    bus_probe_device+0x3e/0xb0 drivers/base/bus.c:620
    device_add+0x99f/0xc80 drivers/base/core.c:3772
    usb_set_configuration+0x8f5/0xb80 drivers/usb/core/message.c:2268
    usb_generic_driver_probe+0x73/0xb0 drivers/usb/core/generic.c:250

BUG: memory leak
unreferenced object 0xffff88812d277180 (size 192):
  comm "kworker/0:0", pid 9, jiffies 4294942439
  hex dump (first 32 bytes):
    01 00 00 00 98 ff ff ff 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 98 71 27 2d 81 88 ff ff  .........q'-....
  backtrace (crc 26b7be33):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4625 [inline]
    slab_alloc_node mm/slub.c:4945 [inline]
    __do_kmalloc_node mm/slub.c:5361 [inline]
    __kmalloc_noprof+0x3bf/0x550 mm/slub.c:5387
    _kmalloc_noprof include/linux/slab.h:973 [inline]
    usb_alloc_urb+0x66/0xa0 drivers/usb/core/urb.c:75
    submit_async_request.constprop.0+0x11c/0x440 drivers/usb/misc/uss720.c:145
    get_1284_register+0x4a/0x1a0 drivers/usb/misc/uss720.c:205
    uss720_probe+0x205/0x330 drivers/usb/misc/uss720.c:733
    usb_probe_interface+0x210/0x480 drivers/usb/core/driver.c:396
    call_driver_probe drivers/base/dd.c:628 [inline]
    really_probe+0x12f/0x3a0 drivers/base/dd.c:706
    __driver_probe_device+0xe9/0x1a0 drivers/base/dd.c:868
    driver_probe_device+0x28/0xf0 drivers/base/dd.c:898
    __device_attach_driver+0x10f/0x170 drivers/base/dd.c:1026
    bus_for_each_drv+0xd2/0x130 drivers/base/bus.c:500
    __device_attach+0xf9/0x290 drivers/base/dd.c:1098
    device_initial_probe+0x6f/0x80 drivers/base/dd.c:1153
    bus_probe_device+0x3e/0xb0 drivers/base/bus.c:620
    device_add+0x99f/0xc80 drivers/base/core.c:3772
    usb_set_configuration+0x8f5/0xb80 drivers/usb/core/message.c:2268

BUG: memory leak
unreferenced object 0xffff888111cfec80 (size 8):
  comm "kworker/0:0", pid 9, jiffies 4294942439
  hex dump (first 8 bytes):
    c0 03 00 00 00 00 07 00                          ........
  backtrace (crc 40fcb6d):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4625 [inline]
    slab_alloc_node mm/slub.c:4945 [inline]
    __kmalloc_cache_noprof+0x356/0x440 mm/slub.c:5511
    _kmalloc_noprof include/linux/slab.h:969 [inline]
    submit_async_request.constprop.0+0x143/0x440 drivers/usb/misc/uss720.c:150
    get_1284_register+0x4a/0x1a0 drivers/usb/misc/uss720.c:205
    uss720_probe+0x205/0x330 drivers/usb/misc/uss720.c:733
    usb_probe_interface+0x210/0x480 drivers/usb/core/driver.c:396
    call_driver_probe drivers/base/dd.c:628 [inline]
    really_probe+0x12f/0x3a0 drivers/base/dd.c:706
    __driver_probe_device+0xe9/0x1a0 drivers/base/dd.c:868
    driver_probe_device+0x28/0xf0 drivers/base/dd.c:898
    __device_attach_driver+0x10f/0x170 drivers/base/dd.c:1026
    bus_for_each_drv+0xd2/0x130 drivers/base/bus.c:500
    __device_attach+0xf9/0x290 drivers/base/dd.c:1098
    device_initial_probe+0x6f/0x80 drivers/base/dd.c:1153
    bus_probe_device+0x3e/0xb0 drivers/base/bus.c:620
    device_add+0x99f/0xc80 drivers/base/core.c:3772
    usb_set_configuration+0x8f5/0xb80 drivers/usb/core/message.c:2268
    usb_generic_driver_probe+0x73/0xb0 drivers/usb/core/generic.c:250

connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF


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

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

* Re: [syzbot] [usb?] memory leak in uss720_probe
       [not found] <aljCxrwM8-f93NlL@michalis-linux>
@ 2026-07-16 22:09 ` syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2026-07-16 22:09 UTC (permalink / raw)
  To: linux-kernel, michail.tatas, syzkaller-bugs

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+56962eb32ba0136cd330@syzkaller.appspotmail.com
Tested-by: syzbot+56962eb32ba0136cd330@syzkaller.appspotmail.com

Tested on:

commit:         481ed5dd Merge tag 'landlock-7.2-rc4' of git://git.ker..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=109034b9580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=b80376788da8bcda
dashboard link: https://syzkaller.appspot.com/bug?extid=56962eb32ba0136cd330
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
patch:          https://syzkaller.appspot.com/x/patch.diff?x=12a00cb9580000

Note: testing is done by a robot and is best-effort only.

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

* Re: [syzbot] [usb?] memory leak in uss720_probe
       [not found] <20260716120914.9099-1-kartikey406@gmail.com>
@ 2026-07-16 22:15 ` syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2026-07-16 22:15 UTC (permalink / raw)
  To: kartikey406, linux-kernel, syzkaller-bugs

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
general protection fault in kill_all_async_requests_priv

Oops: general protection fault, probably for non-canonical address 0x6230343037302d77: 0000 [#1] SMP PTI
CPU: 0 UID: 0 PID: 6530 Comm: kworker/0:7 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_kill_urb+0x30/0x140 drivers/usb/core/urb.c:706
Code: 55 53 48 83 ec 30 65 48 8b 1d d4 4f dd 05 48 89 5c 24 28 48 89 fb e8 8f 03 c3 fd 2e 2e 2e 31 c0 48 85 db 74 4c e8 80 03 c3 fd <48> 83 7b 40 00 74 40 e8 74 03 c3 fd 48 83 7b 48 00 74 34 e8 68 03
RSP: 0018:ffffc900031ef680 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 6230343037302d37 RCX: ffffffff83c14112
RDX: ffff888109a6ec00 RSI: ffffffff83c14050 RDI: 6230343037302d37
RBP: 7369646632785c4c R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 7369646632785c4c
R13: ffff88812c3cd6f0 R14: ffff88812c3cd6e0 R15: 000000000000001f
FS:  0000000000000000(0000) GS:ffff8881b202b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561313ede480 CR3: 000000012f13a000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 kill_all_async_requests_priv.isra.0+0x58/0x90 drivers/usb/misc/uss720.c:185
 get_1284_register.cold+0x19/0x5b drivers/usb/misc/uss720.c:227
 uss720_probe+0x1fa/0x2e0 drivers/usb/misc/uss720.c:735
 usb_probe_interface+0x210/0x480 drivers/usb/core/driver.c:396
 call_driver_probe drivers/base/dd.c:628 [inline]
 really_probe+0x12f/0x3a0 drivers/base/dd.c:706
 __driver_probe_device+0xe9/0x1a0 drivers/base/dd.c:868
 driver_probe_device+0x28/0xf0 drivers/base/dd.c:898
 __device_attach_driver+0x10f/0x170 drivers/base/dd.c:1026
 bus_for_each_drv+0xd2/0x130 drivers/base/bus.c:500
 __device_attach+0xf9/0x290 drivers/base/dd.c:1098
 device_initial_probe+0x6f/0x80 drivers/base/dd.c:1153
 bus_probe_device+0x3e/0xb0 drivers/base/bus.c:620
 device_add+0x99f/0xc80 drivers/base/core.c:3772
 usb_set_configuration+0x8f5/0xb80 drivers/usb/core/message.c:2268
 usb_generic_driver_probe+0x73/0xb0 drivers/usb/core/generic.c:250
 usb_probe_device+0x78/0x1f0 drivers/usb/core/driver.c:291
 call_driver_probe drivers/base/dd.c:628 [inline]
 really_probe+0x12f/0x3a0 drivers/base/dd.c:706
 __driver_probe_device+0xe9/0x1a0 drivers/base/dd.c:868
 driver_probe_device+0x28/0xf0 drivers/base/dd.c:898
 __device_attach_driver+0x10f/0x170 drivers/base/dd.c:1026
 bus_for_each_drv+0xd2/0x130 drivers/base/bus.c:500
 __device_attach+0xf9/0x290 drivers/base/dd.c:1098
 device_initial_probe+0x6f/0x80 drivers/base/dd.c:1153
 bus_probe_device+0x3e/0xb0 drivers/base/bus.c:620
 device_add+0x99f/0xc80 drivers/base/core.c:3772
 usb_new_device.cold+0x115/0x626 drivers/usb/core/hub.c:2695
 hub_port_connect drivers/usb/core/hub.c:5567 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5707 [inline]
 port_event drivers/usb/core/hub.c:5871 [inline]
 hub_event+0x1723/0x2180 drivers/usb/core/hub.c:5953
 process_one_work+0x277/0x5a0 kernel/workqueue.c:3322
 process_scheduled_works kernel/workqueue.c:3405 [inline]
 worker_thread+0x255/0x4a0 kernel/workqueue.c:3486
 kthread+0x14e/0x1a0 kernel/kthread.c:436
 ret_from_fork+0x219/0x490 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 ]---
----------------
Code disassembly (best guess):
   0:	55                   	push   %rbp
   1:	53                   	push   %rbx
   2:	48 83 ec 30          	sub    $0x30,%rsp
   6:	65 48 8b 1d d4 4f dd 	mov    %gs:0x5dd4fd4(%rip),%rbx        # 0x5dd4fe2
   d:	05
   e:	48 89 5c 24 28       	mov    %rbx,0x28(%rsp)
  13:	48 89 fb             	mov    %rdi,%rbx
  16:	e8 8f 03 c3 fd       	call   0xfdc303aa
  1b:	2e 2e 2e 31 c0       	cs cs cs xor %eax,%eax
  20:	48 85 db             	test   %rbx,%rbx
  23:	74 4c                	je     0x71
  25:	e8 80 03 c3 fd       	call   0xfdc303aa
* 2a:	48 83 7b 40 00       	cmpq   $0x0,0x40(%rbx) <-- trapping instruction
  2f:	74 40                	je     0x71
  31:	e8 74 03 c3 fd       	call   0xfdc303aa
  36:	48 83 7b 48 00       	cmpq   $0x0,0x48(%rbx)
  3b:	74 34                	je     0x71
  3d:	e8                   	.byte 0xe8
  3e:	68                   	.byte 0x68
  3f:	03                   	.byte 0x3


Tested on:

commit:         481ed5dd Merge tag 'landlock-7.2-rc4' of git://git.ker..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=138b4b46580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=b80376788da8bcda
dashboard link: https://syzkaller.appspot.com/bug?extid=56962eb32ba0136cd330
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
patch:          https://syzkaller.appspot.com/x/patch.diff?x=129ad4b9580000


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

end of thread, other threads:[~2026-07-16 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260716120914.9099-1-kartikey406@gmail.com>
2026-07-16 22:15 ` [syzbot] [usb?] memory leak in uss720_probe syzbot
     [not found] <aljCxrwM8-f93NlL@michalis-linux>
2026-07-16 22:09 ` syzbot
2026-07-16  7:50 syzbot

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