From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C7C432F29 for ; Sat, 16 Nov 2024 13:52:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731765122; cv=none; b=JUEmtKyXi/ROp5h3WySi6jlA426KoZKeLvSyk9chhQCx6cGTmqZFsPRp/5GNpajWeThZfM688PC8rcSSDehif+2PU8FQAkcP2L8ZiYPPOok+ZBcNSyYHchJxZATlumKO3RcVHparwE+ZD7IFIXMTANTfwudG3F3RUtNJPpDUMjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731765122; c=relaxed/simple; bh=+MV9fjjbksOBZSnlOMZlrpihtZFHrBtLWfELr5G6WCk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aYCPs7d1S3oH+maSkPsSnZkoTiROTgfsskIF6OB7RxrChNAOgbDdr+q0tBNdkXOUZXPAFLeSx3G78M2AbFqdTCaYdIqztlBy4vFC8bEpUk0t799RHvtub/7jFTolFq4PoLQG4pIkq8ATsrcTab9mOKzlcZtKuZujj9k5xC0ulJg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0I6ncQyh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0I6ncQyh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB00CC4CEC3; Sat, 16 Nov 2024 13:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731765122; bh=+MV9fjjbksOBZSnlOMZlrpihtZFHrBtLWfELr5G6WCk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0I6ncQyhGwop9hyzb5fRr9DAipGld2SYK7MFcq3z6OhtYuiXxSR2O7pTEmShJXALq tXWYTpF7LfdaRMcfaiew/pk28hTuO1H9DNyMSsB+lpe4cAvLg4SM82OP8Y9MVmbjQO uiu9aoVv8ZBRwU3o050ZHmxTqDvH6l5qKVZ52/ZM= Date: Sat, 16 Nov 2024 14:51:38 +0100 From: Greg KH To: "Hemdan, Hagar Gamal Halim" Cc: "stable@vger.kernel.org" Subject: Re: Backport request Message-ID: <2024111659-scheme-online-d5d5@gregkh> References: Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sat, Nov 16, 2024 at 11:08:00AM +0000, Hemdan, Hagar Gamal Halim wrote: > Hi, > > Please backport commit: > > 0faf84caee63 ("cpufreq: Replace deprecated strncpy() with strscpy()") > > to stable trees 5.10.y, 5.15.y, 6.1.y and 6.6.y. This commit fixes possible > Buffer not null terminated of "policy->last_governor" and "default_governor" > in __cpufreq_offline() and cpufreq_core_init(). Are any in-kernel users actually affected by this? At a quick glance, I can't see any, so why would it need to be backported? thanks, greg k-h