Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp334247lqg; Fri, 1 Mar 2024 06:39:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWz4j+sdgHPM9xQqj1LSTeG1KPE9GT0sGt/iUOQ8HYuM9mSlr3uoxOdu/Q0yFeAwfu9hd4xrpoDC99F7zJ5HxcCs0Vo9U2g5YiytsEhHA== X-Google-Smtp-Source: AGHT+IH4rHajF3864vdq52rWmMiGMjiVM12IBa9CgNK6r5vjyVDvW8crg3Z1Pkx/FadpnTmrzemJ X-Received: by 2002:a17:902:edc2:b0:1dc:90a7:660a with SMTP id q2-20020a170902edc200b001dc90a7660amr1534388plk.61.1709303979333; Fri, 01 Mar 2024 06:39:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709303979; cv=pass; d=google.com; s=arc-20160816; b=yLlSj91UWJi3xadkatWGClBGM0cyGpteMpMEiU4ZDl02FmTqx93xXrFnMb9NSo9eoC retu0L9syBs+A/BI6iltW5ty8OExjPL5NzHgvQiyBVPtPBTb4z5NOpOsOzjnDwl9gSaV ob/znF3IlhaBZ1/5gHn/+LNc7MrDSZCYgUYpu8FH2vhiau5gQQg6Ya1v3FLwB+RF8Uwv FyUmW+BcTiaxC5sHHcW4Kd3ZF5zyRShvziH2KAyKizXV6K+TyIcId/8tbOuh1z+ViqWS hbXsZEULF1IkH6zHLRRVrBcdpSefvpXKO93RlCHjz46XgUQGaen058Doc4F0Pf5GVbg1 /R4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=Bbd1F8GZfxauwRffXe1ckbLd3IotHJxaRzc9bB9mM4A=; fh=sidIAVJEUesydFhQHTkMKmfPMF++203LZQGUbPxiG1M=; b=R0LuCrNT4dkRHz9N2OKfdAPwufpRl1y92VFOe49SHyr19OI6qdv4F5zhT3h4IFHw37 OKdV2yquUpwE7B0yFbRRtHBJOsmfkGz4m6//dmigdUqGKvr7E2lCBJ2hBXBI6FL2G6OK uvtV01np7YFjuofMxncrKklrYldFNeMgb4tszz6+lHDnbEsagByc7OBWSmpeXZdVDxkx 4ODYwb/LG9hMDiEj56zgnVINr+P/TTyVa95Ceq2rdTsk/ij4jEbr7xhHBXIce5WiivWT uaomAJlgmtFMkdW3oO1uzltNNoHJpCo1UzEmAxGYVvB+DXSBCPPYABN0/cWV6Pbz4Uut dygA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@fu-berlin.de header.s=fub01 header.b=OAjzj4cs; arc=pass (i=1 spf=pass spfdomain=zedat.fu-berlin.de dkim=pass dkdomain=fu-berlin.de dmarc=pass fromdomain=physik.fu-berlin.de); spf=pass (google.com: domain of linux-kernel+bounces-88563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fu-berlin.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d1-20020a170902cec100b001db29e3ba29si3817409plg.77.2024.03.01.06.39.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 06:39:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=fail header.i=@fu-berlin.de header.s=fub01 header.b=OAjzj4cs; arc=pass (i=1 spf=pass spfdomain=zedat.fu-berlin.de dkim=pass dkdomain=fu-berlin.de dmarc=pass fromdomain=physik.fu-berlin.de); spf=pass (google.com: domain of linux-kernel+bounces-88563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fu-berlin.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 89D70B21643 for ; Fri, 1 Mar 2024 14:39:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BBE138F9A; Fri, 1 Mar 2024 14:38:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=fu-berlin.de header.i=@fu-berlin.de header.b="OAjzj4cs" Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (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 BC8011F95F; Fri, 1 Mar 2024 14:38:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=130.133.4.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709303928; cv=none; b=nvsImUtgsv+rRq20pxdvhUEx1N1JlwEjWd3VpIw5birkZ8cFUamoQDb7fKPRQ4WGthNsSXcz2jxOYIRXCXbi+FqZF8kXH9omzx6oUE8v6iPMug179aaQLkyVieJ58XtR+b92ymknz2mhWy1hUgZjhAfBOFZR69lUCZcS8UT9wbU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709303928; c=relaxed/simple; bh=15DiaVZmWQ5lkOk5yiyj7mODdqrJ813l7zkAfz6n24c=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=K9VY29TCG83mzt9WJ5SnWXfIPQoS1aEIR6iJQ0sbKNse+4a2q66VRsNWQY0w+vUupQvc7UQE8lPOQYUbagEZlu5hlMK7s5vF4efKPhsO0UE/J8T0Gk3C+oG1CM2spOmUqkfeZoWKu28InAgYRz3lGtGEVYjq5yc/DfymQWD4L6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=physik.fu-berlin.de; spf=pass smtp.mailfrom=zedat.fu-berlin.de; dkim=pass (2048-bit key) header.d=fu-berlin.de header.i=@fu-berlin.de header.b=OAjzj4cs; arc=none smtp.client-ip=130.133.4.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=physik.fu-berlin.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zedat.fu-berlin.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fu-berlin.de; s=fub01; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Bbd1F8GZfxauwRffXe1ckbLd3IotHJxaRzc9bB9mM4A=; t=1709303924; x=1709908724; b=OAjzj4csyBV7wNKs/XQTXo0n8id6U1Nx+f4hTcJYThExAXNTw3gxL3Yjqg6Wt6c9BMSt5R113Fd kuXqlsnxH79yrENZCEcgNQnOMoctNMaFkQhEKi9KUdUZEnQnwjrxMmSAcdJ4LEjfwSspk6BZ52jX5 +BKEzf+dcLbPUje8oGnDcwldksIk6GW41EcmlSmvdqyyvrnQAPX3YMpZEcda8aVu+Z/+Vf3kMEpov CAz8PMi6iQWVJLFV4FhLnVrhwwHBhrXKn3UZGSbAVxYJK4SNlnjdoXBFTVAEjYRG0aRbEEL867srF Y6Om4nymaIKXaPnJ0ubnq1adfySfvz4Y5dGg==; Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.97) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1rg425-00000000w7u-0gXm; Fri, 01 Mar 2024 15:38:41 +0100 Received: from dynamic-077-188-054-101.77.188.pool.telefonica.de ([77.188.54.101] helo=suse-laptop.fritz.box) by inpost2.zedat.fu-berlin.de (Exim 4.97) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1rg424-00000002oNJ-3r7I; Fri, 01 Mar 2024 15:38:41 +0100 Message-ID: Subject: Re: [PATCH] sh: Fix build with CONFIG_UBSAN=y From: John Paul Adrian Glaubitz To: "Liu, Yujie" Cc: lkp , "masahiroy@kernel.org" , "dalias@libc.org" , "linux-sh@vger.kernel.org" , "keescook@chromium.org" , "linux-kernel@vger.kernel.org" , "ysato@users.osdn.me" , "linux-hardening@vger.kernel.org" , "Schier, Nicolas" Date: Fri, 01 Mar 2024 15:38:40 +0100 In-Reply-To: References: <20240130232717.work.088-kees@kernel.org> <494586ed5a0871cf7cfd005f513577952306a0bc.camel@physik.fu-berlin.de> <202402020228.BBEF7DAC@keescook> <9fda57fc1b1ba6ad9bd6f7df3fb12674d0f4f940.camel@physik.fu-berlin.de> <202402121025.B0B6E47@keescook> <178e0bebb1a85efebce1f504122ee190c068e0c9.camel@physik.fu-berlin.de> <93572a771cb3a0b36a9213f18dd43c034c84cf6d.camel@physik.fu-berlin.de> Autocrypt: addr=glaubitz@physik.fu-berlin.de; prefer-encrypt=mutual; keydata=mQINBE3JE9wBEADMrYGNfz3oz6XLw9XcWvuIxIlPWoTyw9BxTicfGAv0d87wngs9U+d52t/REggPePf34gb7/k8FBY1IgyxnZEB5NxUb1WtW0M3GUxpPx6gBZqOm7SK1ZW3oSORw+T7Aezl3Zq4Nr4Nptqx7fn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WBH4OvtnmjwsKuNCFXym2DcCywdjEdrLC+Ms5g6Dkd60BQz4/kHA7x+P9IAkPqkaWAEyHoEvM1OcUPJzy/JW2vWDXo2jjM8PEQfNIPtqDzid1s8aDLJsPLWlJnfUyMP2ydlTtR54oiVBlFwqqHoPIaJrwTkND5lgFiMIwup3+giLiDOBILtiOSpYxBfSJkz3GGacOb4Xcj8AXV1tpUo1dxAKpJ1ro0YHLJvOJ8nLiZyJsCabUePNRFprbh+srI+WIUVRm0D33bI1VEH2XUXZBL+AmfdKXbHAYtZ0anKgDbcwvlkBcHpA85NpRqjUQ4OerPqtCrWLHDpEwGUBlaQ//AGix+L9c= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-ZEDAT-Hint: PO Hi Yujie, On Fri, 2024-03-01 at 05:46 +0000, Liu, Yujie wrote: > On Wed, 2024-02-14 at 13:52 +0100, John Paul Adrian Glaubitz wrote: > > Hi Kees, > >=20 > > On Mon, 2024-02-12 at 19:45 +0100, John Paul Adrian Glaubitz wrote: > > > On Mon, 2024-02-12 at 10:26 -0800, Kees Cook wrote: > > > > > I just wanted to try reproduce the problem again with the reprodu= cer in [1] as well > > > > > as with gcc-13.2.0, but your branch devel/overflow/ubsan-only no = longer exists. > > > > >=20 > > > > > Can you tell me where to find the patches now? > > > >=20 > > > > Sure, they're in -next, but for an -rc2 based tree, see: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/= ?h=3Dfor-next/kspp > > >=20 > > > OK, thanks. I will give it a try with gcc-13. > >=20 > > I'm still unable to reproduce the error that the kernel test robot repo= rted. > >=20 > > I'm using gcc-13: > >=20 > > glaubitz@node54:/data/home/glaubitz/linux-kees> sh4-linux-gcc > > sh4-linux-gcc: fatal error: no input files > > compilation terminated. > > glaubitz@node54:/data/home/glaubitz/linux-kees> sh4-linux-gcc --version > > sh4-linux-gcc (GCC) 13.2.0 > > Copyright (C) 2023 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions.=C2=A0 The= re is NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURP= OSE. > >=20 > > glaubitz@node54:/data/home/glaubitz/linux-kees> > >=20 > > I checked out your tree and the for-next/kspp branch. > >=20 > > Then fetched the config that triggered the bug like this: > >=20 > > $ wget https://download.01.org/0day-ci/archive/20240131/202401310416.s8= HLiLnC-lkp@intel.com/config=C2=A0-O .config > >=20 > > Building the kernel with "make -j32 uImage" works fine. No errors excep= t for > > some unreleated warnings that still need to be fixed. >=20 > Sorry for late reply. Seems like the warnings can be reproduced by > "make zImage" which is the default make target, but cannot be > reproduced by "make uImage". >=20 > HEAD is now at 918327e9b7ffb ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL >=20 > $ wget https://download.01.org/0day-ci/archive/20240131/202401310416.s8HL= iLnC-lkp@intel.com/config -O .config > $ sh4-linux-gcc --version > sh4-linux-gcc (GCC) 13.2.0 >=20 > $ make -j72 CROSS_COMPILE=3Dsh4-linux- ARCH=3Dsh olddefconfig > $ make -j72 CROSS_COMPILE=3Dsh4-linux- ARCH=3Dsh > ... > LD arch/sh/boot/compressed/vmlinux > sh4-linux-ld: arch/sh/boot/compressed/misc.o: in function `zlib_inflate_t= able': > misc.c:(.text+0x670): undefined reference to `__ubsan_handle_shift_out_of= _bounds' > sh4-linux-ld: arch/sh/boot/compressed/misc.o: in function `inflate_fast': > misc.c:(.text+0xc5c): undefined reference to `__ubsan_handle_shift_out_of= _bounds' > sh4-linux-ld: arch/sh/boot/compressed/misc.o: in function `zlib_inflateRe= set': > misc.c:(.text+0xd00): undefined reference to `__ubsan_handle_shift_out_of= _bounds' > sh4-linux-ld: arch/sh/boot/compressed/misc.o: in function `zlib_inflate': > misc.c:(.text+0x23fc): undefined reference to `__ubsan_handle_shift_out_o= f_bounds' > sh4-linux-ld: arch/sh/boot/compressed/ashldi3.o: in function `__ashldi3': > ashldi3.c:(.text+0xc8): undefined reference to `__ubsan_handle_shift_out_= of_bounds' > make[3]: *** [arch/sh/boot/compressed/Makefile:38: arch/sh/boot/compresse= d/vmlinux] Error 1 > make[2]: *** [arch/sh/boot/Makefile:40: arch/sh/boot/compressed/vmlinux] = Error 2 > make[1]: *** [arch/sh/Makefile:170: zImage] Error 2 > make: *** [Makefile:240: __sub-make] Error 2 >=20 > $ make -j72 CROSS_COMPILE=3Dsh4-linux- ARCH=3Dsh uImage > ... > OBJCOPY arch/sh/boot/vmlinux.bin > GZIP arch/sh/boot/vmlinux.bin.gz > UIMAGE arch/sh/boot/uImage.gz > Image Name: Linux-6.8.0-rc2+ > Created: Fri Mar 1 13:31:36 2024 > Image Type: SuperH Linux Kernel Image (gzip compressed) > Data Size: 9297141 Bytes =3D 9079.24 KiB =3D 8.87 MiB > Load Address: 08001000 > Entry Point: 08002000 > Image arch/sh/boot/uImage is ready Thanks a lot for pointing this out. This explains the problem. I will have another look over the weekend and acknowledge the patch if Kees= wants to pick it up through his own tree. Adrian --=20 .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913