Re: [PATCH] powerpc/interrupt: Fix OOPS by not calling do_IRQ() from timer_interrupt()

From
Michael Ellerman <hidden>
Date
2021-08-13 11:59:09
Also in
lkml
Reply to
Christophe Leroy, 2021-08-10
On Tue, 10 Aug 2021 16:13:16 +0000 (UTC), Christophe Leroy wrote:
An interrupt handler shall not be called from another interrupt
handler otherwise this leads to problems like the following:

	Kernel attempted to write user page (afd4fa84) - exploit attempt? (uid: 1000)
	------------[ cut here ]------------
	Bug: Write fault blocked by KUAP!
	WARNING: CPU: 0 PID: 1617 at arch/powerpc/mm/fault.c:230 do_page_fault+0x484/0x720
	Modules linked in:
	CPU: 0 PID: 1617 Comm: sshd Tainted: G        W         5.13.0-pmac-00010-g8393422eb77 #7
	NIP:  c001b77c LR: c001b77c CTR: 00000000
	REGS: cb9e5bc0 TRAP: 0700   Tainted: G        W          (5.13.0-pmac-00010-g8393422eb77)
	MSR:  00021032 <ME,IR,DR,RI>  CR: 24942424  XER: 00000000

[...]
Applied to powerpc/fixes.

[1/1] powerpc/interrupt: Fix OOPS by not calling do_IRQ() from timer_interrupt()
      https://git.kernel.org/powerpc/c/98694166c27d473c36b434bd3572934c2f2a16ab

cheers
Thread (3 messages) 3 messages, 3 authors, last reply 2021-08-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help