From nobody Sat Jun 13 22:02:08 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 E3404480DDB; Tue, 5 May 2026 10:56:41 +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=1777978603; cv=none; b=ZBW4YRqLjArHfjm5Pyo4T8mdDAmg05YMp5C+nlvhK/mdW7scvRRn3efi8xnLo7qDhXAJ3fIJU5ADSm6UhZKRy1dCqZKugCOdPb8M+eqpVfkX1QNfE25+B0pzT8MPulN35TrClL29+gdo+iA6W7Maf6gOqtxuNh6ToBZAK/yWqHo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978603; c=relaxed/simple; bh=Sl81tIAZ/F4Qm6pze7qiR5CQqXuiPK/06yCE8ORPIjs=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=ePzjjodFOs0QiYPAZDeDzFCfQD5QsoN73roSaOZDNzuQ5r4xROAmVZqjRupHI7uajzabspn30Tz/6jO7Zcl7vU+cM6p3ao+od0ClGcQ+Yik+S6qmKBSz+exVfrF9qkYBd0tm+x3pSw3VUsV9Yuz2e70b8SEFZDnPbpAFBqs4Z7Y= 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=l/UKdxVq; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=rwe/0E6z; 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="l/UKdxVq"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="rwe/0E6z" Date: Tue, 05 May 2026 10:56:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1777978600; 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=4wQ+HOaAV9nmnxUShoBOsBTUsY06ANAE6KEbcY4Y6CU=; b=l/UKdxVq2d6GgPU/ndQIc0BUREmODad5hKyVOUyxnPY3Mo37h/D1QnYbJIWLoM6ivPIEn7 YQ1lnUPsLCcQ86vJ1PHX4LTEn5p4dE614SyAsEmrQ/6pupJdoNwID7D2odW0EYmQFcHnOB HLOb9RiGvNsVkJAUEDlI+BfC6/7iJcwnvtQvd3w0Xv1SnoEhXI02A97a2RyC8T5TUMKDKm PAtaaSRdU88OiyvkpheOqdQCNEMjiPWZCNkcum5JMkB+BQRc2DDCGwr6sOjU1+o+njXehu nqhW0S/dy/X6d5fNzgOQxlDjwYQuYDNqxTZJhilwiAp/qtVxJwyzZspBZBFtbw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1777978600; 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=4wQ+HOaAV9nmnxUShoBOsBTUsY06ANAE6KEbcY4Y6CU=; b=rwe/0E6zXLuNHGcUYI8lQh/h1ouAUvhQhCaLHP7v9wNV1hpw5adiINZKQmDpPtm9lvDu5P bBacnYiVpPozkzCg== 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 XXH3 state memory leak 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: <177797859943.424702.13637449832392457959.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: 479ac5260e7ea717f1ea7b1e74dfe807d3b46eda Gitweb: https://git.kernel.org/tip/479ac5260e7ea717f1ea7b1e74dfe807d= 3b46eda Author: Josh Poimboeuf AuthorDate: Thu, 02 Apr 2026 17:35:53 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 04 May 2026 21:16:01 -07:00 objtool/klp: Fix XXH3 state memory leak The XXH3 state allocated in checksum_init() is never freed. Free it in checksum_finish(). Acked-by: Song Liu Reviewed-by: Miroslav Benes Signed-off-by: Josh Poimboeuf --- tools/objtool/include/objtool/checksum.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/objtool/include/objtool/checksum.h b/tools/objtool/inclu= de/objtool/checksum.h index 7fe2160..0bd16fe 100644 --- a/tools/objtool/include/objtool/checksum.h +++ b/tools/objtool/include/objtool/checksum.h @@ -26,6 +26,7 @@ static inline void checksum_finish(struct symbol *func) { if (func && func->csum.state) { func->csum.checksum =3D XXH3_64bits_digest(func->csum.state); + XXH3_freeState(func->csum.state); func->csum.state =3D NULL; } }