NetBSD Problem Report #55483
From martin@aprisoft.de Sun Jul 12 12:46:29 2020
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 2A1ED1A9213
for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Jul 2020 12:46:29 +0000 (UTC)
Message-Id: <20200712124619.230CD5CC80A@emmas.aprisoft.de>
Date: Sun, 12 Jul 2020 14:46:19 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: SMEP exception skip topmost stack frame
X-Send-Pr-Version: 3.95
>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
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 9.99.69 NetBSD 9.99.69 (GENERIC) #406: Tue Jun 30 16:36:57 CEST 2020 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
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.
>How-To-Repeat:
Make the kernel jump via a NULL function pointer, watch the db backtrace
afterwards and wonder where the jump really happens.
>Fix:
n/a
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.