mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Guangshuo Li <liguangshuo@mail.sdu.edu.cn>,
	cw00.choi@samsung.com, myungjoo.ham@samsung.com,
	kyungmin.park@samsung.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] extcon: max14577: Fix potential use-after-free on removal
Date: Thu, 26 Nov 2026 15:38:03 +0100	[thread overview]
Message-ID: <dd97fe24-aa23-47d7-9940-3dab1c52e597@kernel.org> (raw)
In-Reply-To: <20261126-a35bb25eb5-u60-0@mail.sdu.edu.cn>

On 26/11/2026 09:25, Guangshuo Li wrote:
> Probe queues delayed cable detection, but removal does not cancel it.
> The worker can therefore run after the device resources and private
> data have been released.
> 
> Use managed delayed work so cable detection is cancelled before its
> extcon device and private data are released.
> 
> This issue was found by our static analysis tool under development.

LLM is not a static analysis tool.

Best regards,
Krzysztof

      reply	other threads:[~2026-11-26 14:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  8:25 Guangshuo Li
2026-11-26 14:38 ` Krzysztof Kozlowski [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=dd97fe24-aa23-47d7-9940-3dab1c52e597@kernel.org \
    --to=krzk@kernel.org \
    --cc=cw00.choi@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=liguangshuo@mail.sdu.edu.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=myungjoo.ham@samsung.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®