From nobody Sat Jun 13 22:13:14 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E764480960; Tue, 5 May 2026 10:56:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978600; cv=none; b=IB4T+2tJvfCmwtGFdDoG+I74+z2Ugw/LgMTHfssJZZeessjZDnZEq/1tCParx3JDjABukXR+Qj+c81lIlnkpo2+lTKmshSQ1s1zXmm/S7CnkUT2tKrgd5Sd+LmrWSgMWOhElmQipXu8Haj0jSduj0gJXC7IuEqLnXBQE8s1dwSc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978600; c=relaxed/simple; bh=FN7HfcwhDOlN8XVde6fQY4YOcC0J1sUrzinbGPWakzM=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=q740fUNpa23m8eVwH3E6pH6E6aeg0Mn+jd73AhDojHIhPa3mtx4hFlcZ/3sS5Se69tYtwt0Yrs5/YdBd4UF4rT/LpYoUy3xQia4X2ijYuGxmczDDQ1nAKwKqxECTV5ygLbXYNiG8E/FHPSLbKKToNFDYlRYTUcxfGTsjfT7SQDA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=gonyLdJt; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=w0m+Ql4U; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="gonyLdJt"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="w0m+Ql4U" Date: Tue, 05 May 2026 10:56:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1777978598; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=waMlSZOMHvPPI4kW2ya7lmZvvgWnvonDIvP9MIEXZBQ=; b=gonyLdJtOjEZMqtnkh5MsBT4yCIQKaR9rZx+PgdX7h2zH+ff2kPQ/9pNjjlPZXyXSA4WbL /Zl6fps00PXBESoN4KFowS1l1qmIsC1iYWxODWW1uaTsEGduv//v8IeoIW6zYn/oLmaTzw iL/nT2I/hmfpG368Y3noGnAIkywdO14PAgRqObV3GVDZe2BzVVVeGkvDsov5POR34HNRgL p+hXSkyg3vaJzGACUCSXsXy7SuNrgaiF8i7WLCpk4v63kHMj21yqdNs8MgU3uq8O026AcG AD0SIwqge1/u/BVKt1ATGVK89EPRqhb1YgZDhaRIuW2Tf2UbBPIBv3qpfz81rQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1777978598; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=waMlSZOMHvPPI4kW2ya7lmZvvgWnvonDIvP9MIEXZBQ=; b=w0m+Ql4UAtOFOZJk28PpgVPedQH6hGf/NuOG9uHIYqE7qW1qcezDjmKszfUP+vrx5dDPIJ 62wul9JG5qWaeECA== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] objtool/klp: Fix kCFI trap handling Cc: Song Liu , Miroslav Benes , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177797859700.424702.17263761002868041974.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the objtool/core branch of tip: Commit-ID: da4326573ae8d00a00a6015c8c3886812cd0adb4 Gitweb: https://git.kernel.org/tip/da4326573ae8d00a00a6015c8c3886812= cd0adb4 Author: Josh Poimboeuf AuthorDate: Mon, 20 Apr 2026 20:37:39 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 04 May 2026 21:16:01 -07:00 objtool/klp: Fix kCFI trap handling .kcfi_traps contains references to kCFI trap instruction locations. When a KCFI type check fails at an indirect call, the trap handler looks up the faulting address in this section. Add it to the special sections list so the entries get extracted for the changed functions they reference. Acked-by: Song Liu Reviewed-by: Miroslav Benes Signed-off-by: Josh Poimboeuf --- tools/objtool/klp-diff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/objtool/klp-diff.c b/tools/objtool/klp-diff.c index 42970b3..dd0e51d 100644 --- a/tools/objtool/klp-diff.c +++ b/tools/objtool/klp-diff.c @@ -291,6 +291,7 @@ static bool is_special_section(struct section *sec) { static const char * const specials[] =3D { ".altinstructions", + ".kcfi_traps", ".smp_locks", "__bug_table", "__ex_table",