Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp330790pxt; Wed, 11 Aug 2021 22:47:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1KwQdJofltgPxfDymSUicyEAt0TWUdeM5Fanej/fK3TEOcuYxO6REHMQ1wfKHPxK1BPfP X-Received: by 2002:a05:6402:42ce:: with SMTP id i14mr3440874edc.345.1628747257935; Wed, 11 Aug 2021 22:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628747257; cv=none; d=google.com; s=arc-20160816; b=GTOt9zlhlZk7gkJq5HD/XjsDXZ7QrgvmcKL5Q0ZrPkkzEKYaaTDUx3OxgWwuXlZ5hj wNBkAp1F3fNaO1O3vNJbAx6ZH0eS3aQ4YHg6tsLq3pSZRVFyG8IC/z6r0NVljmud6SNU 8H/dS+2y0Eo4YDgt5zLsPgYw4hJ1ONOUV+JkNiRwrbQ8zxNBkNUrDx/1f1jNcvFTBWeU Lg13pcFdkQxaV6hXQ1rvZs/L4UppfS2PLzdA97SBKeHU9NKBQgFnopkamzEbmF3TydbL ULrunKhU70EvzBQaYVgr7vD4rKP+J426kG5Ek0gcjKyNindAcQ30US4PxqrLmH/X10Ou XyGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=rncRDKB4DU9qhENuipCw4tDszCNGSLCKP5orEvp1cWI=; b=Ewf1YlcExjDi6OhabEoaDihJocjZS+cQSuXS+cOOzDu6BIOSy3CiJ+l7zZeYeu7qcb 8kZdVpY00hvTwkE7ua71GXeHcdKu1JyvJNDJH+nWWdd5gCBqeRw9XFO70LARx8lh4AQn 0snf1f0qaSSG6uJvX1m534H0QQNg6EvHhT/t8xiwdTuFLVpv1Q3PEx2EFcOGxfJvg6HS Apopt1NaDgndDIXMV4W7QnOa4wAVeaDt9rr7S9ETNblNHTWuB8NTA4LX+/NuLQWizvNQ AqGIRNM/s3P1OMWYgQGQ6w8nzi85P63stEI1JQC4od/47SDPu0//Vlw07XQAXeLtjJzb dJrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dXuFruq7; 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 p1si1453825ejm.169.2021.08.11.22.47.11; Wed, 11 Aug 2021 22:47:37 -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=dXuFruq7; 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 S234398AbhHLFmI (ORCPT + 99 others); Thu, 12 Aug 2021 01:42:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234367AbhHLFmG (ORCPT ); Thu, 12 Aug 2021 01:42:06 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05297C061765 for ; Wed, 11 Aug 2021 22:41:42 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id c129-20020a1c35870000b02902e6b6135279so2143597wma.0 for ; Wed, 11 Aug 2021 22:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rncRDKB4DU9qhENuipCw4tDszCNGSLCKP5orEvp1cWI=; b=dXuFruq7lCDTRNnVaFujcdz0wTyQokilgVy2twiIvH3RT/EhsgHCgpAMPxGy3DPM8d JpWr8Ku6CvQsbhTnjNE4ZEubVzgQAWWTxwoeK8bU9tMyaPWDXaTXhDUVpss+LHouDpBh im6/q1l6SrocvB82xT1JwjLKJONDM/JY4fXlPX7Q7sokVwdtAHkG/uupeyEmIYOsto2D cGSvVMnczI2vBDiVagaQkrUE90qXE4NtUzULP+8+d7IJP2DAXjt04VQP6WADAsAPidPA MrUvmoiaUbwWMjJUa8vucJMwvnzlacJpLQe2obSswSSQRKixfPrD6BvUbO6tg29EFhab zz/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rncRDKB4DU9qhENuipCw4tDszCNGSLCKP5orEvp1cWI=; b=F6Mz5rys5jqphgoLBsRmGUlVMvpRgerg3+FYAiOu13E4Qno8/wWCXW1A8QmPvVUY5K HDL1Hq1npBAy4LNqxTNxd+bxZyPqy/gFbBjVqWu3W7qybRMLeAyNJ8gbSqMO5JhyaxkM BsCsIWdeQFEX1Cqs5EskyjEXqefqQPnZbpIa72Tf+pUTEvlmbZVkZUv2m/9hNeidLXo/ ovegeD4iahMFYPxmN0UYIq/okCrQvHwfGmI6ZOO0zesBe6TZjIwvRMItWL1lU7sNWMpr K8OwdjWq+i1UGYXEDQiMOSUR20c1GWvldSNO2Hrb9qPhdognSaKPDMGg8j0YV+V3jZM0 rUbQ== X-Gm-Message-State: AOAM5336SpTOKBMH/acfkR+WQLE3EosUJmzZTppEq5QXJoFzeVdydYze zIm3uYtRm/trjVMcAqKvT/yfs8+HhR6/ZFdMBwP1w2O/SNQubQ== X-Received: by 2002:a1c:5411:: with SMTP id i17mr1932655wmb.183.1628746900232; Wed, 11 Aug 2021 22:41:40 -0700 (PDT) MIME-Version: 1.0 From: Steve French Date: Thu, 12 Aug 2021 00:41:29 -0500 Message-ID: Subject: signed integer overflow in atomic.h To: LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =============== [ 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 -- Thanks, Steve