linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [syzbot] [input?] [usb?] memory leak in dualshock4_get_calibration_data
@ 2025-11-13  4:38 syzbot
  2025-11-13  7:23 ` Oliver Neukum
  0 siblings, 1 reply; 3+ messages in thread
From: syzbot @ 2025-11-13  4:38 UTC (permalink / raw)
  To: bentiss, jikos, linux-input, linux-kernel, linux-usb,
	syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    24172e0d7990 Merge tag 'arm64-fixes' of git://git.kernel.o..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=12a44692580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=cb128cd5cb439809
dashboard link: https://syzkaller.appspot.com/bug?extid=4f5f81e1456a1f645bf8
compiler:       gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1508c658580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1051897c580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ded911fa4408/disk-24172e0d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/a1f3e61cb784/vmlinux-24172e0d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/b92fd0e25cb7/bzImage-24172e0d.xz

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

BUG: memory leak
unreferenced object 0xffff8881192f9a40 (size 64):
  comm "kworker/1:0", pid 23, jiffies 4294944710
  hex dump (first 32 bytes):
    02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc c51b5d6b):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4983 [inline]
    slab_alloc_node mm/slub.c:5288 [inline]
    __kmalloc_cache_noprof+0x3a6/0x5b0 mm/slub.c:5766
    kmalloc_noprof include/linux/slab.h:957 [inline]
    kzalloc_noprof include/linux/slab.h:1094 [inline]
    dualshock4_get_calibration_data+0x437/0x500 drivers/hid/hid-playstation.c:1919
    dualshock4_create drivers/hid/hid-playstation.c:2747 [inline]
    ps_probe drivers/hid/hid-playstation.c:2845 [inline]
    ps_probe+0x747/0x17d0 drivers/hid/hid-playstation.c:2821
    __hid_device_probe drivers/hid/hid-core.c:2775 [inline]
    hid_device_probe+0x298/0x3b0 drivers/hid/hid-core.c:2812
    call_driver_probe drivers/base/dd.c:581 [inline]
    really_probe+0x12f/0x430 drivers/base/dd.c:659
    __driver_probe_device+0xc3/0x1a0 drivers/base/dd.c:801
    driver_probe_device+0x2a/0x120 drivers/base/dd.c:831
    __device_attach_driver+0x10f/0x170 drivers/base/dd.c:959
    bus_for_each_drv+0xcf/0x120 drivers/base/bus.c:462
    __device_attach+0xf9/0x290 drivers/base/dd.c:1031
    bus_probe_device+0xcd/0xe0 drivers/base/bus.c:537
    device_add+0x983/0xc80 drivers/base/core.c:3689
    hid_add_device+0x140/0x250 drivers/hid/hid-core.c:2951
    usbhid_probe+0x5ed/0x950 drivers/hid/usbhid/hid-core.c:1435
    usb_probe_interface+0x173/0x3f0 drivers/usb/core/driver.c:396
    call_driver_probe drivers/base/dd.c:581 [inline]
    really_probe+0x12f/0x430 drivers/base/dd.c:659

BUG: memory leak
unreferenced object 0xffff8881192e7740 (size 64):
  comm "kworker/1:0", pid 23, jiffies 4294944884
  hex dump (first 32 bytes):
    02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc c51b5d6b):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4983 [inline]
    slab_alloc_node mm/slub.c:5288 [inline]
    __kmalloc_cache_noprof+0x3a6/0x5b0 mm/slub.c:5766
    kmalloc_noprof include/linux/slab.h:957 [inline]
    kzalloc_noprof include/linux/slab.h:1094 [inline]
    dualshock4_get_calibration_data+0x437/0x500 drivers/hid/hid-playstation.c:1919
    dualshock4_create drivers/hid/hid-playstation.c:2747 [inline]
    ps_probe drivers/hid/hid-playstation.c:2845 [inline]
    ps_probe+0x747/0x17d0 drivers/hid/hid-playstation.c:2821
    __hid_device_probe drivers/hid/hid-core.c:2775 [inline]
    hid_device_probe+0x298/0x3b0 drivers/hid/hid-core.c:2812
    call_driver_probe drivers/base/dd.c:581 [inline]
    really_probe+0x12f/0x430 drivers/base/dd.c:659
    __driver_probe_device+0xc3/0x1a0 drivers/base/dd.c:801
    driver_probe_device+0x2a/0x120 drivers/base/dd.c:831
    __device_attach_driver+0x10f/0x170 drivers/base/dd.c:959
    bus_for_each_drv+0xcf/0x120 drivers/base/bus.c:462
    __device_attach+0xf9/0x290 drivers/base/dd.c:1031
    bus_probe_device+0xcd/0xe0 drivers/base/bus.c:537
    device_add+0x983/0xc80 drivers/base/core.c:3689
    hid_add_device+0x140/0x250 drivers/hid/hid-core.c:2951
    usbhid_probe+0x5ed/0x950 drivers/hid/usbhid/hid-core.c:1435
    usb_probe_interface+0x173/0x3f0 drivers/usb/core/driver.c:396
    call_driver_probe drivers/base/dd.c:581 [inline]
    really_probe+0x12f/0x430 drivers/base/dd.c:659

BUG: memory leak
unreferenced object 0xffff88812484e5c0 (size 64):
  comm "kworker/0:0", pid 9, jiffies 4294945059
  hex dump (first 32 bytes):
    02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc c51b5d6b):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4983 [inline]
    slab_alloc_node mm/slub.c:5288 [inline]
    __kmalloc_cache_noprof+0x3a6/0x5b0 mm/slub.c:5766
    kmalloc_noprof include/linux/slab.h:957 [inline]
    kzalloc_noprof include/linux/slab.h:1094 [inline]
    dualshock4_get_calibration_data+0x437/0x500 drivers/hid/hid-playstation.c:1919
    dualshock4_create drivers/hid/hid-playstation.c:2747 [inline]
    ps_probe drivers/hid/hid-playstation.c:2845 [inline]
    ps_probe+0x747/0x17d0 drivers/hid/hid-playstation.c:2821
    __hid_device_probe drivers/hid/hid-core.c:2775 [inline]
    hid_device_probe+0x298/0x3b0 drivers/hid/hid-core.c:2812
    call_driver_probe drivers/base/dd.c:581 [inline]
    really_probe+0x12f/0x430 drivers/base/dd.c:659
    __driver_probe_device+0xc3/0x1a0 drivers/base/dd.c:801
    driver_probe_device+0x2a/0x120 drivers/base/dd.c:831
    __device_attach_driver+0x10f/0x170 drivers/base/dd.c:959
    bus_for_each_drv+0xcf/0x120 drivers/base/bus.c:462
    __device_attach+0xf9/0x290 drivers/base/dd.c:1031
    bus_probe_device+0xcd/0xe0 drivers/base/bus.c:537
    device_add+0x983/0xc80 drivers/base/core.c:3689
    hid_add_device+0x140/0x250 drivers/hid/hid-core.c:2951
    usbhid_probe+0x5ed/0x950 drivers/hid/usbhid/hid-core.c:1435
    usb_probe_interface+0x173/0x3f0 drivers/usb/core/driver.c:396
    call_driver_probe drivers/base/dd.c:581 [inline]
    really_probe+0x12f/0x430 drivers/base/dd.c:659

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] [input?] [usb?] memory leak in dualshock4_get_calibration_data
  2025-11-13  4:38 [syzbot] [input?] [usb?] memory leak in dualshock4_get_calibration_data syzbot
@ 2025-11-13  7:23 ` Oliver Neukum
  2025-11-13  7:38   ` syzbot
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Neukum @ 2025-11-13  7:23 UTC (permalink / raw)
  To: syzbot, bentiss, jikos, linux-input, linux-kernel, linux-usb,
	syzkaller-bugs

[-- Attachment #1: Type: text/plain, Size: 7903 bytes --]

#syz test: upstream 24172e0d7990

On 13.11.25 05:38, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    24172e0d7990 Merge tag 'arm64-fixes' of git://git.kernel.o..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=12a44692580000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=cb128cd5cb439809
> dashboard link: https://syzkaller.appspot.com/bug?extid=4f5f81e1456a1f645bf8
> compiler:       gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1508c658580000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1051897c580000
> 
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/ded911fa4408/disk-24172e0d.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/a1f3e61cb784/vmlinux-24172e0d.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/b92fd0e25cb7/bzImage-24172e0d.xz
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+4f5f81e1456a1f645bf8@syzkaller.appspotmail.com
> 
> BUG: memory leak
> unreferenced object 0xffff8881192f9a40 (size 64):
>    comm "kworker/1:0", pid 23, jiffies 4294944710
>    hex dump (first 32 bytes):
>      02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>    backtrace (crc c51b5d6b):
>      kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
>      slab_post_alloc_hook mm/slub.c:4983 [inline]
>      slab_alloc_node mm/slub.c:5288 [inline]
>      __kmalloc_cache_noprof+0x3a6/0x5b0 mm/slub.c:5766
>      kmalloc_noprof include/linux/slab.h:957 [inline]
>      kzalloc_noprof include/linux/slab.h:1094 [inline]
>      dualshock4_get_calibration_data+0x437/0x500 drivers/hid/hid-playstation.c:1919
>      dualshock4_create drivers/hid/hid-playstation.c:2747 [inline]
>      ps_probe drivers/hid/hid-playstation.c:2845 [inline]
>      ps_probe+0x747/0x17d0 drivers/hid/hid-playstation.c:2821
>      __hid_device_probe drivers/hid/hid-core.c:2775 [inline]
>      hid_device_probe+0x298/0x3b0 drivers/hid/hid-core.c:2812
>      call_driver_probe drivers/base/dd.c:581 [inline]
>      really_probe+0x12f/0x430 drivers/base/dd.c:659
>      __driver_probe_device+0xc3/0x1a0 drivers/base/dd.c:801
>      driver_probe_device+0x2a/0x120 drivers/base/dd.c:831
>      __device_attach_driver+0x10f/0x170 drivers/base/dd.c:959
>      bus_for_each_drv+0xcf/0x120 drivers/base/bus.c:462
>      __device_attach+0xf9/0x290 drivers/base/dd.c:1031
>      bus_probe_device+0xcd/0xe0 drivers/base/bus.c:537
>      device_add+0x983/0xc80 drivers/base/core.c:3689
>      hid_add_device+0x140/0x250 drivers/hid/hid-core.c:2951
>      usbhid_probe+0x5ed/0x950 drivers/hid/usbhid/hid-core.c:1435
>      usb_probe_interface+0x173/0x3f0 drivers/usb/core/driver.c:396
>      call_driver_probe drivers/base/dd.c:581 [inline]
>      really_probe+0x12f/0x430 drivers/base/dd.c:659
> 
> BUG: memory leak
> unreferenced object 0xffff8881192e7740 (size 64):
>    comm "kworker/1:0", pid 23, jiffies 4294944884
>    hex dump (first 32 bytes):
>      02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>    backtrace (crc c51b5d6b):
>      kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
>      slab_post_alloc_hook mm/slub.c:4983 [inline]
>      slab_alloc_node mm/slub.c:5288 [inline]
>      __kmalloc_cache_noprof+0x3a6/0x5b0 mm/slub.c:5766
>      kmalloc_noprof include/linux/slab.h:957 [inline]
>      kzalloc_noprof include/linux/slab.h:1094 [inline]
>      dualshock4_get_calibration_data+0x437/0x500 drivers/hid/hid-playstation.c:1919
>      dualshock4_create drivers/hid/hid-playstation.c:2747 [inline]
>      ps_probe drivers/hid/hid-playstation.c:2845 [inline]
>      ps_probe+0x747/0x17d0 drivers/hid/hid-playstation.c:2821
>      __hid_device_probe drivers/hid/hid-core.c:2775 [inline]
>      hid_device_probe+0x298/0x3b0 drivers/hid/hid-core.c:2812
>      call_driver_probe drivers/base/dd.c:581 [inline]
>      really_probe+0x12f/0x430 drivers/base/dd.c:659
>      __driver_probe_device+0xc3/0x1a0 drivers/base/dd.c:801
>      driver_probe_device+0x2a/0x120 drivers/base/dd.c:831
>      __device_attach_driver+0x10f/0x170 drivers/base/dd.c:959
>      bus_for_each_drv+0xcf/0x120 drivers/base/bus.c:462
>      __device_attach+0xf9/0x290 drivers/base/dd.c:1031
>      bus_probe_device+0xcd/0xe0 drivers/base/bus.c:537
>      device_add+0x983/0xc80 drivers/base/core.c:3689
>      hid_add_device+0x140/0x250 drivers/hid/hid-core.c:2951
>      usbhid_probe+0x5ed/0x950 drivers/hid/usbhid/hid-core.c:1435
>      usb_probe_interface+0x173/0x3f0 drivers/usb/core/driver.c:396
>      call_driver_probe drivers/base/dd.c:581 [inline]
>      really_probe+0x12f/0x430 drivers/base/dd.c:659
> 
> BUG: memory leak
> unreferenced object 0xffff88812484e5c0 (size 64):
>    comm "kworker/0:0", pid 9, jiffies 4294945059
>    hex dump (first 32 bytes):
>      02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>    backtrace (crc c51b5d6b):
>      kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
>      slab_post_alloc_hook mm/slub.c:4983 [inline]
>      slab_alloc_node mm/slub.c:5288 [inline]
>      __kmalloc_cache_noprof+0x3a6/0x5b0 mm/slub.c:5766
>      kmalloc_noprof include/linux/slab.h:957 [inline]
>      kzalloc_noprof include/linux/slab.h:1094 [inline]
>      dualshock4_get_calibration_data+0x437/0x500 drivers/hid/hid-playstation.c:1919
>      dualshock4_create drivers/hid/hid-playstation.c:2747 [inline]
>      ps_probe drivers/hid/hid-playstation.c:2845 [inline]
>      ps_probe+0x747/0x17d0 drivers/hid/hid-playstation.c:2821
>      __hid_device_probe drivers/hid/hid-core.c:2775 [inline]
>      hid_device_probe+0x298/0x3b0 drivers/hid/hid-core.c:2812
>      call_driver_probe drivers/base/dd.c:581 [inline]
>      really_probe+0x12f/0x430 drivers/base/dd.c:659
>      __driver_probe_device+0xc3/0x1a0 drivers/base/dd.c:801
>      driver_probe_device+0x2a/0x120 drivers/base/dd.c:831
>      __device_attach_driver+0x10f/0x170 drivers/base/dd.c:959
>      bus_for_each_drv+0xcf/0x120 drivers/base/bus.c:462
>      __device_attach+0xf9/0x290 drivers/base/dd.c:1031
>      bus_probe_device+0xcd/0xe0 drivers/base/bus.c:537
>      device_add+0x983/0xc80 drivers/base/core.c:3689
>      hid_add_device+0x140/0x250 drivers/hid/hid-core.c:2951
>      usbhid_probe+0x5ed/0x950 drivers/hid/usbhid/hid-core.c:1435
>      usb_probe_interface+0x173/0x3f0 drivers/usb/core/driver.c:396
>      call_driver_probe drivers/base/dd.c:581 [inline]
>      really_probe+0x12f/0x430 drivers/base/dd.c:659
> 
> 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
> 

[-- Attachment #2: 0001-hid-hid-playstation-fix-memleak-in-probe.patch --]
[-- Type: text/x-patch, Size: 1110 bytes --]

From 29d67f8aa4aed5d207ceff52ad9c5c675a438425 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@suse.com>
Date: Thu, 13 Nov 2025 08:03:55 +0100
Subject: [PATCH] hid: hid-playstation: fix memleak in probe

Free the buffer if we bail out in the error case of
dualshock4_get_calibration_data()

Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
 drivers/hid/hid-playstation.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/hid/hid-playstation.c b/drivers/hid/hid-playstation.c
index 63f6eb9030d1..128aa6abd10b 100644
--- a/drivers/hid/hid-playstation.c
+++ b/drivers/hid/hid-playstation.c
@@ -1942,6 +1942,7 @@ static int dualshock4_get_calibration_data(struct dualshock4 *ds4)
 					 "Failed to retrieve DualShock4 calibration info: %d\n",
 					 ret);
 				ret = -EILSEQ;
+				kfree(buf);
 				goto transfer_failed;
 			} else {
 				break;
@@ -1959,6 +1960,7 @@ static int dualshock4_get_calibration_data(struct dualshock4 *ds4)
 
 		if (ret) {
 			hid_warn(hdev, "Failed to retrieve DualShock4 calibration info: %d\n", ret);
+			kfree(buf);
 			goto transfer_failed;
 		}
 	}
-- 
2.51.1


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

* Re: [syzbot] [input?] [usb?] memory leak in dualshock4_get_calibration_data
  2025-11-13  7:23 ` Oliver Neukum
