Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp817743lqo; Fri, 17 May 2024 02:28:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV1Qrf34TqiExUsV4QWlDQ5Gyf2lyBDIbc3CjZo8RSV1bF8BN1tZATvYB2iBlSQS04LnRM2FtjZVyj4oAm9tUlsy/Pl6TiJZyFNe3YtEg== X-Google-Smtp-Source: AGHT+IFxwe5Zzcc8qwznMkV1NV9EiY0RCS5qRk14Yc8VbBuO0BCkhzHTPmEV8Dl9UQRP3R7UmzBQ X-Received: by 2002:a17:906:db0a:b0:a5a:50e4:5738 with SMTP id a640c23a62f3a-a5a50e4586fmr1469703766b.73.1715938081576; Fri, 17 May 2024 02:28:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715938081; cv=pass; d=google.com; s=arc-20160816; b=X2Q0OEFCjANR3JHYVQ2CbqfkGgGmULkywXndD/7q8b9L4i4hvnWItkRjfXINwsHB4e GvVy+Q9+HpNp/WF2igd5Aq8wddTfCU+0RR8J0nAgVL+Henn58j/zLSicXdPcahnKxqw3 9UWwGWHcwIezX3GSfECSHQmavZ4QSiPiIBg8xK8aeeDAUzvqablYDwFaSafyU1PjG/x6 WmU4wGA11jv7j1LswFTilL0YulwX+5Vyo7EzeD1NmVVJsH3sxBzsQbK0cc8KpDN1x3cr Wg6YWqMOWw2zohT1m/RoZmLXZutDKdT0dgjyFi9QAB0xNNeC48l4qdzH2Aqcj90UPSfn qcdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Qyol9/0fjUwTBCD/lu/C9S5eG6ZgCLgdeBC9QyKdG8E=; fh=4pyO8jtVCuGADdAZI9zEu2JVgXjVcvuvASj+Lxn/UAQ=; b=W3ycu77dZGEHdJb0J8GglaW+aWoaScPuNBSThfxzjknaCkJcQPc0TDJw+lhfAuy58n DeEFFEGqdNCaHB4hmbIzD5lFEXhcO6JMSy9dBSvCHE33RtutfsnoCAtKLqnn3KtPoDOs kMdrYq2vdTzx/Pag0R9rA19qOjARLY0QKQSuDWjnaNe183R56uJIFaJR/4CfpERRD0SV vJtJhI/irqM7jrEaOw0sLnsvTFFXryWy2iksqW7CcAkwGOsI/1ScR4mJSr4aF9TKGHYM EkoZUSI286+CEO4xj5pQAjlOz/GNUawmNribso3eizQZE7GLZH6OMJJ6TWxd5muBG+G/ Ottw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=cQ87vlEp; arc=pass (i=1 spf=pass spfdomain=amazon.co.jp dkim=pass dkdomain=amazon.com dmarc=pass fromdomain=amazon.com); spf=pass (google.com: domain of linux-kernel+bounces-181925-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17b21930si954669266b.381.2024.05.17.02.28.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 02:28:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181925-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=@amazon.com header.s=amazon201209 header.b=cQ87vlEp; arc=pass (i=1 spf=pass spfdomain=amazon.co.jp dkim=pass dkdomain=amazon.com dmarc=pass fromdomain=amazon.com); spf=pass (google.com: domain of linux-kernel+bounces-181925-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.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 40AF91F220E4 for ; Fri, 17 May 2024 09:28:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 31B4F2260B; Fri, 17 May 2024 09:27:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="cQ87vlEp" Received: from smtp-fw-2101.amazon.com (smtp-fw-2101.amazon.com [72.21.196.25]) (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 9AB602375B; Fri, 17 May 2024 09:27:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=72.21.196.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715938071; cv=none; b=hRTN8wvPBAuIF4avvP90B/JIlsSwHZ8bOU8rfn172AD9bScxHUxz32dCKWXrY3YSj+4F9KL+/F0mhpNQTwFUfgaxAQXD3TqhshOqG3zDCRWBWU6qgKofmzeuT3ijjMvO0cUdNNuPQhMfMOfbI7EtbHxCuQ5YNNtdhf6/H1QpgC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715938071; c=relaxed/simple; bh=QEFcnNgSW7VFtUZqNDydUFcpK6MlFDy6iAS+JARgbiI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=S4XwOMxShV2/i4h1PsHnD3aY2DcGUCAbp0RD4EzR8PEMlLLuWMsPs93cX0bFAvDPrtSHntLqzykPqTd+ffk/++QhFkogGUo/2/bndUwsHWg3ZdCKis4f8/Y7KqsqGk0ycaBHt5QoZ/yq9YAqzU4SjC7jg9jg3F7ZncaxVXd6uNk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com; spf=pass smtp.mailfrom=amazon.co.jp; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b=cQ87vlEp; arc=none smtp.client-ip=72.21.196.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.co.jp DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1715938070; x=1747474070; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Qyol9/0fjUwTBCD/lu/C9S5eG6ZgCLgdeBC9QyKdG8E=; b=cQ87vlEpylFBo2562e+4PY3LRBChwOKpdzOdmzpar47O/fs72i/vH6LB 9zryhUMKNt2koINo5iKs2PHPVa2rXVu9xsjN5bP8b2SA0WS8DLydtW4dO wXlSQpZOi3wj6tFr/xpQ5crk6CT9Onvr6RfBB4Bm8CEGwrSr9nF/ICTNO U=; X-IronPort-AV: E=Sophos;i="6.08,167,1712620800"; d="scan'208";a="401796677" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.43.8.6]) by smtp-border-fw-2101.iad2.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 09:27:46 +0000 Received: from EX19MTAUWB001.ant.amazon.com [10.0.21.151:5031] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.57.175:2525] with esmtp (Farcaster) id 2f9ded0c-3c22-44e3-8595-2cae7b44526a; Fri, 17 May 2024 09:27:45 +0000 (UTC) X-Farcaster-Flow-ID: 2f9ded0c-3c22-44e3-8595-2cae7b44526a Received: from EX19D004ANA001.ant.amazon.com (10.37.240.138) by EX19MTAUWB001.ant.amazon.com (10.250.64.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Fri, 17 May 2024 09:27:43 +0000 Received: from 88665a182662.ant.amazon.com.com (10.119.6.241) by EX19D004ANA001.ant.amazon.com (10.37.240.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Fri, 17 May 2024 09:27:39 +0000 From: Kuniyuki Iwashima To: CC: , , , , , , , , , Subject: Re: [Linux kernel bug] UBSAN: shift-out-of-bounds in dctcp_update_alpha Date: Fri, 17 May 2024 18:27:30 +0900 Message-ID: <20240517092730.34061-1-kuniyu@amazon.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EX19D046UWB001.ant.amazon.com (10.13.139.187) To EX19D004ANA001.ant.amazon.com (10.37.240.138) From: Sam Sun Date: Fri, 17 May 2024 13:03:18 +0800 > Dear developers and maintainers, > > We encountered a shift-out-of-bounds bug while using our modified > syzkaller. It was tested against the latest upstream kernel (6.9). The > kernel was compiled by clang 14.0.0, and kernel config and C repro are > attached to this email. Kernel crash log is listed below. > ------------[ cut here ]------------ > UBSAN: shift-out-of-bounds in net/ipv4/tcp_dctcp.c:143:12 Just for the record, I posted a patch: https://lore.kernel.org/netdev/20240517091626.32772-1-kuniyu@amazon.com/