Message ID | 20230114205850.176370-1-pchelkin@ispras.ru |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp445212wrn; Sat, 14 Jan 2023 13:01:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXv7EpA+Lt7qPwQ5OzS9SsjM86zB6OWvjxpNMtRK4IwLgAt5QEw7P0fbBS+Op06N6QeEqJox X-Received: by 2002:a05:6a20:1e4b:b0:af:8ff3:fc7b with SMTP id cy11-20020a056a201e4b00b000af8ff3fc7bmr90096209pzb.25.1673730102483; Sat, 14 Jan 2023 13:01:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673730102; cv=none; d=google.com; s=arc-20160816; b=fGg/MES3myrHHPwZC4e+7PS7d++BwMxkw/qWHCMKR/ZjZQK+W5BuGgVDsQ2v2s78rv Hk5BckHA7GYMYzb6AKOjxmaaBChlUtvBrw5GDkLSlpchg+yyEeQSs9ubxuuQ+/CTxKOU FmVrGf4xE6pBWtDW7AcWtH3OSi7XfY35xnM215Jbo5N+aLzn9dMjFD8bgp3ouZruRvC2 P893No5WIcLpoh0P+wPUbVJ17XHCBk2l8wvOiyI4Ksgir4sr/8Ydn1I1rCfHTgdLND0U 1YkHUZdNs3JQmlB2vXr8F0VA88s25yuUdrSAiUDEWkriH0DlK/5KuPsVU2G1M0gNhqab nxIg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x72-20020a63314b000000b004cc256ee218si352431pgx.365.2023.01.14.13.01.29; Sat, 14 Jan 2023 13:01:42 -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 <rfc822;stefanalexe802@gmail.com> + 99 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <pchelkin@ispras.ru> To: stable@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Fedor Pchelkin <pchelkin@ispras.ru>, Steffen Klassert <steffen.klassert@secunet.com>, Herbert Xu <herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Sasha Levin <sashal@kernel.org>, Nicolas Dichtel <nicolas.dichtel@6wind.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Khoroshilov <khoroshilov@ispras.ru>, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755033216046234926?= X-GMAIL-MSGID: =?utf-8?q?1755033216046234926?= |
Series |
xfrm: fix rcu lock in xfrm_notify_userpolicy()
|
|
Message
Fedor Pchelkin
Jan. 14, 2023, 8:58 p.m. UTC
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.