@ 2025-11-13  7:38   ` syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2025-11-13  7:38 UTC (permalink / raw)
  To: bentiss, jikos, linux-input, linux-kernel, linux-usb, oneukum,
	syzkaller-bugs

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

SYZFAIL: failed to recv rpc

SYZFAIL: failed to recv rpc
fd=3 want=4 recv=0 n=0


Warning: Permanently added '10.128.0.165' (ED25519) to the list of known hosts.
2025/11/13 07:36:48 parsed 1 programs
[   46.199818][ T5813] cgroup: Unknown subsys name 'net'
[   46.379023][ T5813] cgroup: Unknown subsys name 'cpuset'
[   46.385474][ T5813] cgroup: Unknown subsys name 'rlimit'
Setting up swapspace version 1, size = 127995904 bytes
[   54.888279][ T5813] Adding 124996k swap on ./swap-file.  Priority:0 extents:1 across:124996k 
[   56.340369][ T5825] soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality.
[   56.421936][ T5832] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[   56.429766][ T5832] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[   56.436985][ T5832] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[   56.445171][ T5832] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[   56.452741][ T5832] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[   56.846094][   T48] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[   56.854123][   T48] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[   56.864851][   T48] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[   56.872802][   T48] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[   57.063354][ T5895] chnl_net:caif_netlink_parms(): no params data found
[   57.083062][ T5895] bridge0: port 1(bridge_slave_0) entered blocking state
[   57.090193][ T5895] bridge0: port 1(bridge_slave_0) entered disabled state
[   57.097410][ T5895] bridge_slave_0: entered allmulticast mode
[   57.104038][ T5895] bridge_slave_0: entered promiscuous mode
[   57.113031][ T5895] bridge0: port 2(bridge_slave_1) entered blocking state
[   57.120155][ T5895] bridge0: port 2(bridge_slave_1) entered disabled state
[   57.127349][ T5895] bridge_slave_1: entered allmulticast mode
[   57.133596][ T5895] bridge_slave_1: entered promiscuous mode
[   57.144454][ T5895] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[   57.154187][ T5895] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[   57.168185][ T5895] team0: Port device team_slave_0 added
[   57.174463][ T5895] team0: Port device team_slave_1 added
[   57.186086][ T5895] batman_adv: batadv0: Adding interface: batadv_slave_0
[   57.193078][ T5895] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[   57.219301][ T5895] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[   57.230889][ T5895] batman_adv: batadv0: Adding interface: batadv_slave_1
[   57.237915][ T5895] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[   57.263881][ T5895] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[   57.281848][ T5895] hsr_slave_0: entered promiscuous mode
[   57.287619][ T5895] hsr_slave_1: entered promiscuous mode
[   57.317718][ T5895] netdevsim netdevsim0 netdevsim0: renamed from eth0
[   57.325494][ T5895] netdevsim netdevsim0 netdevsim1: renamed from eth1
[   57.334404][ T5895] netdevsim netdevsim0 netdevsim2: renamed from eth2
[   57.349057][ T5895] netdevsim netdevsim0 netdevsim3: renamed from eth3
[   57.361932][ T5895] bridge0: port 2(bridge_slave_1) entered blocking state
[   57.368995][ T5895] bridge0: port 2(bridge_slave_1) entered forwarding state
[   57.376311][ T5895] bridge0: port 1(bridge_slave_0) entered blocking state
[   57.383366][ T5895] bridge0: port 1(bridge_slave_0) entered forwarding state
[   57.402889][ T5895] 8021q: adding VLAN 0 to HW filter on device bond0
[   57.412746][   T48] bridge0: port 1(bridge_slave_0) entered disabled state
[   57.420421][   T48] bridge0: port 2(bridge_slave_1) entered disabled state
[   57.430935][ T5895] 8021q: adding VLAN 0 to HW filter on device team0
[   57.439750][ T1005] bridge0: port 1(bridge_slave_0) entered blocking state
[   57.446848][ T1005] bridge0: port 1(bridge_slave_0) entered forwarding state
[   57.455906][ T1005] bridge0: port 2(bridge_slave_1) entered blocking state
[   57.463221][ T1005] bridge0: port 2(bridge_slave_1) entered forwarding state
[   57.480670][ T5895] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network
[   57.523051][ T5895] 8021q: adding VLAN 0 to HW filter on device batadv0
[   57.539669][ T5895] veth0_vlan: entered promiscuous mode
[   57.546689][ T5895] veth1_vlan: entered promiscuous mode
[   57.557686][ T5895] veth0_macvtap: entered promiscuous mode
[   57.564689][ T5895] veth1_macvtap: entered promiscuous mode
[   57.574038][ T5895] batman_adv: batadv0: Interface activated: batadv_slave_0
[   57.583627][ T5895] batman_adv: batadv0: Interface activated: batadv_slave_1
[   57.592625][ T1005] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[   57.601383][ T1005] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[   57.610479][ T1005] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[   57.619249][ T1005] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[   57.680555][ T1005] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[   57.721144][ T1005] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
2025/11/13 07:37:01 executed programs: 0
[   57.769104][ T1005] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[   57.819448][ T1005] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[   60.847880][ T1005] bridge_slave_1: left allmulticast mode
[   60.856131][ T1005] bridge_slave_1: left promiscuous mode
[   60.861839][ T1005] bridge0: port 2(bridge_slave_1) entered disabled state
[   60.869580][ T1005] bridge_slave_0: left allmulticast mode
[   60.875248][ T1005] bridge_slave_0: left promiscuous mode
[   60.881523][ T1005] bridge0: port 1(bridge_slave_0) entered disabled state
[   60.930394][ T1005] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[   60.940379][ T1005] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[   60.949636][ T1005] bond0 (unregistering): Released all slaves
[   61.019603][ T1005] hsr_slave_0: left promiscuous mode
[   61.025166][ T1005] hsr_slave_1: left promiscuous mode
[   61.030851][ T1005] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[   61.038360][ T1005] batman_adv: batadv0: Removing interface: batadv_slave_0
[   61.045838][ T1005] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[   61.053628][ T1005] batman_adv: batadv0: Removing interface: batadv_slave_1
[   61.062820][ T1005] veth1_macvtap: left promiscuous mode
[   61.068468][ T1005] veth0_macvtap: left promiscuous mode
[   61.074011][ T1005] veth1_vlan: left promiscuous mode
[   61.079293][ T1005] veth0_vlan: left promiscuous mode
[   61.105155][ T1005] team0 (unregistering): Port device team_slave_1 removed
[   61.113500][ T1005] team0 (unregistering): Port device team_slave_0 removed
[   63.295265][ T5134] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[   63.302496][ T5134] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[   63.309684][ T5134] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[   63.317008][ T5134] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[   63.324371][ T5134] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[   63.362995][ T5989] chnl_net:caif_netlink_parms(): no params data found
[   63.383696][ T5989] bridge0: port 1(bridge_slave_0) entered blocking state
[   63.390958][ T5989] bridge0: port 1(bridge_slave_0) entered disabled state
[   63.398237][ T5989] bridge_slave_0: entered allmulticast mode
[   63.404497][ T5989] bridge_slave_0: entered promiscuous mode
[   63.411309][ T5989] bridge0: port 2(bridge_slave_1) entered blocking state
[   63.418421][ T5989] bridge0: port 2(bridge_slave_1) entered disabled state
[   63.425574][ T5989] bridge_slave_1: entered allmulticast mode
[   63.431855][ T5989] bridge_slave_1: entered promiscuous mode
[   63.443227][ T5989] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[   63.453005][ T5989] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[   63.466713][ T5989] team0: Port device team_slave_0 added
[   63.472987][ T5989] team0: Port device team_slave_1 added
[   63.482893][ T5989] batman_adv: batadv0: Adding interface: batadv_slave_0
[   63.489894][ T5989] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[   63.515910][ T5989] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[   63.527038][ T5989] batman_adv: batadv0: Adding interface: batadv_slave_1
[   63.534021][ T5989] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[   63.560024][ T5989] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[   63.577524][ T5989] hsr_slave_0: entered promiscuous mode
[   63.583382][ T5989] hsr_slave_1: entered promiscuous mode
[   63.781644][ T5989] netdevsim netdevsim0 netdevsim0: renamed from eth0
[   63.790644][ T5989] netdevsim netdevsim0 netdevsim1: renamed from eth1
[   63.798849][ T5989] netdevsim netdevsim0 netdevsim2: renamed from eth2
[   63.806845][ T5989] netdevsim netdevsim0 netdevsim3: renamed from eth3
[   63.821643][ T5989] bridge0: port 2(bridge_slave_1) entered blocking state
[   63.828815][ T5989] bridge0: port 2(bridge_slave_1) entered forwarding state
[   63.836059][ T5989] bridge0: port 1(bridge_slave_0) entered blocking state
[   63.843125][ T5989] bridge0: port 1(bridge_slave_0) entered forwarding state
[   63.865285][ T5989] 8021q: adding VLAN 0 to HW filter on device bond0
[   63.875346][   T12] bridge0: port 1(bridge_slave_0) entered disabled state
[   63.883832][   T12] bridge0: port 2(bridge_slave_1) entered disabled state
[   63.894432][ T5989] 8021q: adding VLAN 0 to HW filter on device team0
[   63.903560][ T1005] bridge0: port 1(bridge_slave_0) entered blocking state
[   63.910672][ T1005] bridge0: port 1(bridge_slave_0) entered forwarding state
[   63.921689][ T1005] bridge0: port 2(bridge_slave_1) entered blocking state
[   63.928797][ T1005] bridge0: port 2(bridge_slave_1) entered forwarding state
[   63.990298][ T5989] 8021q: adding VLAN 0 to HW filter on device batadv0
[   64.009155][ T5989] veth0_vlan: entered promiscuous mode
[   64.016994][ T5989] veth1_vlan: entered promiscuous mode
[   64.032046][ T5989] veth0_macvtap: entered promiscuous mode
[   64.039726][ T5989] veth1_macvtap: entered promiscuous mode
[   64.051239][ T5989] batman_adv: batadv0: Interface activated: batadv_slave_0
[   64.061759][ T5989] batman_adv: batadv0: Interface activated: batadv_slave_1
[   64.072138][   T12] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[   64.096024][   T12] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[   64.113835][   T48] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[   64.126167][   T48] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[   64.136390][ T1005] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
SYZFAIL: failed to recv rpc
[   64.136519][   T12] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[   64.152984][ T1005] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[   64.154772][   T12] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
fd=3 want=4 recv=0 n=0


syzkaller build log:
go env (err=<nil>)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build4112260622=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs-2/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.24.4'
GOWORK=''
PKG_CONFIG='pkg-config'

git status (err=<nil>)
HEAD detached at 07e030dea6e
nothing to commit, working tree clean


tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923"  ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923"  ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923"  -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_amd64
g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \
	-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include   -DGOOS_linux=1 -DGOARCH_amd64=1 \
	-DHOSTGOOS_linux=1 -DGIT_REVISION=\"07e030dea6e6d9ca88b75bb3be2810f47083b328\"
/usr/bin/ld: /tmp/ccqeZpgW.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
./tools/check-syzos.sh 2>/dev/null



Tested on:

commit:         24172e0d Merge tag 'arm64-fixes' of git://git.kernel.o..
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel config:  https://syzkaller.appspot.com/x/.config?x=cb128cd5cb439809
dashboard link: https://syzkaller.appspot.com/bug?extid=4f5f81e1456a1f645bf8
compiler:       gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch:          https://syzkaller.appspot.com/x/patch.diff?x=16573c12580000


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

end of thread, other threads:[~2025-11-13  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-13  4:38 [syzbot] [input?] [usb?] memory leak in dualshock4_get_calibration_data syzbot
2025-11-13  7:23 ` Oliver Neukum
2025-11-13  7:38   ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).