From: Yaohan Li <shunsheng1218@gmail.com>
To: tristmd@gmail.com
Cc: cw00.choi@samsung.com, myungjoo.ham@samsung.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/5] extcon: max14577: cancel wq_detcable on driver unbind
Date: Wed, 04 Nov 2026 05:15:29 -0000 [thread overview]
Message-ID: <179376932942.49961.5227159207452168407@gmail.com> (raw)
In-Reply-To: 20261020154119.2568395-2-tristmd@gmail.com
Hello Tristan,
We independently reproduced the max14577 delayed-work use-after-free
and tested your [PATCH 1/5] ("extcon: max14577: cancel wq_detcable
on driver unbind") on a clean Linux v7.4-rc1 tree (6628e7d4c6b2).
Test setup:
- QEMU/KVM with KASAN enabled
- Self-registered I2C adapter exercising the real max14577
MFD and extcon probe/remove paths
- wq_detcable scheduled with the driver's 17-second delay
- Device unregistered before the delayed work would run
Results:
- Unpatched v7.4-rc1: 80 slab-use-after-free reports,
starting when the delayed-work timer expires
- Your [1/5] applied to the clean tree: 0 KASAN reports,
with the test running more than four seconds beyond
the original expiry point
- Control run without early unbind: 0 KASAN reports
This test applied your posted patch rather than only our own
equivalent devm_delayed_work_autocancel() change. The result
supports the fix for the tested driver-unbind sequence; the
synthetic I2C setup has not been checked against physical
hardware.
Tested-by: Yaohan Li <shunsheng1218@gmail.com>
We can provide the complete console logs, configuration, and
reproduction details privately if useful. The investigation
was AI-assisted, with source analysis and test results
reviewed by the human tester.
Best regards,
Yaohan Li
next reply other threads:[~2026-11-04 5:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 5:15 Yaohan Li [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-20 15:41 [PATCH 0/5] extcon: cancel wq_detcable delayed work " Tristan Madani
2026-10-20 15:41 ` [PATCH 1/5] extcon: max14577: cancel wq_detcable " Tristan Madani
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=179376932942.49961.5227159207452168407@gmail.com \
--to=shunsheng1218@gmail.com \
--cc=cw00.choi@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=myungjoo.ham@samsung.com \
--cc=tristmd@gmail.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
all inboxes | Powered by JetHome®