Linux USB
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Rajan Yadav" <rajanyadav0307@gmail.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH 1/2] usb: musb: sunxi: Unregister the generic PHY after dropping its reference
Date: Tue, 10 Nov 2026 07:13:26 +0000	[thread overview]
Message-ID: <sashiko-outbox-206465@kernel.org> (raw)
In-Reply-To: <20261110-musb-sunxi-unbind-v1-1-d821584fc4a4@gmail.com>

> From: Rajan Yadav <rajanyadav0307@gmail.com>
> 
> Unbinding musb-sunxi oopses on v7.4-rc1 (KickPi K5C, Allwinner A133,
> KASAN enabled, no out-of-tree modules):
> 
>   # echo 5100000.usb > /sys/bus/platform/drivers/musb-sunxi/unbind
>   BUG: KASAN: slab-use-after-free in devm_usb_phy_release+0x2c/0x68
>   Read of size 8 at addr ffff0000057ef080 by task sh/329
>   ...
>   Allocated by task 48:
>    ...
>    devm_kmalloc+0x5c/0x140
>    usb_phy_generic_probe+0x30/0x184
>    ...
>    usb_phy_generic_register+0x9c/0xd8
> [ ... ]
> and ran the tests on the board.
> 
> Fixes: 498dbd9aea20 ("usb: musb: sunxi: Fix accessing an released usb phy")
> Cc: stable@vger.kernel.org
> Signed-off-by: Rajan Yadav <rajanyadav0307@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261110-musb-sunxi-unbind-v1-0-d821584fc4a4@gmail.com?part=1


  reply	other threads:[~2026-11-10  7:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10  7:08 [PATCH 0/2] usb: musb: sunxi: Fix unbinding and rebinding Rajan Yadav via B4 Relay
2026-11-10  7:08 ` [PATCH 1/2] usb: musb: sunxi: Unregister the generic PHY after dropping its reference Rajan Yadav via B4 Relay
2026-11-10  7:13   ` sashiko-bot [this message]
2026-11-10  7:08 ` [PATCH 2/2] usb: musb: sunxi: Unregister the extcon notifier in sunxi_musb_exit() Rajan Yadav via B4 Relay
2026-11-10  7:26   ` sashiko-bot

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=sashiko-outbox-206465@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rajanyadav0307@gmail.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox