mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ian Abbott <abbotti@mev.co.uk>
To: Tianyu Li <2200013188@stu.pku.edu.cn>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	hsweeten <hsweeten@visionengravers.com>,
	xujiakai2025 <xujiakai2025@iscas.ac.cn>,
	"zhaoruilin22@mails.ucas.ac.cn" <zhaoruilin22@mails.ucas.ac.cn>
Subject: Re: [BUG] Drivers/8255: Page fault in comedi_8255.c
Date: Wed, 10 Dec 2025 10:06:50 +0000	[thread overview]
Message-ID: <3e45e797-6c58-4937-a8b8-e71b869bbc97@mev.co.uk> (raw)
In-Reply-To: <AP6AfgBTJ12KMCuulosf7Kqq.3.1765286666213.Hmail.2200013188@stu.pku.edu.cn>

On 09/12/2025 13:24, Tianyu Li wrote:
> Hi Ian,
> 
> Thank you for the detailed explanation — that clarifies the situation very well.
> 
> You mentioned that in linux-next the 8255 driver now returns an error immediately when reserving an I/O port region fails, which would also avoid the crash during fuzzing. I would like to take a closer look at that change.
> 
> &gt;   One thing that will affect the fuzzing tests is that the "8255" driver
> &gt;   in "linux-next" now returns an error as soon as it fails to reserve any
> &gt;   I/O port region, so unless the special base addresses (0x100 etc.)
> &gt;   appear early in the list before the conflicting base addresses, it won't
> &gt;   crash.
> 
> Could you please point me to the specific commit or patch where this improvement was introduced (a commit hash or link would be perfect if convenient)? This would help me better understand the context and verify the behavior on my side.

It's this one:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=98d86d87aafb01e7c60b46d327a0a32619a167ff

> Thanks again for your guidance — I really appreciate your help.
> 
> Best regards,
> Tianyu Li

Kind regards,
Ian

-- 
-=( Ian Abbott <abbotti@mev.co.uk> || MEV Ltd. is a company  )=-
-=( registered in England & Wales.  Regd. number: 02862268.  )=-
-=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
-=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-

      reply	other threads:[~2025-12-10 10:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-29 13:19 李天宇
2025-12-03 13:08 ` Ian Abbott
2025-12-04 12:03   ` 李天宇
2025-12-04 17:11     ` Ian Abbott
2025-12-09 13:24       ` Tianyu Li
2025-12-10 10:06         ` Ian Abbott [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=3e45e797-6c58-4937-a8b8-e71b869bbc97@mev.co.uk \
    --to=abbotti@mev.co.uk \
    --cc=2200013188@stu.pku.edu.cn \
    --cc=hsweeten@visionengravers.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xujiakai2025@iscas.ac.cn \
    --cc=zhaoruilin22@mails.ucas.ac.cn \
    /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®