Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Qasim Ijaz <qasdev00@gmail.com>
To: Aditya Garg <gargaditya08@live.com>
Cc: jikos@kernel.org, bentiss@kernel.org,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCH] HID: appletb-kbd: fix slab use-after-free bug in appletb_kbd_probe
Date: Tue, 24 Jun 2025 12:56:40 +0100	[thread overview]
Message-ID: <aFqSaznWWrxkEs1b@gmail.com> (raw)
In-Reply-To: <PN3PR01MB95977E7AB0C3A8E3EFE3DA7CB878A@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>

On Tue, Jun 24, 2025 at 10:57:05AM +0530, Aditya Garg wrote:
> Ok this makes sense. Probably execute time_delete_sync only when there is kbd->backlight_dev in appletb_kbd_remove as well. Currently it is being executed unconditionally.

Good point, will resend v2

Thanks,
Qasim
> 
> > 	hid_hw_close(hdev);
> > stop_hw:
> > 	hid_hw_stop(hdev);

      reply	other threads:[~2025-06-24 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-23 23:08 [PATCH] HID: appletb-kbd: fix slab use-after-free bug in appletb_kbd_probe Qasim Ijaz
2025-06-24  5:27 ` Aditya Garg
2025-06-24 11:56   ` Qasim Ijaz [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=aFqSaznWWrxkEs1b@gmail.com \
    --to=qasdev00@gmail.com \
    --cc=bentiss@kernel.org \
    --cc=gargaditya08@live.com \
    --cc=jikos@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /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