Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1632654lqz; Mon, 1 Apr 2024 12:04:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQG+OIldFQpTJE8theezS/2yJoJ0rg2uBbBumPjhDHqgKv/JWFLRX6ReHFJrYeaNpBzaPXyRapRDxjoQRUh1Br2qCfvlv27+EQHMjacA== X-Google-Smtp-Source: AGHT+IEntNt0mtg6UH0mUfTAqcH+V2sQZNRM5F+AlR4NfPNeeieR3I8zlM4VR3Z/v1+9NsR1P29L X-Received: by 2002:a17:902:cf01:b0:1e0:c988:78e8 with SMTP id i1-20020a170902cf0100b001e0c98878e8mr15243287plg.40.1711998256528; Mon, 01 Apr 2024 12:04:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711998256; cv=pass; d=google.com; s=arc-20160816; b=BV7k6yrTCG+4AXZzZ4OOdB2QaLOzzILx5moueBC5K0SRHMINHX0XlgGQK6T0hjDCmS l2K30OxWAwrU5s6xZkcFIbclQEmKdoXWm47qd5q4vr8hT/wtw9zf83bntRZTcB3cCxSl jdRSmw5VXmf2wRcuhsmA61yujtRiQHhWeZND08yI4lQmBXKDTsLPca4awhI3oZ0dAdek E2KLzVt1NqA/6gIOtqxSsoR08Ky0abHsHMtzRwgS+0NHE+SxBq+HpG8kQzBKpubBW0bb vdTcWS7gCAmdyCBRI1DMMDXtbA5W/orBS/jBvA5pbj5D+SjbQ+6V5Wx9jLZzcVvuv8St ePGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=yYvO3v5OtgUEtXlnG8GDoLjAfRWwq7ns796AeG3oL58=; fh=/gzq4vLcOQra84d7VroYOBWmPzM9euJxgS+HjE/hRgw=; b=GgoeGW/6/WlXA/tjYxJ7gJa05TdFcpVGQAxOgqk4Issj9VVM5cZdeE296r2lmdIuLz 2okeQHvxEH2pNc8B75YUkWZY1BfyzxqoAfREcVsyMZQ9Bh3jrDF87cBpvzNpB1VHG7be 23D71xqaoU+qtqFGuRKWDzyLOcoAtFiTuebND4+IVJXmStvDGkMJm1jvogypp/4VKp2H ege3RG6CH7HRqilKoo0Se4+uj1/NOoLSU9U7HokkQVXdkofw4XUG1eRQ8f3vQV+/wrQ/ zi6wwYrCgTdrApEWrOFUg2223UI0UDdEYPNVubsEpFw3t7e1fTCiP1d2hxxfV9HGVed+ oFnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O5qtZlPH; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-126972-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 4-20020a170902c14400b001e0b883c7fbsi9472330plj.453.2024.04.01.12.04.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 12:04:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126972-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O5qtZlPH; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-126972-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 827E3281FE6 for ; Mon, 1 Apr 2024 19:04:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2067B51C44; Mon, 1 Apr 2024 19:04:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="O5qtZlPH" Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4BFB42056 for ; Mon, 1 Apr 2024 19:04:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711998249; cv=none; b=VBEzTIOzzIEqwMi0t5JLsH+/JsVFuffAfM+rsboxDlGKD17pyKbEoETj1/cMjP+EnLGY/rJn5hSKeohO2XZj+Bu6LWhLuWjt1JJS+2mg9yy6mAa9kB32MScb07uVnl/Vzgm/YADBFbpo0fBeC3isLf+7pA2/bebqnQfZ3g6TB5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711998249; c=relaxed/simple; bh=7YFzwRTLlPh301ibtaPdumqzzLLM37WL5MqJHvPd2iA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Gk5ZAfFHtEHAR3MCcM1yI0y8M1C6LJ/pEIP/N+no1C7Sy5XkY3cZcnvbR1uKKp0nYPag9ZxyWNElmwGjN6LCJYlWlpF+wA/LuObHeNpuMOrKtLqzCQSTKK2nWKPq+IXhlAknbKxT4OWHgDk/aBiKLRWLRVgG8VSox4KAz5F5OZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=O5qtZlPH; arc=none smtp.client-ip=209.85.210.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6e67d42422aso2831959a34.0 for ; Mon, 01 Apr 2024 12:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711998247; x=1712603047; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=yYvO3v5OtgUEtXlnG8GDoLjAfRWwq7ns796AeG3oL58=; b=O5qtZlPHOp4AmQ5Y2htq66war88e8OgBqeZOfLNrtdgfKOMqCgUhT2qilNVD9nyunu JkIm3BRQJocPasSLG2OAHC22SAHlI15qzi9nSJuQ5PAQ89rKLp3Nh6yPhAOG9zFYIuty g18GAQ7XyE+i5U7VyDj4EmOktv7JFe8c4yG+wK5086JnRbWUno94dFais2kY34j7+PWo ZDMb2f1t19bOhzCfuYLO8TWqfgvq4LFnDp6NsyAAslmhJZysGchAnwJaVMGj26bZXCBn 59mQIRszhatCHWvuwPMe3OT56KZMcf4Gyv2anzZNRwL8S64qnJkU626Xd+SbmBeZgRSe gprQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711998247; x=1712603047; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yYvO3v5OtgUEtXlnG8GDoLjAfRWwq7ns796AeG3oL58=; b=vsdkSuFjijIjMlojr4OzdADTEJGIpImxeV8AP/LSCdnmdOJ3uK2IWus/AAp4GIg8l8 pSwSM1uhaIUgxz194LGVbRoXq6WjmkXg0wUSRg4QM2aY5oNiyB73WmwpzLLYMkx6nxie P+s2qClgspeI2Uvhhic0/BsVYuFZ22D0LQwI0qTdRZ/Ygt7VJPK5qP+cKtRpPxmDnoEz talexkkxAS/pGXOOg8LdAC8TZzOemPraPJ8IfUQySbyg0go48XXlqJaCXx/qVoiXqzf3 0OvT1UUzFouee1S1USCj8Kbe6KzyANxsGJgJAefwlafqxtNLmQgwbCb7IlOSV4eYOqc+ xHgA== X-Forwarded-Encrypted: i=1; AJvYcCU3RfaOrRnsBVV66/YCdM7kSqqS+2nzLFSHbmT57IgSyFr3NzQr5HoOjUmU1jdcf6flLl57CqQ59tc8a0QCSs8P2ZzkyOMzp4WQa6L8 X-Gm-Message-State: AOJu0Yzd4bQddHlHblAhHN2QbhOjIeEk3NrOGGkPl/2+b9HnGEQt532t HqB9c6NEsqIyyGpwDLiAaoyZCXQ4a70GZqb0OBFGBjgDj9zDehgqbYvlx8cWmR4T21nzu6BYT5N UheyO0/DolE8UwKMhrICczPtD3Wk2vcHoIx/tCQ== X-Received: by 2002:a05:6808:2114:b0:3c4:ea03:81b with SMTP id r20-20020a056808211400b003c4ea03081bmr4330021oiw.2.1711998246673; Mon, 01 Apr 2024 12:04:06 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240401152549.131030308@linuxfoundation.org> In-Reply-To: <20240401152549.131030308@linuxfoundation.org> From: Naresh Kamboju Date: Tue, 2 Apr 2024 00:33:55 +0530 Message-ID: Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review To: Greg Kroah-Hartman Cc: stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, allen.lkml@gmail.com, broonie@kernel.org Content-Type: text/plain; charset="UTF-8" On Mon, 1 Apr 2024 at 21:20, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 6.8.3 release. > There are 399 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Wed, 03 Apr 2024 15:24:46 +0000. > Anything received after that time might be too late. > > The whole patch series can be found in one patch at: > https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.8.3-rc1.gz > or in the git tree and branch at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.8.y > and the diffstat can be found below. > > thanks, > > greg k-h Following kernel warnings have been noticed on qemu-x86_64 while running LTP cve ioctl_sg01 tests the kernel with stable-rc 6.6.24-rc1, 6.7.12-rc1 and 6.8.3-rc1. We have started bi-secting this issue. Always reproduced. Reported-by: Linux Kernel Functional Testing ioctl_sg01.c:81: TINFO: Found SCSI device /dev/sg0 ------------[ cut here ]------------ [ 36.606841] WARNING: CPU: 0 PID: 8 at drivers/scsi/sg.c:2237 sg_remove_sfp_usercontext+0x145/0x150 [ 36.609445] Modules linked in: [ 36.610793] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.24-rc1 #1 [ 36.611568] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 36.612872] Workqueue: events sg_remove_sfp_usercontext [ 36.613691] RIP: 0010:sg_remove_sfp_usercontext+0x145/0x150 [ 36.621539] Call Trace: [ 36.621953] [ 36.622444] ? show_regs+0x69/0x80 [ 36.622819] ? __warn+0x8d/0x150 [ 36.623078] ? sg_remove_sfp_usercontext+0x145/0x150 [ 36.623558] ? report_bug+0x171/0x1a0 [ 36.623881] ? handle_bug+0x42/0x80 [ 36.624070] ? exc_invalid_op+0x1c/0x70 [ 36.624491] ? asm_exc_invalid_op+0x1f/0x30 [ 36.624897] ? sg_remove_sfp_usercontext+0x145/0x150 [ 36.625408] process_one_work+0x141/0x300 [ 36.625769] worker_thread+0x2f6/0x430 [ 36.626073] ? __pfx_worker_thread+0x10/0x10 [ 36.626529] kthread+0x105/0x140 [ 36.626778] ? __pfx_kthread+0x10/0x10 [ 36.627059] ret_from_fork+0x41/0x60 [ 36.627441] ? __pfx_kthread+0x10/0x10 [ 36.627735] ret_from_fork_asm+0x1b/0x30 [ 36.628293] [ 36.628604] ---[ end trace 0000000000000000 ]--- ioctl_sg01.c:122: TPASS: Output buffer is empty, no data leaked Suspecting commit: ----- scsi: sg: Avoid sg device teardown race commit 27f58c04a8f438078583041468ec60597841284d upstream. + WARN_ON_ONCE(kref_read(&sdp->d_ref) != 1); Steps to reproduce: - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2eVWFlAeOUepfeFVkrOXFYNNAqI/reproducer Links: - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.23-397-g75a2533b74d0/testrun/23255318/suite/log-parser-test/tests/ - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2eVTitwVMagaiWhs5T2iKH390D5 -- Linaro LKFT https://lkft.linaro.org