From patchwork Thu Mar 24 11:22:21 2022 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: 1608987 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=hi9jNHuX; dkim-atps=neutral Authentication-Results: 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=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KPNBr19vLz9s1l for ; Thu, 24 Mar 2022 22:23:31 +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 1nXLYq-0008TC-3e; Thu, 24 Mar 2022 11:23:24 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nXLYp-0008T5-0p for kernel-team@lists.ubuntu.com; Thu, 24 Mar 2022 11:23:23 +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-0.canonical.com (Postfix) with ESMTPSA id DD6B13F34A for ; Thu, 24 Mar 2022 11:23:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1648121002; bh=qNzuzOhlBMo+WBb0CI1oHoCH49sdpK16eInpjcBxR3I=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=hi9jNHuXE0G9cjX6/hkMbB0ozFnfGwHiUa8ftFx4jL5abCVyqpn5qD52UzJ2pPSSK HZyEnD+YoGPDySPanwBGlVt5TGRANnlk18WYQkDv2Qcf/AtnVWa/AsSfxvLn5hfmBz B0kGBlYFDlx8EzOwAYR6GD1GmT8NupZuPJCxxgQF0ygLv04EA7OKARt77MKy7KfQCz 9csVkzsXNxBNJYpNSLyL7NMumdUkoMVk5DqJJdjg9U/YYfB9etNwUoPUIqKqgOMe0W GBeI6zx+TJGH97X6lJ28ImaUxDgmLFND1tSm6Syo9FgS5YRksYC7n5UrmZdt8qZ/n8 jlsFChKypDj3w== From: Thadeu Lima de Souza Cascardo To: kernel-team@lists.ubuntu.com Subject: [SRU Focal/Impish 0/1] CVE-2022-1055 Date: Thu, 24 Mar 2022 08:22:21 -0300 Message-Id: <20220324112222.390292-1-cascardo@canonical.com> X-Mailer: git-send-email 2.32.0 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 can use TC to write to out-of-bounds memory, possibly leading to a privilege escalation. [Backport] There was no flags at tc_new_tfilter, which was introduced by a later rewrite. [Test case] The syzkaller report had no reproducer, and one could not be found or written. [Potential regression] qdisc configuration and use can lead to unexpected network behavior. Eric Dumazet (1): net: sched: fix use-after-free in tc_new_tfilter() net/sched/cls_api.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Acked-by: Tim Gardner Acked-by: Stefan Bader