NetBSD-Bugs archive

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

port-amd64/55483: SMEP exception skip topmost stack frame

>Number:         55483
>Category:       port-amd64
>Synopsis:       SMEP exception skip topmost stack frame
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 12 12:50:00 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.69
The NetBSD Foundation, Inc.
System: NetBSD 9.99.69 NetBSD 9.99.69 (GENERIC) #406: Tue Jun 30 16:36:57 CEST 2020 amd64
Architecture: x86_64
Machine: amd64

The SMEP exception when the kernel jumps through a NULL pointer is nice,
but the ddb trace it ends up with misses the topmost stack frame, so it is
mostly useless for driver developement/kernel debugging.


Make the kernel jump via a NULL function pointer, watch the db backtrace
afterwards and wonder where the jump really happens.


Home | Main Index | Thread Index | Old Index