Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp738745lql; Mon, 11 Mar 2024 16:32:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMrJH9XJ1FV98D1HoMp+2g7B+sKXj4n14SF2xQpu/9Me/rNSdjT7P/HqDLAHBkBVYxP+oBu2UbjV88ovcSZ3PgM3vMpb6qWqd2RBGzqw== X-Google-Smtp-Source: AGHT+IE+5IcrGFYVuaHzFI5n23x3oig+M9wzDYfW87tTXUdpmPCR8uR/juNb4hwfedetWUExTSLC X-Received: by 2002:a05:620a:22aa:b0:788:7817:3c15 with SMTP id p10-20020a05620a22aa00b0078878173c15mr1016516qkh.6.1710199961969; Mon, 11 Mar 2024 16:32:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710199961; cv=pass; d=google.com; s=arc-20160816; b=zXujIarEhaRrqYnnWUD6iy/yrQ3niEkCuSpmWGgqC8mdP+QjqUGylOqrO06xmQqRNP Lq8+GRIrO/mZsUsUQSCL97g31ELiOpmkvoVstG47bNHXYxwoA3LzO6kALPDVPz9ZUY3G bCbPfItTT2vEEdfP/Cfiyo+xpOid9QBjxlkNLSYNYZ6pD/nfMHN1JI7Wnigwuq43JT+d R7Dc9/06Nj9kaTweBHXq7oC12Lp0DfvX/sUkGzSZuQ1xZI3OzgNbUQl7DsnjbLC9Gz0P 2vFHD+U25ILSSqNeJmUhBK+3bDlhbPtsjaY3zDk5BifiATpSp/uy/KEarNHXWPnSI5rq zZrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id :subject:cc:to:from:date:dkim-signature; bh=rocyJSHIiY7wv0/b0Thl11+2BE5Ia+FwDy18IRd8ak4=; fh=hfjL48RlegCjee/sMW1LEcFiPKie7zzvWfhTYDA+440=; b=sDlCwPQnPt2a9yA8ee+oDDAed4zZgvqkZtD9D0EVEcP27/XKpwW6KkOSbu8S/qjNzM iAXJQZq5EEPxBeTR765n2t8R7t/qhoAgdXvINb4qXdNZ1Yz1aGThJEKdPEw1OHMlLi+Z JYkSqYwPwx8T06mO0guJG5f7IPyEWLdDv0Tdhh3bMbDNZUZ5MSmXjKoAMgKMXZw15iMT zQkTr0hOux02S9WJWiDiM2XavSymgLh0PZ+gYVyOJKaD/vbq3M++2RnkonOhUIRQQdxQ y0EfQEqk3JhcnshxqFgg5IscdIXEqwy1PHJpTev0pBrKZOUcqpAF1kPlz+Ci7fhkm/85 5oJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RaiNqyD8; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-99662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99662-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u18-20020a05620a455200b0078863dbc4e0si5700428qkp.766.2024.03.11.16.32.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 16:32:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RaiNqyD8; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-99662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99662-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id ADB911C20F0B for ; Mon, 11 Mar 2024 23:32:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A53C55914E; Mon, 11 Mar 2024 23:32:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="RaiNqyD8" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 443F758234 for ; Mon, 11 Mar 2024 23:32:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710199953; cv=none; b=VbRdHz1rwvVmRO/x++x/iP5n2gTtpbRxATv032eIO9c70IAWkV+rlJPHctmEwrLbhmieB5QiFL7My2JuPzFW8Gw7BgsHSbXABr597zLks00gQj8NrB2TOWgLge4z9ocfAevNF8eiFpztzD+MgLq5Pm87Q95SBtbbrHDqo0LgSuQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710199953; c=relaxed/simple; bh=t5pomvoQwrYYJsz4aXS3tiUT97cwLl9LUNnWMt48nQA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ewaA7e3CQxSrkyyUB9MPzijedk3Y2PioB1zc7uUjF+Hscb5wECYp/Marw21auawMzDJXmc6k+wb11AxIpaXhr5QofaS4jFOMbG52tlXC39YkXvgOKLFgn3VS4+2cvtAMeVB2iBMrxtiBJBWqU/eGaYr7S/ns2vvS+ID4BFcEtTA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=RaiNqyD8; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e64647af39so4663858b3a.1 for ; Mon, 11 Mar 2024 16:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710199951; x=1710804751; darn=vger.kernel.org; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=rocyJSHIiY7wv0/b0Thl11+2BE5Ia+FwDy18IRd8ak4=; b=RaiNqyD8IZXhruRJA30yzx1tDfySHiCdN0rlNMZnKwDyQSrHy9BMWNuKfIi3qZxi7+ wvouhh2q8phnBSGZy5qPYQwvYZ4S62RK+TtneAuM+erLNe46C1neayJ3S3I6s4NxvsJV jw5IqsMFpL0HBjo0H2oviArFrty3r2TJLOcvg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710199951; x=1710804751; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rocyJSHIiY7wv0/b0Thl11+2BE5Ia+FwDy18IRd8ak4=; b=ZYA0QzrMfsSAa9Jt4o8AuOCOFziq9SbrDz8v4NG9j8IYi6wmIzx+RfELmxc7erjjxr /610oaMdAhoZ3Ti/+NCS6u8iTFjSHP4hg1eMV80k4ziIuAADXoHd3OGrNdQnyyW1hYzk J18cX+e+t1V/gqfgm6I+tJHjsddf7uODL6RTgg6IaH8McBJdqgyFtOJCjChLFq1tHjYp 7obFK4OkZdZNfFAh0P9Flk0aHrzPxGNZ6qS32dQXgMr6dg0HVCDHERp529FIh3Zd65Ip DjgucybU+MNcb6AfT5cVM4xYObS6TQBz2MYDM5hw2KMDyKaTVlfrc5tb1B7qZCarhFDQ B0bw== X-Gm-Message-State: AOJu0YyttmDcUcegtPlwxNduD1TROkQehwo4IYWEiQKzeHm4+TI1DGC/ SNBv7DLWqazHM3Q7TvGrfqqh67oINH+pNOl045vvbwK9R5ikVSjlRIW6GUis/iRwbapYHXU1hpk = X-Received: by 2002:a05:6a20:7d88:b0:1a1:4ded:c9d2 with SMTP id v8-20020a056a207d8800b001a14dedc9d2mr10338257pzj.41.1710199951623; Mon, 11 Mar 2024 16:32:31 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id z1-20020a62d101000000b006e553cab65bsm5105634pfg.207.2024.03.11.16.32.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 16:32:31 -0700 (PDT) Date: Mon, 11 Mar 2024 16:32:30 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Alexander Viro , AngeloGioacchino Del Regno , Christophe JAILLET , David Heidelberg , "Guilherme G. Piccoli" , Kees Cook , Kunwu Chan , linux-hardening@vger.kernel.org, =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado , Tony Luck Subject: [GIT PULL] pstore updates for v6.9-rc1 Message-ID: <202403111631.BB91A2422@keescook> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi Linus, Please pull these handful of pstore updates for v6.9-rc1. Details below. Thanks! -Kees The following changes since commit 41bccc98fb7931d63d03f326a746ac4d429c1dd3: Linux 6.8-rc2 (2024-01-28 17:01:12 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v6.9-rc1 for you to fetch changes up to c8d25d696f526a42ad8cf615dc1131c0b00c662e: pstore/zone: Don't clear memory twice (2024-03-09 12:33:22 -0800) ---------------------------------------------------------------- pstore updates for v6.9-rc1 - Make PSTORE_RAM available by default on arm64 (N?colas F. R. A. Prado) - Allow for dynamic initialization in modular build (Guilherme G. Piccoli) - Add missing allocation failure check (Kunwu Chan) - Avoid duplicate memory zeroing (Christophe JAILLET) - Avoid potential double-free during pstorefs umount ---------------------------------------------------------------- Christophe JAILLET (1): pstore/zone: Don't clear memory twice Guilherme G. Piccoli (1): efi: pstore: Allow dynamic initialization based on module parameter Kees Cook (1): pstore: inode: Only d_invalidate() is needed Kunwu Chan (1): pstore/zone: Add a null pointer check to the psz_kmsg_read N?colas F. R. A. Prado (2): pstore/ram: Register to module device table arm64: defconfig: Enable PSTORE_RAM arch/arm64/configs/defconfig | 1 + drivers/firmware/efi/efi-pstore.c | 43 +++++++++++++++++++++++++++++++-------- fs/pstore/inode.c | 10 +++------ fs/pstore/ram.c | 1 + fs/pstore/zone.c | 3 ++- 5 files changed, 42 insertions(+), 16 deletions(-) -- Kees Cook