lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250628034941.2001-1-hdanton@sina.com>
Date: Sat, 28 Jun 2025 11:49:40 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+6f433bde86418d3f4fec@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [usb?] WARNING in flush_delayed_work

> Date: Fri, 27 Jun 2025 14:50:25 -0700
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    2aeda9592360 Add linux-next specific files for 20250627
> git tree:       linux-next
> console+strace: https://syzkaller.appspot.com/x/log.txt?x=1331908c580000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=9e7e53eaffada5f7
> dashboard link: https://syzkaller.appspot.com/bug?extid=6f433bde86418d3f4fec
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1484e08c580000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=141c43d4580000

#syz test

--- x/drivers/usb/core/hub.c
+++ y/drivers/usb/core/hub.c
@@ -1872,6 +1872,7 @@ static bool hub_descriptor_is_sane(struc
         return true;
 }
 
+static void hub_init_dumy_func(struct work_struct *ws) {}
 static int hub_probe(struct usb_interface *intf, const struct usb_device_id *id)
 {
 	struct usb_host_interface *desc;
@@ -1976,7 +1977,7 @@ static int hub_probe(struct usb_interfac
 	hub->intfdev = &intf->dev;
 	hub->hdev = hdev;
 	INIT_DELAYED_WORK(&hub->leds, led_work);
-	INIT_DELAYED_WORK(&hub->init_work, NULL);
+	INIT_DELAYED_WORK(&hub->init_work, hub_init_dumy_func);
 	INIT_WORK(&hub->events, hub_event);
 	INIT_LIST_HEAD(&hub->onboard_devs);
 	spin_lock_init(&hub->irq_urb_lock);
--

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