From: "jiale yao" <19888972804@163.com>
To: "Huang Wei" <huangwei@kylinos.cn>
Cc: "Heikki Krogerus" <heikki.krogerus@linux.intel.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re:Re: [PATCH] usb: typec: ucsi: acpi: Check ACPI companion before use
Date: Tue, 20 Oct 2026 10:31:58 +0800 (CST) [thread overview]
Message-ID: <105b5747.252f.1a15726bc8f.Coremail.19888972804@163.com> (raw)
In-Reply-To: <20261020022707.3691899-1-huangwei@kylinos.cn>
Hi Huang,
At 2026-10-20 10:27:07, "Huang Wei" <huangwei@kylinos.cn> wrote:
>Hi Jiale,
>
>A heads-up on the history here: a functionally identical patch was
>posted in September by Yogesh Gaur:
>
> https://lore.kernel.org/linux-usb/20260920090711.300-1-yogeshgaur.83@gmail.com/
>
>Greg declined it on the grounds that the only realistic way to reach
>probe without an ACPI companion is the driver_override + sysfs bind
>path, which is a deliberate root action, with the resulting OOPS
>being identifiable by the taint flag - "if userspace does it, it
>deserves the pieces the kernel ends up in":
>
> https://lore.kernel.org/linux-usb/2026092130-thong-secrecy-1dd4@gregkh/
>
>The open question left from that thread was whether syzbot still
>exercises the override+bind path - if it does and keeps generating
>these reports, that would be an argument for taking the guard anyway.
>Yogesh's version referenced a syzbot report; yours does not, so I
>can't tell from the patch whether you hit the same report or found
>this independently.
Thanks for your reply.
The bug was found by my static analysis tool, which is currently under development.
>
>For what it's worth, the fix itself is fine - I reviewed Yogesh's
>version at the time, including checking that this is the only
>unchecked ACPI_COMPANION() in drivers/usb/typec/. Whether it lands
>is purely a policy call at this point.
>
>Thanks,
>Huang Wei
Jiale
next prev parent reply other threads:[~2026-10-20 2:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-17 6:43 Jiale Yao
2026-10-17 7:41 ` jiale yao
2026-10-20 2:27 ` [PATCH] " Huang Wei
2026-10-20 2:31 ` jiale yao [this message]
2026-10-20 6:06 ` Greg Kroah-Hartman
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=105b5747.252f.1a15726bc8f.Coremail.19888972804@163.com \
--to=19888972804@163.com \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=huangwei@kylinos.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@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
all inboxes | Powered by JetHome®