From: Greg KH <gregkh@linuxfoundation.org>
To: Yunshui Jiang <jiangyunshui@kylinos.cn>
Cc: linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev,
martyn@welchs.me.uk, kees@kernel.org
Subject: Re: [PATCH] staging: vme_user: fake: stop tasklet before freeing its data
Date: Tue, 11 Aug 2026 16:51:40 +0900 [thread overview]
Message-ID: <2026081116-flounder-facing-6ef7@gregkh> (raw)
In-Reply-To: <20260811073039.288957-1-jiangyunshui@kylinos.cn>
On Tue, Aug 11, 2026 at 03:30:39PM +0800, Yunshui Jiang wrote:
> From: jiangyunshui <jiangyunshui@kylinos.cn>
Full name please, not just an email address.
> fake_init() arms a tasklet whose callback fake_VIRQ_tasklet()
> dereferences fake_bridge and fake_bridge->driver_priv. Both fake_exit()
> and the err_master error path of fake_init() free
> fake_bridge->driver_priv (which embeds int_tasklet) and fake_bridge
> without calling tasklet_kill(), so a pending or running tasklet may
> access already-freed memory (use-after-free).
How was this found and tested?
thanks,
greg k-h
next prev parent reply other threads:[~2026-08-11 7:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 7:30 [PATCH] staging: vme_user: fake: stop tasklet before freeing its data Yunshui Jiang
2026-08-11 7:51 ` Greg KH [this message]
2026-08-11 9:18 ` [PATCH v2] " Yunshui Jiang
2026-08-11 9:18 ` Yunshui Jiang
2026-08-11 9:24 ` Yunshui Jiang
2026-08-11 9:24 ` Yunshui Jiang
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=2026081116-flounder-facing-6ef7@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=jiangyunshui@kylinos.cn \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=martyn@welchs.me.uk \
/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