Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp227325lqs; Thu, 13 Jun 2024 08:28:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuCwWFpXYAUE9Ha4XKBQ2Dvv9gsbi1OSIfregpPFM5x9s6ET8UUX+JIsrHjNlDUizUOWexQKpk/Ul6xj+aEWlCTQGN5Ng87QSvsH2wlw== X-Google-Smtp-Source: AGHT+IFopACwA27hGiMk+rKGdcMOsaPCJcqf2l1vpSh/PLbf0XLZCwMT18MlQtQl8lVUqaqTcJt+ X-Received: by 2002:a50:d5de:0:b0:57c:b941:1fe9 with SMTP id 4fb4d7f45d1cf-57cbd6958c9mr129329a12.4.1718292532151; Thu, 13 Jun 2024 08:28:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718292532; cv=pass; d=google.com; s=arc-20160816; b=jJlewJBqCYlK/QxupNXfpM/vD90euXinv1wI3OnDr0TkZKWEC49hdZRf3S8tOAYixh M9yOdEA0ABM4YUs0rm/UPgimW9nQT7fhrzUQfPhHoeBW6Q1lm/h0mdw6m6J3xgeZ+lPD eKwTxJ3PJk/8j0D1lUjBuWYktppkXkNmH1pE55kfSrbsVgZd53P3+kJnZjUSAK8r84i7 r2xlIoybU8AhU/7X6APPfD8W56mFOPExeQq8RGze37F1atEpSOkEFdM1VDd0LVjNfcvr GR6nQfspArY8ePvo66VmUMBSy06I1J14Cv99FrOM+dlVWwFJvB6/6o4yCJud+3a8Fym6 Zl7A== 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 :content-transfer-encoding:content-id:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=bQ660pxtdIjgMERM5Asqw1peHn2lkv1vDHRwV60M9dQ=; fh=m6KRJ/ONdYjQ0lf/CivT3zFbo+MYmJNbfQ/+xjE/j2Q=; b=YThSKAxcZsELVowhkPU7iqLdG2benLKOXUPUodx+VGjE0prb2zk3O4xKnqDICBiM5r hKg+CyAnNHroIUAbepGlw9lrC+iZt9iZ3QhCurczA99CUtA3kt705ilmoH0hdRKSyeql 4Gv0+CccuKKzcw8CE3/wLP0jiCLKY4izVAHArM7HIgn1fxXY1JWtlchbFhgcc8yeESEm BIi/t5Zi2ixe9Gk0rf9o/sggIIoe1cce3JwJlxLBpesyHGmPTqEZdkHp32Ox2kT4uI+4 w3fz3uxAQtPCrysaEcAXOGUbnFplPkBlex5ydQe/ysiHnM11acLofDsigOuOhn1XAt8o memw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=omp.ru); spf=pass (google.com: domain of linux-kernel+bounces-213543-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213543-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57cb7461f2bsi834062a12.611.2024.06.13.08.28.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:28:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213543-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; arc=pass (i=1 spf=pass spfdomain=omp.ru); spf=pass (google.com: domain of linux-kernel+bounces-213543-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213543-linux.lists.archive=gmail.com@vger.kernel.org" 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 D8CB21F216DD for ; Thu, 13 Jun 2024 15:28:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C22D414A09D; Thu, 13 Jun 2024 15:27:51 +0000 (UTC) Received: from mx01.omp.ru (mx01.omp.ru [90.154.21.10]) (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 A2DEC149C62; Thu, 13 Jun 2024 15:27:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.154.21.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718292471; cv=none; b=DUKeTOdKPljkEShxttnvBQ72VR7Od3nnbG4q2tAjQ6tZ2+d7KsoUVUxk2XoPaC4rpVeSEKiUl04JkuO/Gwkaiqr319L62sPB6sZmmGDburhPc/iMZPBLjjZMyRbk4zyLhZ4K2FH2AUmkFYI+SUx5sXg+KDLMn5EIy4izTd5KvAY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718292471; c=relaxed/simple; bh=bQ660pxtdIjgMERM5Asqw1peHn2lkv1vDHRwV60M9dQ=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=puaJNc4Y74d9NvVuyHydgeA2pROSfGL2DGDplAUgsm739vV8uPJ3MGxcd0xo9fJ4Gvb9dvGEbc1FSuOgneCtk29UioT9x/7uYEI8MoMSN7qDbtyel9gHZc/zJPE3TILh1BE4uG7kbELp04DpShbF8j5AlyMl568jxcSVoQS39Gg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=omp.ru; spf=pass smtp.mailfrom=omp.ru; arc=none smtp.client-ip=90.154.21.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=omp.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=omp.ru Received: from msexch01.omp.ru (10.188.4.12) by msexch02.omp.ru (10.188.4.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.12; Thu, 13 Jun 2024 18:27:37 +0300 Received: from msexch01.omp.ru ([fe80::485b:1c4a:fb7f:c753]) by msexch01.omp.ru ([fe80::485b:1c4a:fb7f:c753%5]) with mapi id 15.02.1258.012; Thu, 13 Jun 2024 18:27:37 +0300 From: Roman Smirnov To: "kbusch@kernel.org" CC: Karina Yankevich , "lvc-patches@linuxtesting.org" , "axboe@kernel.dk" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , Sergey Shtylyov Subject: Re: [bug report] block: integer overflow in __bvec_gap_to_prev() Thread-Topic: [bug report] block: integer overflow in __bvec_gap_to_prev() Thread-Index: AQHavAr58l5gsx+jFUKOz/Vibcz91rHCegYAgAMoCoA= Date: Thu, 13 Jun 2024 15:27:37 +0000 Message-ID: References: <9d8ac82ab63a64583f753878dd03e3503c68ffbe.camel@omp.ru> In-Reply-To: Accept-Language: ru-RU, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-kse-serverinfo: msexch02.omp.ru, 9 x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: Clean, bases: 6/13/2024 12:34:00 PM x-kse-attachment-filter-triggered-rules: Clean x-kse-attachment-filter-triggered-filters: Clean x-kse-bulkmessagesfiltering-scan-result: InTheLimit Content-Type: text/plain; charset="utf-8" Content-ID: <5F29CAD7932F9842B7209AF7BC38C94F@omp.ru> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 T24gVHVlLCAyMDI0LTA2LTExIGF0IDA5OjE1IC0wNjAwLCBLZWl0aCBCdXNjaCB3cm90ZToNCj4g T24gVHVlLCBKdW4gMTEsIDIwMjQgYXQg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