Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1112358rwb; Sat, 14 Jan 2023 14:29:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXucQ7xK/BPF7kt6rbNYXW4Tiw72e844MRU+XIT82ybwv/Rjsl+4FsRB7qzmD/wttX5TaCPQ X-Received: by 2002:a17:902:e5c5:b0:189:c57c:9a19 with SMTP id u5-20020a170902e5c500b00189c57c9a19mr115316502plf.58.1673735360438; Sat, 14 Jan 2023 14:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673735360; cv=none; d=google.com; s=arc-20160816; b=t6H1fG77hPdKaUUzCKzpMtEvdMzancvbBmARbSlsV157qt3BIJEx5JD7TulWApzGe4 O8VimS7MvJSumHjo36wDKgqSeBGLzEW+YiZ+U/PYVbWBcF/4sefuUO/nmwy0fDDO0BRM l8JviXjGfSBV+Ju9EZBbZhYQ+dN4NOXSlBsq7f2ILd5qQ4R0BweSFKNvpyKorViAbNBb 5OVB7R8N6ejs2RYwI388gzRKZm6uZ6NIuxGtSC7zqUa+sD8kMBZ1URJmOKkfQ702BKXZ e5pm2GKdw7getma3FVWFB56EDun6Oo7erCes1tU++q94qXW5mzSFONUmuJQnHVgmX5Al 0z1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=4ClNmtCZQgfd2qu77TAQYOQT0Giru88nRwPxaxDudJc=; b=oINrsCguZDI/RGD9HBW8WTCZSUuWHc0J6VLOZRAfNrd75g361coX98GU9xc3iPGntb g/MnSs1iTsfb1PyfmINIh9OYdYvjBLwVN8J3cp/BXt63A/aIXlGEAbD8+/oOMXji+hAw /HRH+obBN1Fy05T+RNhS9O8P8Eu2353RKoSfF2OQY+WYgzlmT0GhJt5xYI9v5wKbtZkW +X999yaFMxARMvXhVG/8kA8tvR4aDtRij3Hib0llonFIBg9vyEO5v1+5EGgjL90ReC7x c8fbjpHlKH7m3D+T7sj4Qol0RiLACHok3ozYEdSp245FShbiZ+Xb17hnC6ptzGK0XaGu IxIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ispras.ru header.s=default header.b=gKY6mqi7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h4-20020a170902f54400b001899515b268si27160487plf.433.2023.01.14.14.29.11; Sat, 14 Jan 2023 14:29:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ispras.ru header.s=default header.b=gKY6mqi7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230385AbjANW1a (ORCPT + 52 others); Sat, 14 Jan 2023 17:27:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230224AbjANW1X (ORCPT ); Sat, 14 Jan 2023 17:27:23 -0500 Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FC049EF7; Sat, 14 Jan 2023 14:27:23 -0800 (PST) Received: from fedcomp.intra.ispras.ru (unknown [46.242.14.200]) by mail.ispras.ru (Postfix) with ESMTPSA id 2C31140737AF; Sat, 14 Jan 2023 22:27:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru 2C31140737AF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ispras.ru; s=default; t=1673735241; bh=4ClNmtCZQgfd2qu77TAQYOQT0Giru88nRwPxaxDudJc=; h=From:To:Cc:Subject:Date:From; b=gKY6mqi7zXoj0AnbmSqXAAVyD79EfKbGs21JzEqpodSnfIV2drGcN+tFZeLSNfCOQ R3n8X/5jAK/YYUXyBBA7Q2J6hpddOzR/VOaQsFepr918qXrFWslfDz/wPVU9wfL1h1 t1waWdl/SW9+4kFjZ3L3tWQIB8A7AZojI2Ptadyw= From: Fedor Pchelkin To: stable@vger.kernel.org, Greg Kroah-Hartman Cc: Fedor Pchelkin , Jens Axboe , Christoph Hellwig , Chaitanya Kulkarni , Johannes Thumshirn , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Khoroshilov , lvc-project@linuxtesting.org Subject: [PATCH 5.10 0/1] block: replace WARN_ONCE with pr_warn in bio_check_ro Date: Sun, 15 Jan 2023 01:27:08 +0300 Message-Id: <20230114222709.180795-1-pchelkin@ispras.ru> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Syzkaller reports warning in submit_bio_checks in 5.10 stable releases. The issue has been fixed by the following patch which can be cleanly applied to 5.10 branch. bio->bi_bdev from original patch is not compatible with 5.10 so adapted the print message to work with 5.10 cleanly. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.