From patchwork Sat Jan 14 20:58:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fedor Pchelkin X-Patchwork-Id: 13102105 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 050F0C677F1 for ; Sat, 14 Jan 2023 20:59:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230433AbjANU7O (ORCPT ); Sat, 14 Jan 2023 15:59:14 -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 Precedence: bulk List-ID: X-Mailing-List: netdev@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.