Re: [regression] BUG: KASAN: use-after-free in lockdep_register_key+0x755/0x8f0

From: Dan Williams
Date: Fri May 31 2024 - 11:37:02 EST


Kalle Valo wrote:
[..]
> >> The proposed fix for that is here:
> >>
> >> http://lore.kernel.org/r/66560aa9dbedb_195e294b0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.notmuch
> >
> > I get "Not Found" from that link, is there a typo?
>
> I found this fix from for-linus branch:
>
> # PCI: Fix missing lockdep annotation for pci_cfg_access_trylock()for-linus
> https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/commit/?h=for-linus&id=f941b9182c54a885a9d5d4cfd97af66873c98560
>
> But at least that doesn't fix my crash.

Sorry for the broken link I mistakenly used a message-id from an
internal thread with the intel.com reporter. However, it is moot now
because the new direction is to revert the lockdep infrastructure:

https://lore.kernel.org/r/171711745834.1628941.5259278474013108507.stgit@xxxxxxxxxxxxxxxxxxxxxxxxx

(that link works...)