Re: kernel NULL pointer dereference in quirk_clear_strap_no_soft_reset_dev2_f0 -> amd_smn_read

Borislav Petkov <[email protected]>
Newsgroups dev.linux.lists.regressions,org.kernel.vger.linux-kernel
Message-ID <20260605222648.GAaiNNKAr3mtWsMr7e@fat_crate.local>
On Fri, Jun 05, 2026 at 11:55:47PM +0200, Marek Marczykowski-Górecki wrote:
> Well, it clearly happens, see the call trace in the first message of the
> thread...
> Do you suggest the fix should change
> quirk_clear_strap_no_soft_reset_dev2_f0()?

https://lore.kernel.org/all/20260602184823.GKah8ld2QJLm28xoa9@fat_crate.local/

That thing should return an error so that amd_smn_read() is not even available
on guests.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.