All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Jaeyoung Chung <jjy600901@snu.ac.kr>
Cc: abbotti@mev.co.uk, hsweeten@visionengravers.com,
	linux-kernel@vger.kernel.org, n.zhandarovich@fintech.ru,
	eulgyukim@snu.ac.kr
Subject: Re: [BUG] KASAN: slab-use-after-free Read in comedi_poll
Date: Thu, 20 Aug 2026 09:12:05 +0200	[thread overview]
Message-ID: <2026082035-devourer-sadly-778e@gregkh> (raw)
In-Reply-To: <20260819174614.3857878-1-jjy600901@snu.ac.kr>

On Thu, Aug 20, 2026 at 02:46:00AM +0900, Jaeyoung Chung wrote:
> Hello,
> 
> We found a "KASAN: slab-use-after-free Read in comedi_poll" on Linux v7.2.
> The issue was found by our own race fuzzer. We have not analyzed the root cause,
> so we do not have a proposed fix to offer.
> 
> To reproduce the race reliably, we applied the delay patch below to the
> kernel and ran the C reproducer as root inside an x86_64 QEMU guest. The
> crash log we observed, the delay patch and the reproducer are all included
> below.
> 
> The reproducer opens /dev/comedi3, which exists if the kernel is booted
> with comedi.comedi_num_legacy_minors=4.
> 
> The following kernel config options are required to reproduce the issue:
>     CONFIG_ISA_BUS=y
>     CONFIG_COMEDI=y
>     CONFIG_COMEDI_MISC_DRIVERS=y
>     CONFIG_COMEDI_ISA_DRIVERS=y
>     CONFIG_COMEDI_PCL818=y
> 
> We hope this report is useful. Please let us know if any further
> information would help.

Please just provide a normal patch that can be applied.

thanks,

greg k-h

      reply	other threads:[~2026-08-20  7:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-19 17:46 [BUG] KASAN: slab-use-after-free Read in comedi_poll Jaeyoung Chung
2026-08-20  7:12 ` Greg KH [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=2026082035-devourer-sadly-778e@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=abbotti@mev.co.uk \
    --cc=eulgyukim@snu.ac.kr \
    --cc=hsweeten@visionengravers.com \
    --cc=jjy600901@snu.ac.kr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=n.zhandarovich@fintech.ru \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.