From patchwork Mon Apr 29 21:22:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cupertino Miranda X-Patchwork-Id: 13647753 X-Patchwork-Delegate: bpf@iogearbox.net Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (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 CA571181CE1 for ; Mon, 29 Apr 2024 21:23:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714425829; cv=fail; b=o6VvZjBYP2U4VI8CkbVhAllkoltA3K8ysgCG7DMOkJpT6JI7LYodUKWoGSWBXE1LQ2fvYoJmGyLQLa0+NMu4twXj7JVO/L8VrIxlmxCBuE8t/U5NDnl6e1c8J1e9sKfpcaX4pbLSw2pzLCmB0pS1miuW+1VoQOmbTcfuXV2d4NA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714425829; c=relaxed/simple; bh=C1QgBYla+LEzpbFbQTnqC+/5tLYIIffgrXEhs6aX83Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=JDXfdxL7cVziozqpCcbxSKI/znkWDR8zNwP0sygkvLnko3qV+GK3Kg4DUrav+j8s0yY+GQvY3w2ao/SgR6Vr3EOCTVeDFwKMcYgaRNIAiyCEVLyxyadsCx2q6oGCVijqbwObRBX+YQFiEl5kBWprAoIMZ4o9yEWmajeLvpYunAg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=Bm+dPgzp; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=cSSzGPHh; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="Bm+dPgzp"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="cSSzGPHh" Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43TKFg6A015469; Mon, 29 Apr 2024 21:23:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-11-20; bh=xsnL++MmLOo1Fs7S8xQ575NKiGIAAkMC1NZQHDvYYG4=; b=Bm+dPgzpAOat617C4XB0JLiKhPPGS3rc8PemDmJ2qNjJw2ZudLdWN0gZ8xvL2hKUpzLF ojpuYkw3+gDkz0Ineyc2I0qlYmyyFAC0A3gjpyUnrGK3hc9FnFIr3y3PQK/NO2NQwasI jWVf+uLbBwdNez22HkJvDpNsClNWAQDeN8WIL5KJn/DOuAawJwcIs4JJxerm7948x+KT ZS0yUOJvgJLtjv6LAq+8b+HGKIk9fDGu+WHHpySe/0rFlV5CUaz1gbrSd9/gju3mWeHo xPRyN2bR6zUmsZesCPJRE6IdnkXtBlKVzg79mH477Hi8/CkQb1bDBaiPIpqvGQJWT4ne +Q== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3xrr9ckrhb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Apr 2024 21:23:43 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 43TK3Uuu033171; Mon, 29 Apr 2024 21:23:42 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3xrqt6qyce-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Apr 2024 21:23:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fTQB7BEJL9a3Av914CVDEN70Sf40A2FNxotXdzFrPWFBi1il9fV20lxK2wgtYW/Yx5URFKzISYHuFNGOKEvpg6AqD7PWYHXF6lisw6BvRrIb20zK4Lw8pIpUYf0VOJHdDIJBGVsyq3pdxwaMehiv5EFpLC8DFPcW3hukr95aPYHqHHRNLtmHHqJkJkhxopvsbsSDd4F3BLBlSmbC2IAi19tkj5J2OhA09m3I7S0d/dnWl9L/zvyUzn1bm5TpjK+wJIcLn+eSzHW1oj7XFHUGSJt1lN2/SfAXkysd03FYGo9uCezDddIQ9swkzeOAUMecISd02++YG5fNEQBiLK3A4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xsnL++MmLOo1Fs7S8xQ575NKiGIAAkMC1NZQHDvYYG4=; b=NpHGxijbZD9ZSlor6nJfxO8H67OODzZgVpk7nRoVpfcOg2Km2l+CPzp/u+TaOGgFP76jyexcYLyNtboTWVrIlK4gGCHie1UzElDYK9vyeQxVX8Xn/NxsQ2pqOOnxOtdAdPBloowkfik/o7sldXktRtOE3iellPu/ErQiPYj6OwIFU6oJtr3JY17xr1rAEaPNLbwtxqNZi9Cc5wIc+f9AZ4lUoEOBL7aPxiWvRsLY/0wmzveczIKyvVbnRSxJERDsXYECXTKOGN84ztsaXwi4P32hlWqWMS5JxQA6kgfZR5lihu9eSAaP+yoS2xAmBlA8jXlMbfOaZha+hxYVU94S1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xsnL++MmLOo1Fs7S8xQ575NKiGIAAkMC1NZQHDvYYG4=; b=cSSzGPHh3A38yguR21+fYvlvh9eT3K+IebhRJRpsQ4I3mL0UPv+jnAtAir5TPYYuYsR/PCF/390VM5Ty8slhXb42MXXqJdJjFbkw08nU3zZ7GvKcbr4/uYmOnbmoSQb+WiZ63w4pbaJ61X1mqVQZyhSDjmh+RKOsU3STU6btQPs= Received: from MN2PR10MB4382.namprd10.prod.outlook.com (2603:10b6:208:1d7::13) by IA0PR10MB7232.namprd10.prod.outlook.com (2603:10b6:208:406::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.35; Mon, 29 Apr 2024 21:23:40 +0000 Received: from MN2PR10MB4382.namprd10.prod.outlook.com ([fe80::1e11:7917:d2c:e44c]) by MN2PR10MB4382.namprd10.prod.outlook.com ([fe80::1e11:7917:d2c:e44c%4]) with mapi id 15.20.7519.030; Mon, 29 Apr 2024 21:23:40 +0000 From: Cupertino Miranda To: bpf@vger.kernel.org Cc: Cupertino Miranda , Eduard Zingerman , Yonghong Song , Alexei Starovoitov , David Faust , Jose Marchesi , Elena Zannoni , Andrii Nakryiko Subject: [PATCH bpf-next v4 4/7] selftests/bpf: XOR and OR range computation tests. Date: Mon, 29 Apr 2024 22:22:47 +0100 Message-Id: <20240429212250.78420-5-cupertino.miranda@oracle.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240429212250.78420-1-cupertino.miranda@oracle.com> References: <20240429212250.78420-1-cupertino.miranda@oracle.com> X-ClientProxiedBy: AM8P189CA0019.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:218::24) To MN2PR10MB4382.namprd10.prod.outlook.com (2603:10b6:208:1d7::13) Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR10MB4382:EE_|IA0PR10MB7232:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c3b9449-ee75-46c1-5354-08dc6892a3d3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|376005|366007; X-Microsoft-Antispam-Message-Info: zR7UmqiAo375DpoM4v7+/QnhKpt0xRofBECSAziIZQu3WXb0fWk1qbnbx3Ysv05C/buesVPQm2mctuKABGkz6IFZv4pI1UdqGssOMt9XxKN1/LQetjv9w0YzBOEVYeozkMnA7QgA88D3xt64pKJE7EZz/ptMU1gW6TvrdEFyXgIF9pafX99Qcq3HQ21QO8buTL8sVVXiY7NsXXQyrFDuPSeBfoJGmVSvjGTdBobMARyIDlSBD9VVuRB3ZGB+UrIYdK3iSZcSqCKMt/P3MaYCy/ctNyfU8yYiJ4tcgWhBoKlCIo/mx+5YgpmhbzeMmSzkuJhG0zNKaVsQfdpkyDALtl1G4TWvOkPJYMJZ+q0/AUSdB8dM6A1cXpl2ohs2/vWL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fIynfg8rx3K4BhePQMRZ3lcmHOvzDF2miWesCxEni7LNoP1qlvuh/E3bDrgoeQk+yvUvx4ab5+BtKjzHohgX+zjMsiyQeHF0VsyIojiMo+Fi7ORhJIyTpkRVA72UaSj8srlQD6rDU152MB2VDScoE7//BNYjK2v4EaJ+XMAEbOT0VYrdbHXlVOdtt0s5a/aBMA4bGyHU/YnewC5fT0n7RmARkXvGmeLioaECHpsEYhzSwI/hTC4i1fmL5QdVQEv4Kvn7SBY= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c3b9449-ee75-46c1-5354-08dc6892a3d3 X-MS-Exchange-CrossTenant-AuthSource: MN2PR10MB4382.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2024 21:23:40.4516 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 15Pzf1quirrYulUItyro3pXNab2T/9TwmFnTBdgZUII4rlZy2zLGWiKKhNHLfdUhKVI0zQftD2FjP/JdC2ye97csmqQdhFcDXmfZOAuvqS4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR10MB7232 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-29_18,2024-04-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 phishscore=0 bulkscore=0 suspectscore=0 malwarescore=0 spamscore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404290141 X-Proofpoint-GUID: _L__vg8NZLwAB71WAPuJ2M0Uy2_uqAkz X-Proofpoint-ORIG-GUID: _L__vg8NZLwAB71WAPuJ2M0Uy2_uqAkz X-Patchwork-Delegate: bpf@iogearbox.net Added a test for bound computation in XOR and OR when non constant values are used and both registers have bounded ranges. Signed-off-by: Cupertino Miranda Acked-by: Eduard Zingerman Cc: Yonghong Song Cc: Alexei Starovoitov Cc: David Faust Cc: Jose Marchesi Cc: Elena Zannoni Cc: Eduard Zingerman Cc: Andrii Nakryiko --- .../selftests/bpf/progs/verifier_bounds.c | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/tools/testing/selftests/bpf/progs/verifier_bounds.c b/tools/testing/selftests/bpf/progs/verifier_bounds.c index 960998f16306..7d570acf23ee 100644 --- a/tools/testing/selftests/bpf/progs/verifier_bounds.c +++ b/tools/testing/selftests/bpf/progs/verifier_bounds.c @@ -885,6 +885,48 @@ l1_%=: r0 = 0; \ : __clobber_all); } +SEC("socket") +__description("bounds check for non const xor src dst") +__success __log_level(2) +__msg("5: (af) r0 ^= r6 ; R0_w=scalar(smin=smin32=0,smax=umax=smax32=umax32=431,var_off=(0x0; 0x1af))") +__naked void non_const_xor_src_dst(void) +{ + asm volatile (" \ + call %[bpf_get_prandom_u32]; \ + r6 = r0; \ + call %[bpf_get_prandom_u32]; \ + r6 &= 0xaf; \ + r0 &= 0x1a0; \ + r0 ^= r6; \ + exit; \ +" : + : __imm(bpf_map_lookup_elem), + __imm_addr(map_hash_8b), + __imm(bpf_get_prandom_u32) + : __clobber_all); +} + +SEC("socket") +__description("bounds check for non const or src dst") +__success __log_level(2) +__msg("5: (4f) r0 |= r6 ; R0_w=scalar(smin=smin32=0,smax=umax=smax32=umax32=431,var_off=(0x0; 0x1af))") +__naked void non_const_or_src_dst(void) +{ + asm volatile (" \ + call %[bpf_get_prandom_u32]; \ + r6 = r0; \ + call %[bpf_get_prandom_u32]; \ + r6 &= 0xaf; \ + r0 &= 0x1a0; \ + r0 |= r6; \ + exit; \ +" : + : __imm(bpf_map_lookup_elem), + __imm_addr(map_hash_8b), + __imm(bpf_get_prandom_u32) + : __clobber_all); +} + SEC("socket") __description("bounds checks after 32-bit truncation. test 1") __success __failure_unpriv __msg_unpriv("R0 leaks addr")