Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: nil Yi <teroincn@gmail.com>
To: oneukum@suse.com, netdev@vger.kernel.org
Subject: [BUG]drivers: net: usb: usbnet.c: dangling pointer in function usbnet_start_xmit
Date: Sun, 1 Aug 2021 16:02:18 +0800 [thread overview]
Message-ID: <CANTwqXD1zfeyjXD+eyjzSaKBuT5k-4HQJ36AR4u3eUVzeO8b6Q@mail.gmail.com> (raw)
Hi,
I found there leaves a dangling pointer urb in function
usbnet_start_xmit in v5.14-rc3,
1386: entry->urb = urb;
1451: usb_put_urb(urb);
1454: goto deferred;
1492: deferred:
1494: return NETDEV_TX_OK;
left a pointer in entry->urb, I'm not sure whether it cound be used
in usbnet_bh
Any feedback would be appreciated, thanks :)
Best wishes,
Nil Yi
reply other threads:[~2021-08-01 8:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANTwqXD1zfeyjXD+eyjzSaKBuT5k-4HQJ36AR4u3eUVzeO8b6Q@mail.gmail.com \
--to=teroincn@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=oneukum@suse.com \
--subject='Re: [BUG]drivers: net: usb: usbnet.c: dangling pointer in function usbnet_start_xmit' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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).