From: sashiko-bot@kernel.org
To: "Poulin, Louis" <poulin.louis@student.oaklandcc.edu>,
linux-pci@vger.kernel.org
Subject: Re: [RFC PATCH] PCI/ASPM: Handle missing link state in sysfs reads
Date: Thu, 05 Nov 2026 16:06:19 +0000 [thread overview]
Message-ID: <sashiko-outbox-199409@kernel.org> (raw)
In-Reply-To: <CAGQButuh2zJ9dvNc4ioqaSh32EGChc9Z3HORr9DwnNd90=zgCg@mail.gmail.com>
> From: Louis H. Poulin II <poulin.louis@student.oaklandcc.edu>
>
> InputPlumber can hit a NULL pointer dereference at l0s_aspm_show()
> while reading PCIe sysfs attributes on an ASUS TUF GAMING X870-PLUS
> WIFI. The same fault was seen on downstream OGC kernels
> 7.2.9-ogc3.1.fc44 and 7.2.15-ogc1.1.fc45. The latter logged:
>
> BUG: kernel NULL pointer dereference, address: 0000000000000030
> RIP: 0010:l0s_aspm_show+0x47/0x80
> dev_attr_show+0x1f/0x50
> sysfs_kf_seq_show+0xa8/0x110
> seq_read_iter+0x132/0x4c0
>
> The faulting instruction reads at offset 0x30 with a NULL base
> register, consistent with accessing the ASPM state through a NULL
> [ ... ]
> ZhaoJinming previously proposed NULL checks for the ASPM and clock
> power-management sysfs callbacks.
>
> Link: https://lkml.iu.edu/hypermail/linux/kernel/2607.3/04295.html
> Signed-off-by: Louis H. Poulin II <poulin.louis@student.oaklandcc.edu>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/CAGQButuh2zJ9dvNc4ioqaSh32EGChc9Z3HORr9DwnNd90=zgCg@mail.gmail.com?part=1
next prev parent reply other threads:[~2026-11-05 16:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 1:19 [RFC PATCH] PCI/ASPM: Handle missing link state in sysfs reads Poulin, Louis
2026-11-05 16:06 ` sashiko-bot [this message]
2026-11-06 16:45 ` Bjorn Helgaas
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=sashiko-outbox-199409@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=poulin.louis@student.oaklandcc.edu \
--cc=sashiko-reviews@lists.linux.dev \
/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