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]
Date:   Mon, 26 Sep 2022 12:47:42 +0200
From:   Oliver Neukum <>
To:     Peilin Ye <>,
        Oliver Neukum <>,
        "David S. Miller" <>,
        Eric Dumazet <>,
        Jakub Kicinski <>,
        Paolo Abeni <>
Cc:     Peilin Ye <>,
        Greg Kroah-Hartman <>,
        Ming Lei <>,
        Cong Wang <>,,,
Subject: Re: [PATCH net] usbnet: Fix memory leak in usbnet_disconnect()

On 23.09.22 06:25, Peilin Ye wrote:

> I think we may have similar issues at other usb_scuttle_anchored_urbs()
> call sites.  Since urb->context is (void *), should we pass a "destructor"
> callback to usb_scuttle_anchored_urbs(), or replace this function with
> usb_get_from_anchor() loops like this patch does?

please introduce a new function with an additional parameter
for that, so that we do not need to touch the correct usages.


Powered by blists - more mailing lists