From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: Wesley Cheng <wesley.cheng@oss.qualcomm.com>,
quic_wcheng@quicinc.com, hulianqin@vivo.com,
selvarasu.g@samsung.com
Cc: linux-usb@vger.kernel.org
Subject: Re: [[RFT PATCH v2] 0/2] xhci: sideband: fix use-after-free of stale virt device pointer
Date: Wed, 25 Nov 2026 18:23:30 +0200 [thread overview]
Message-ID: <19d54918-d5da-4026-9712-16dee83c5179@linux.intel.com> (raw)
In-Reply-To: <633ae539-f386-41e5-a852-55b5e1b19d64@oss.qualcomm.com>
On 11/24/26 05:00, Wesley Cheng wrote:
>
>
> On 11/19/2026 1:48 PM, Mathias Nyman wrote:
>> Hi
>>
>> Second attempt.
>> These two patches attempt to improve the disappearing vdev issue
>> while sideband stays active.
>>
>> I don't have real harware to test this on so all review comments and
>> feedback from testing is welcome.
>>
>
> Hi Mathias,
>
> Tested this on our platform and it was working well. I also injected/simulated the initial error that was reported by Lianqin, and this series was able to mitigate that error path.
>
> Basically forced a reset_resume situation and overrode command->status = COMP_USB_TRANSACTION_ERROR to always happen in the reset_resume situation. Was able to observe the error w/o the fix and wasn't able to reproduce a crash after.
>
> Tested-by: Wesley Cheng <wesley.cheng@oss.qualcomm.com>
>
> Thanks
> Wesley Cheng
Thank you all for testing.
I'll add your Tested-by tags and queue these patches up for usb-linus
Thanks
Mathias
prev parent reply other threads:[~2026-11-25 16:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20261119214904epcas5p432ec8c5d6c3219c9434d64f210bca445@epcas5p4.samsung.com>
2026-11-19 21:48 ` [[RFT PATCH v2] 0/2] xhci: sideband: fix use-after-free of stale virt device pointer Mathias Nyman
2026-11-19 21:48 ` [[RFT PATCH v2] 1/2] xhci: sideband: avoid " Mathias Nyman
2026-11-19 21:53 ` sashiko-bot
2026-11-20 11:50 ` Selvarasu Ganesan
2026-11-19 21:48 ` [[RFT PATCH v2] 2/2] xhci: sideband: check virt device under xhci lock when stopping endpoints Mathias Nyman
2026-11-19 21:54 ` sashiko-bot
2026-11-20 11:51 ` Selvarasu Ganesan
2026-11-20 10:47 ` [[RFT PATCH v2] 0/2] xhci: sideband: fix use-after-free of stale virt device pointer Akash M/Akash M
2026-11-24 3:00 ` Wesley Cheng
2026-11-25 16:23 ` Mathias Nyman [this message]
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=19d54918-d5da-4026-9712-16dee83c5179@linux.intel.com \
--to=mathias.nyman@linux.intel.com \
--cc=hulianqin@vivo.com \
--cc=linux-usb@vger.kernel.org \
--cc=quic_wcheng@quicinc.com \
--cc=selvarasu.g@samsung.com \
--cc=wesley.cheng@oss.qualcomm.com \
/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