Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp758715pxt; Thu, 12 Aug 2021 08:59:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFY4xGveU9MUjFikkK12hknCCM0FJV71ng0pnXNypR66F/PcvpQ07xEihvFhG/sZirB9+e X-Received: by 2002:a05:6402:2288:: with SMTP id cw8mr6161100edb.216.1628783947641; Thu, 12 Aug 2021 08:59:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628783947; cv=none; d=google.com; s=arc-20160816; b=gPEL9qfFZRiKYNGUYx6Ln5/6/qyIkvZ+KG3V1n9ckssLg9QxqgmDLhi1laOcZDD5Ou k26KZ1y8nE3vZbnE32WPM4QNlcTfuumq/w3to8LBW4Wm9wBWg5Duz7N5rotBww+U+1Ij T1bgGXAsMsCEQwiemGkPU5Pbv4jAPUEUb9ElwlncvTFqslLRi9SA9vAcPcnBfWOwiXJk /dwnwMOPMvCoa5mIOK3P90wtMf+K9QqiXdmVEtbiodvfHY7pgR5P+hm49lIFvQOEu2iV BX3jKvAK5tqmIiCkCceSr0RCKEVXLXAwx2pX1iaKsJZzlDoaQJhcB4WZqUUVCGLwYHHP Ab4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pPNKnS5Ix8iGJ7X1MCd22TX0QP9wob6pEQFzSDZ/a84=; b=ZBGsPpe2qjbaRrsn0lYRT7BfJBa+8rZgtEkHVbYlxkov6Fj8R4BObsauhw7YbMoNeg oGm5KdK8/GxJ3nntBTM7vQUBo8FWqE8FHXi21kGK3c8zD4mbVgeXgqXv8Yimea8FNE6E bToYc6iQgyg8suB12Pc5f32Pvye8WWCQDNQgH7eCzepdoXmlbc9MEbkgc2QwWknmXREe 0ui03t4EFZom96+BEsQUqWKGjaKdMgZP1bXcSaq3ebbx7FhzW5rhKr63LaQq9jmZicHh aUuymeiUhnaRpvR25k4qPGPgYOURobfITJICFstdVSBbtaKUJa5AyyXwlLi4bUGwJ1a4 Yyeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Eu0U/5pD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si2987455ejl.218.2021.08.12.08.58.22; Thu, 12 Aug 2021 08:59:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Eu0U/5pD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238365AbhHLP4f (ORCPT + 99 others); Thu, 12 Aug 2021 11:56:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238391AbhHLP4e (ORCPT ); Thu, 12 Aug 2021 11:56:34 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FB5CC061756 for ; Thu, 12 Aug 2021 08:56:09 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id g138so4864686wmg.4 for ; Thu, 12 Aug 2021 08:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pPNKnS5Ix8iGJ7X1MCd22TX0QP9wob6pEQFzSDZ/a84=; b=Eu0U/5pD4E2SyrujqQ5SY+2rnHneMiZfihM/bIuhJxxqXmyXqw1/bIULm0P4zCvJPo e3OSoPUMgTQhtzF4Jf7rq4ekh6Wjr4d30tADM7cknrDXc/dNhD5eUV5cAMiYbb9IzesD irWUpCsYXO1b0gzSzeHi1TkTfvd1Yzb8v7pFvtI+Nm/VQUWtrMPvQnZrnvJ54EVqEMgt 18ZApcImZJAmGkBOOkmKffqqDpjObci7ZNtCEVNmI6T8dH4FKlQK/WyRSwRZN6d09dlt xczOSuwo7FZ/zK3bIFLIm/MLlDhOBvEbaaknGmpFMsg/gtpNKOQdlQmOK1+ocaxmP4JY he1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pPNKnS5Ix8iGJ7X1MCd22TX0QP9wob6pEQFzSDZ/a84=; b=lZ0YjO8snV8afmSuCxk97Wrm7x3ymEhIMzPaXH4YaK2VeHnvLjtkWave5eTyIfXYjW F9ODz7snu1OEb/xQ1EQhhcbMWzpDnAj5JkMpwyO7JosIs9tA2kV10Gc7UMQcqNcaK6St MVw4XRwSJj40G1oDt+92HfRjDVDeR9Mx9DcnU/cX4J/zTAQRtuQTvcgOQUA+SpjDVTR+ fCnEZ2RPkIjDTr4V8ht2Ujn8lPkehdYaU1zhAE4nYZA7zhVitlh+hAm6gmyEse3x+t99 b9rCCRNKmbnjPWipY6VcGV2zNKGSt5nXOnpKaK3Nt/OdM8g/CzDwvK31zyZ9p/VNgd3A MNAA== X-Gm-Message-State: AOAM530IUYcXjB2xVBuIfrbzG1zymvbUFtdTQHwFiIxuuQHAebAl5fIL r5eBdayAoURD18rDwMLsbnYSkcxdqlRpBQVgocQ= X-Received: by 2002:a1c:f008:: with SMTP id a8mr4733799wmb.83.1628783767678; Thu, 12 Aug 2021 08:56:07 -0700 (PDT) MIME-Version: 1.0 References: <69c2a565-c3e4-3127-9203-1179609a07d7@infradead.org> In-Reply-To: From: Steve French Date: Thu, 12 Aug 2021 10:55:56 -0500 Message-ID: Subject: Re: signed integer overflow in atomic.h To: ronnie sahlberg , LKML Cc: Randy Dunlap , Paulo Alcantara Content-Type: multipart/mixed; boundary="000000000000e4276205c95ec5c7" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --000000000000e4276205c95ec5c7 Content-Type: text/plain; charset="UTF-8" If the "signed integer overflow" is a compiler bug fixed in last couple of years - do we even need these two patches that we were seeing to fix this issue in a few places in cifs.ko (which we noted on 5.11 regression test runs, but not 5.14-rc) On Thu, Aug 12, 2021 at 10:43 AM Steve French wrote: > > Ronnie, > The guest irunning the tests is Fedora (although the host where the > compile is done is RHEL7.9 IIRC) ... do we need to update the compiler > on it - we do hit some of these with UBSAN enabled on 5.11 tests > (strangely I don't see them on 5.14-rc) > > ---------- Forwarded message --------- > From: Randy Dunlap > Date: Thu, Aug 12, 2021 at 10:07 AM > Subject: Re: signed integer overflow in atomic.h > To: Steve French , LKML > , Netdev > > > On 8/11/21 10:41 PM, Steve French wrote: > > =============== > > [ 28.345189] UBSAN: signed-integer-overflow in > > ./arch/x86/include/asm/atomic.h:165:11 > > [ 28.345196] 484501395 + 2024361625 cannot be represented in type 'int' > > [ 28.345202] CPU: 6 PID: 987 Comm: nmbd Not tainted 5.11.22 #1 > > [ 28.345208] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011 > > [ 28.345212] Call Trace: > > [ 28.345218] dump_stack+0x8d/0xb5 > > [ 28.345233] ubsan_epilogue+0x5/0x50 > > [ 28.345242] handle_overflow+0xa3/0xb0 > > [ 28.345257] ? rcu_read_lock_sched_held+0x39/0x80 > > [ 28.345270] ip_idents_reserve+0x8d/0xb0 > > [ 28.345283] __ip_select_ident+0x3f/0x70 > > [ 28.345292] __ip_make_skb+0x279/0x450 > > [ 28.345302] ? ip_reply_glue_bits+0x40/0x40 > > [ 28.345314] ip_make_skb+0x10d/0x130 > > [ 28.345326] ? ip_route_output_key_hash+0xee/0x190 > > [ 28.345344] udp_sendmsg+0x79b/0x13b0 > > [ 28.345365] ? ip_reply_glue_bits+0x40/0x40 > > [ 28.345403] ? find_held_lock+0x29/0xb0 > > [ 28.345420] ? sock_sendmsg+0x54/0x60 > > [ 28.345426] sock_sendmsg+0x54/0x60 > > from net/ipv4/route.c: > > /* If UBSAN reports an error there, please make sure your compiler > * supports -fno-strict-overflow before reporting it that was a bug > * in UBSAN, and it has been fixed in GCC-8. > */ > return atomic_add_return(segs + delta, p_id) - segs; > > > -- > ~Randy > > > > -- > Thanks, > > Steve -- Thanks, Steve --000000000000e4276205c95ec5c7 Content-Type: text/x-patch; charset="US-ASCII"; name="0004-cifs-avoid-signed-integer-overflow-in-calculating-bl.patch" Content-Disposition: attachment; filename="0004-cifs-avoid-signed-integer-overflow-in-calculating-bl.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ks93sh6b1 RnJvbSA4NGZjYTI1NGZkZTYxMDBjMjU2ODkwMzhmOTFlNjRlMTYxNjFlYzUxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGV2ZSBGcmVuY2ggPHN0ZnJlbmNoQG1pY3Jvc29mdC5jb20+ CkRhdGU6IFdlZCwgMTEgQXVnIDIwMjEgMjM6MjM6MDIgLTA1MDAKU3ViamVjdDogW1BBVENIIDQv NF0gY2lmczogYXZvaWQgc2lnbmVkIGludGVnZXIgb3ZlcmZsb3cgaW4gY2FsY3VsYXRpbmcgYmxv Y2tzCgp4ZnN0ZXN0IGdlbmVyaWMvNTI1IGNhbiBnZW5lcmF0ZSB0aGUgZm9sbG93aW5nIHdhcm5p bmc6CgogVUJTQU46IHNpZ25lZC1pbnRlZ2VyLW92ZXJmbG93IGluIGZzL2NpZnMvZm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yLjMwLjIKCg== --000000000000e4276205c95ec5c7 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-cifs-fix-signed-integer-overflow-when-fl_end-is-OFFS.patch" Content-Disposition: attachment; filename="0001-cifs-fix-signed-integer-overflow-when-fl_end-is-OFFS.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ks93sh5x0 RnJvbSBhY2NiNmRlM2Y5Yzk1ODNjZjkxNmI2ODFmNWNlY2IwMWE5NDkwYzJiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsbyBBbGNhbnRhcmEgPHBjQGNqci5uej4KRGF0ZTogVHVl LCAxMCBBdWcgMjAyMSAxMzoxMDo0NCAtMDMwMApTdWJqZWN0OiBbUEFUQ0ggMS80XSBjaWZzOiBm aXggc2lnbmVkIGludGVnZXIgb3ZlcmZsb3cgd2hlbiBmbF9lbmQgaXMKIE9GRlNFVF9NQVgKClRo aXMgZml4ZXMgdGhlIGZvbGxvd2luZyB3aGVuIHJ1bm5pbmcgeGZzdGVzdHMgZ2VuZXJpYy81MDQ6 CgpbICAxMzQuMzk0Njk4XSBDSUZTOiBBdHRlbXB0aW5nIHRvIG1vdW50IFxcd2luMTYudm0udGVz dFxTaGFyZQpbICAxMzQuNDIwOTA1XSBDSUZTOiBWRlM6IGdlbmVyYXRlX3NtYjNzaWduaW5na2V5 OiBkdW1waW5nIGdlbmVyYXRlZApBRVMgc2Vzc2lvbiBrZXlzClsgIDEzNC40MjA5MTFdIENJRlM6 IFZGUzogU2Vzc2lvbiBJZCAgICAwNSAwMCAwMCAwMCAwMCBjNCAwMCAwMApbICAxMzQuNDIwOTE0 XSBDSUZTOiBWRlM6IENpcGhlciB0eXBlICAgMQpbICAxMzQuNDIwOTE3XSBDSUZTOiBWRlM6IFNl c3Npb24gS2V5ICAgZWEgMGIgZDkgMjIgMmUgYWYgMDEgNjkgMzAgMWIKMTUgNzQgYmYgODcgNDEg MTEKWyAgMTM0LjQyMDkyM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