Re: show_regs doesn't user KERN_CRIT loglevel when called from parisc-terminate1G/show

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022-01-03 12:09 p.m., John David Anglin wrote:
I've seen this crash twice recently:

Bad Address (null pointer deref?): Code=6 (Instruction TLB miss fault) at addr 00000000e5361d5f
Kernel panic - not syncing: Bad Address (null pointer deref?)

After more thinking, I think it's likely that the pagefault_disabled counter is getting corrupted.

pagefault_disable/pagefault_enable are not atomic on parisc.  The corruption is probably coming
from the revised LWS code.  At a minimum, we need to move pagefault_disable/pagefault_enable
inside spinlock. It's also not a great idea to panic on user space faults when faulthandler_disabled().

Dave

--
John David Anglin  dave.anglin@xxxxxxxx




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux