From patchwork Wed Mar 15 15:20:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 1757442 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=NGrIu95q; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PcDdw0Fgcz246q for ; Thu, 16 Mar 2023 02:22:10 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1pcSws-00043L-Mn; Wed, 15 Mar 2023 15:21:54 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1pcSwr-00042M-M9 for kernel-team@lists.ubuntu.com; Wed, 15 Mar 2023 15:21:53 +0000 Received: from localhost.localdomain (1.general.cascardo.us.vpn [10.172.70.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id C13F03F771 for ; Wed, 15 Mar 2023 15:21:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1678893713; bh=Qf3qRlqAlk/GUCdAlCuAgJ3j9n9XbtqrEM21Ob/x1CA=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=NGrIu95qxJRC8d6MSeUaLoRnTF3XUdj9WMDfWzhUPyXiY9p/fSrSDacmu1RjDXK5p MUAQOsStOstV4uUJAvErb6EjjVxzsxm0DX8KNeSYlvdZbnFaI1UeqJ/O2Co3/Ln/c7 HIGL49e8ZWOqdL0ITSoJvYk9Nb6k8QC6sBh99gvAEddY5EGS7YPnK3eZAaIiHSk8uR y4CZkC1onGjeJyFRHSK0BCLDCfuAT8kx6KEd3biYooAWpzE2Am4l6ZKDxSBLEd1JDg QEwPK+xqNrPNyO7YajXsv8Wd5onhUMMo4awpt7UPD/r9LP4LEn0GBPXEORE0C9vDSk PLNfyPBLJULaw== From: Thadeu Lima de Souza Cascardo To: kernel-team@lists.ubuntu.com Subject: [UBUNTU Bionic, Focal, Jammy, Kinetic, OEM-5.14, OEM-5.17, OEM-6.0 0/1] CVE-2023-1281 Date: Wed, 15 Mar 2023 12:20:58 -0300 Message-Id: <20230315152103.767189-1-cascardo@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" [Impact] An unprivileged user may exploit a use-after-free condition with the tcindex classifier, leading to possible local escalation of privilege. [Backport] The fix uses rcu_replace_pointer, which was not available on 4.15 and 5.4. A backport to add it was done on those branches. The tcindex classifier was removed on 6.1 and 6.2 kernels. [Potential regression] Only tcindex classifiers are under risk of regressions. Paul E. McKenney (1): rcu: Upgrade rcu_swap_protected() to rcu_replace_pointer() Pedro Tammela (1): net/sched: tcindex: update imperfect hash filters respecting rcu include/linux/rcupdate.h | 18 ++++++++++++++++++ net/sched/cls_tcindex.c | 34 ++++++++++++++++++++++++++++++---- 2 files changed, 48 insertions(+), 4 deletions(-) Acked-by: Stefan Bader Acked-by: Cengiz Can