Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1063914rwb; Sat, 14 Jan 2023 13:26:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXuZu77JXv/xKDVLrLggIHvDYIWQDnVyljt2N/Sj/3qRQVKQlCpLuV4aIOWHlugLtKOsoGI4 X-Received: by 2002:a05:6a20:8417:b0:b6:a422:ed83 with SMTP id c23-20020a056a20841700b000b6a422ed83mr10903470pzd.54.1673731579157; Sat, 14 Jan 2023 13:26:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673731579; cv=none; d=google.com; s=arc-20160816; b=sscq8obyaa8Jj/RMsmlK7EvWLEVVo+aWjB5i8IZci+T30TH5Pr/F7Pl6UhjACMpTem HwsBULdclN641OuTz8USlfFGysvw30K0fmrPHXGNM4VhYmOnwtP3gCb9RXTYw+4ONK9V I76QkjCju02AnYBQKj5/tqgrA0wLnEQ/RgUwJqOSYeqtZ/79rJFUNIlxc8U5tg/rentU tUFQoH9wyPM0PLEvdD0WsF/YBJDtC1oeE3CKCLoxR8OyFnADdpZ+xlaTmH8UuJrZFMUi qfWts1+9MzcDtlWzeTUlY/EDk9jf5RNSYCR8oA6QTWrByeuwFcXdUE366Bwn2Rtwj/nt 4Ulg== 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=3Oq00IfqOtOdi3g6M1vZR76lNmzfl7MBMJEOs/QgFuA=; b=dUJyVN5rpfluN6Lg5KglKLKpsbJRRcUq6X8NYoWoXShR47WWFLjCJdpN0QaEauwNaE MeIFQOvPtSLEOAHvpmguQFJ7Id+cxL2JuJ3V8/Y+6/OFkVmRSkWzmhO6lwEnlyqyAKMU ErELNF3vbwq/xWRPwW1gYIuuPQ6DcKNPv1sO70OLfm5yLqWO/AjoMaYI/c+kcx28lo8/ O5qfwNlTCab3P4+3/2TWVuP6Akd0sljOyMP/oSLQUENKL2knDQPrtfsVc34MQX9rOSCa Q/rA+zEsErQjs30fwnoQO2WS/Nt5lTgdCOsbmlP9MgU1SH2ImBwGEfqKRBFOela282zv vRQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ispras.ru header.s=default header.b=FthlVSAd; 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 185-20020a6205c2000000b0058d6a27d641si1599196pff.234.2023.01.14.13.26.12; Sat, 14 Jan 2023 13:26:19 -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=FthlVSAd; 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 S230447AbjANU7P (ORCPT + 53 others); Sat, 14 Jan 2023 15:59:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230358AbjANU7M (ORCPT ); Sat, 14 Jan 2023 15:59:12 -0500 Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B57287EEB; Sat, 14 Jan 2023 12:59:11 -0800 (PST) Received: from fedcomp.intra.ispras.ru (unknown [46.242.14.200]) by mail.ispras.ru (Postfix) with ESMTPSA id 4665540D4004; Sat, 14 Jan 2023 20:59:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru 4665540D4004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ispras.ru; s=default; t=1673729948; bh=3Oq00IfqOtOdi3g6M1vZR76lNmzfl7MBMJEOs/QgFuA=; h=From:To:Cc:Subject:Date:From; b=FthlVSAdNArH6cL6VX1pb5Yu5mwSpDBQc216fUToPnI18P1R78KVZx207QDARX8gl +LHbR9uDqXLB23AiRMdZ/y3wLSFgYTqRVxtlXa1zcEucrGDLEURYL63vF33P+Grw6x OAKLfBmLusgXQt//Q6mVrSmk6T/N6mMu3qb+EFHY= From: Fedor Pchelkin To: stable@vger.kernel.org, Greg Kroah-Hartman Cc: Fedor Pchelkin , Steffen Klassert , Herbert Xu , "David S. Miller" , Jakub Kicinski , Sasha Levin , Nicolas Dichtel , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Khoroshilov , lvc-project@linuxtesting.org Subject: [PATCH 5.10 0/1] xfrm: fix rcu lock in xfrm_notify_userpolicy() Date: Sat, 14 Jan 2023 23:58:48 +0300 Message-Id: <20230114205850.176370-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 suspicious RCU usage in xfrm_set_default in 5.10 stable releases. The problem has been fixed by the following patch which can be cleanly applied to 5.10 branch. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.