Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2305708rbb; Tue, 27 Feb 2024 18:51:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV8EWPbNNJfacgbGOp0umSEJCRlEIKAzBzXytXIYqiA8j533QY58pULcSG+OLGTHtTiWFGArDg/oWHwZrRVl8kjv8Kt5NDmrZjwaFmhZw== X-Google-Smtp-Source: AGHT+IEQFzY7r+vQ3CTlGZERL+uZAnrxaJgU2rDx0TJrg8zz4m5ezX6I1XE0OQ+aU4ZAnU41GAwd X-Received: by 2002:ac2:562b:0:b0:512:f1a5:709 with SMTP id b11-20020ac2562b000000b00512f1a50709mr5776854lff.41.1709088674439; Tue, 27 Feb 2024 18:51:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709088674; cv=pass; d=google.com; s=arc-20160816; b=R6ROb4kBUXeUTMEY8kvmg8MUHii22HJSFgs28MYjJ7KKE02rUnNaeYKXI5EcDZvtN9 /55VPiLRcS+90nNtZqGjJbRm3vpttEhwXhUfCYjuPyXaSVuG23uK0paH1xXhIuV6M7jE i+Jxuqv6uiECLLtgEQllddg7VaDmOfUZaKDEoOUfOLUQ+UcA0XyanFH8a5fK+jUljSC2 RuzjIe2OanqYZ1h+g9lsKeX3hiRKD8nBeW6g3o/IyTVV8C8wwC9NP6Mn0/0BVKFWkETi 1LvtVZAlotuzd88ZdBdCgUA57uIWScIM8QrrjFbEolcbBVnSYNNg6gRkwPQENFp/88r2 XL4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=b4FqA67RdXu7Wc6aPbe8nrEQlAnfIV6tiLcrDtl1Sb0=; fh=KysjLsBFSMeqdl8RkXHXwJO6ZEDKRy+tFs7P3xIZALs=; b=gU/6ecKLWHrNqE3LHb2t5fELR948Rz9P2Vly6e2kZvohlAzquZh8nR7/gn7Sc+jeue Ihhb2+AM4GfgC1MbdVYW9Wp2+mFZCTreN1Hjl0YeWUCOP8hPgcZYqrPL9A1KARpM7GFU MOi/X1GthEYI3PcVbfEM92nh0gjwjwaxq8OtUGhXFFjAVa+KDiBJ5jNEd7zzST0Pk0b1 ErU8WKpeV1tvkjXFqwgcJJ1UUu0c33Kx2BKjNwnC7YilVSEK/5S8YYm2Th038trQYAmR jIczje69FOZt4Yy1qBXKKd8h5HC/up4jdnRe1ezZFfCbmGqQkGJpqfIttVhU/6Rdil9V Snsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=W7k6hiFy; arc=pass (i=1 spf=pass spfdomain=bytedance.com dkim=pass dkdomain=bytedance.com dmarc=pass fromdomain=bytedance.com); spf=pass (google.com: domain of linux-kernel+bounces-84451-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84451-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j22-20020a170906475600b00a3eafe37e75si1264949ejs.675.2024.02.27.18.51.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 18:51:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84451-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=W7k6hiFy; arc=pass (i=1 spf=pass spfdomain=bytedance.com dkim=pass dkdomain=bytedance.com dmarc=pass fromdomain=bytedance.com); spf=pass (google.com: domain of linux-kernel+bounces-84451-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84451-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 31E7C1F22917 for ; Wed, 28 Feb 2024 02:51:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED5951CD38; Wed, 28 Feb 2024 02:51:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b="W7k6hiFy" Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 CE6211CD0F for ; Wed, 28 Feb 2024 02:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709088666; cv=none; b=WeZ7n4i9Vn5gOWZXTFC4UPgjyWbuYce9/kPzC/z/keh0rVsZfBOJ6JQPUjIuZYWkdKV7LxkUhfh+BcRrEHb0iN7cp4t0m7d+vPVsM84GouXsa8/G0Mqz26Dys8MaPxwZMrEBX17zJ3niS2i8umyiLuZodjGiuguimIJhLwRx59I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709088666; c=relaxed/simple; bh=kx5LCqUuIYQ9KdpDTmjjLIzHshpz1YkwrkM7+Lzgshw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mQQXuYdJcgqKjCnW7b1fa+H4fhTsmvmbDQ8uvOF+OzZHq6aVsDJq9Vg7mZDljkHJW68uGJjjq+JjdMDtNrqoOhwvPMm4ThI5P7B/BhtjJyNjUVtiJM44VPRLdDz98L4opUqUC8CthtRXIidqyNWMsU2rcKBUYn0xCXucS/sgbDc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com; spf=pass smtp.mailfrom=bytedance.com; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b=W7k6hiFy; arc=none smtp.client-ip=209.85.210.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bytedance.com Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6da4a923b1bso4005143b3a.2 for ; Tue, 27 Feb 2024 18:51:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1709088664; x=1709693464; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=b4FqA67RdXu7Wc6aPbe8nrEQlAnfIV6tiLcrDtl1Sb0=; b=W7k6hiFyP9m5jeUSqCmCA0MhzX5pqdl3NIQOItCUUnFZILnc/ue4aD7Fb4GgHY9heD aBMrMoAOVzRKzZFfmoH0TgGwUJESo+F6Id3n5juOSWmIXe0FixJT5QFexF3P3/SCnFR9 pYbYJlQasYzA35c0/5cx/70jjokx97XbfinrUwGyw5co6tgZo33pzoLhZoNt/6i0wXGf lEhaQNVVn8KcrPKvq1tYRaqm2N6RimrMciikBSI6QEiTXlAzUXsn9j70sO8vLF2xd36Q JLqb1WxC2oadUAA7Dz+OZWCwNMETCQNJLPcJ670pgY0FL/LBXMwvl5KfF9rWBqqcDQPT P67g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709088664; x=1709693464; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=b4FqA67RdXu7Wc6aPbe8nrEQlAnfIV6tiLcrDtl1Sb0=; b=Zuf2Ej5EJ9IFItW6JJyQiwvAFCcVMWYCExNnaZrZzEt6LTAV3+MH/cZxd8h0kXFP8/ 8L++OyqOpU0HDQixPLBAKK5oIfIz3rNDMbIwcJu0JpWS45Q6+LaB0sKYFDjKDWIGAKPz mSTap198T1FcbW5WUOdIlpSotPIBNhGdeeyaaS9bUtk2/OBWI4Qdoq4aU5nYDiJkeZ42 tpXhReY85EHrqMK6UThgey1eQHQb6qv8E7L8xV+3EfOvFmjDbZXYs9GY9oPn9UhB/wLW qZHIUOPu3KZf70tULDAqJ6X4cH4PvshQAB8WCASVJgir8R9Nf62+8LTK22Yd2wByNUpH TVrQ== X-Forwarded-Encrypted: i=1; AJvYcCWtcbM05wVZBI8x3FJVzpPw7ehhLApCFW3x4DQHlNjsHaXPTOISsF5zfFVRBCiQ6TUrL4DRvy/yTs6cdP/HK9S1ECItxwUwVhTfZxkD X-Gm-Message-State: AOJu0YyvbjKwUqodTcJ6eni1ZJzBbYE5rpAIZ04rSeGCeSOZTJ95Wx2b Dah9SzZCi3jGZtR22imOA/LgjUuct7WPICQdibKwDoa2Mrpql96YfQTumZRM0Ww= X-Received: by 2002:a05:6a20:f29:b0:19f:f059:c190 with SMTP id fl41-20020a056a200f2900b0019ff059c190mr3572652pzb.24.1709088664240; Tue, 27 Feb 2024 18:51:04 -0800 (PST) Received: from ?IPV6:fdbd:ff1:ce00:1d7c:876:e31b:5d3a:49d6? ([240e:6b1:c0:120::1:d]) by smtp.gmail.com with ESMTPSA id j18-20020a63e752000000b005e17cad83absm6521340pgk.74.2024.02.27.18.50.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Feb 2024 18:51:03 -0800 (PST) Message-ID: <72b3f614-aeef-473f-9496-6a5ed81916a4@bytedance.com> Date: Wed, 28 Feb 2024 10:50:55 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [External] Re: [PATCH 0/3] Support intra-function call validation To: Josh Poimboeuf Cc: bp@alien8.de, mingo@redhat.com, tglx@linutronix.de, hpa@zytor.com, jpoimboe@redhat.com, peterz@infradead.org, mbenes@suse.cz, gregkh@linuxfoundation.org, stable@vger.kernel.org, alexandre.chartre@oracle.com, x86@kernel.org, linux-kernel@vger.kernel.org References: <20240226094925.95835-1-qirui.001@bytedance.com> <20240226172843.52zidtcasjw4wbmh@treble> From: Rui Qi In-Reply-To: <20240226172843.52zidtcasjw4wbmh@treble> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I tested the mainline kernel v6.8-rc5 without this problem, as I said before, this problem only occurs in 5.4 LTS, to be precise, it can occur from v5.4.217, with CONFIG_RETPOLINE and CONFIG_LIVEPATCH enabled BTW: The patch for V2 version has been sent out. We can discuss based on that. Thank you! https://lore.kernel.org/stable/20240228024535.79980-1-qirui.001@bytedance.com/T/#t On 2/27/24 1:28 AM, Josh Poimboeuf wrote: > On Mon, Feb 26, 2024 at 07:33:53PM +0800, qirui wrote: >> This issue only occurs in 5.4 LTS versions after LTS 5.4.250 >> (inclusive), and this patchset is based on commit >> 6e1f54a4985b63bc1b55a09e5e75a974c5d6719b (Linux 5.4.269) > > Does the bug also exist in mainline? If not, why? >