From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 219977] usb: dwc2: memory leak of hsotg->regset
Date: Mon, 10 Aug 2026 07:10:41 +0000 [thread overview]
Message-ID: <bug-219977-208809-MYyqonQzP8@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-219977-208809@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=219977
Wei Huang (huangwei@kylinos.cn) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |huangwei@kylinos.cn
--- Comment #1 from Wei Huang (huangwei@kylinos.cn) ---
Hi kakapapa2,
Thanks for reporting this. A fix has been submitted to the linux-usb mailing
list:
https://lore.kernel.org/linux-usb/?q=huangwei%40kylinos.cn
The fix mirrors the equivalent dwc3 fix (commit e6bdf8195b4a) by
switching hsotg->regset from devm_kzalloc() to kzalloc() and freeing
it explicitly in dwc2_debugfs_exit().
https://lore.kernel.org/linux-usb/20260807100400.3179625-1-huangwei@kylinos.cn/
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2026-08-10 7:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-03 8:49 [Bug 219977] New: usb: dwc2: memory leak of hsotg->regset bugzilla-daemon
2026-08-10 7:10 ` bugzilla-daemon [this message]
2026-11-16 2:37 ` [Bug 219977] " bugzilla-daemon
2026-11-16 5:01 ` bugzilla-daemon
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=bug-219977-208809-MYyqonQzP8@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-usb@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.