Message ID | 20230816221431.39612-3-yuxuan.luo@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=lmC9hPxb; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 4RR2W03KWdz1yfk for <incoming@patchwork.ozlabs.org>; Thu, 17 Aug 2023 08:14:52 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1qWOmt-0002G5-Qf; Wed, 16 Aug 2023 22:14:47 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <yuxuan.luo@canonical.com>) id 1qWOmr-0002Dh-BY for kernel-team@lists.ubuntu.com; Wed, 16 Aug 2023 22:14:45 +0000 Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) (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-internal-0.canonical.com (Postfix) with ESMTPS id 2581D3F314 for <kernel-team@lists.ubuntu.com>; Wed, 16 Aug 2023 22:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1692224085; bh=0xWoz4HBydy1yla66y/Pi6BJ1srqyHAKBqCMB1D+pfc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lmC9hPxb5TipDTrP9ljv88oNyf2s7cbB0P8bCJlxxx6WA9hy/ikgWna2f5fcODZlu gpWkgek79e40rFh3ukAt7DAV1TcZBm2YOvyYdGo5HYrbQZkmsAecdrhHxiw7BRlqNH MjGFwtS/I+8Kpw0CXmJS9vb8drlV2plhigJ7G70AFL1L4PzihPuexQVdgvlyo1bdVR WHmE2qlLsT5Nmp1tZ7muuiSmOSauMUOZdZEYCK9s2qV8nvlXlBLn0dQp6bU+u1JUyj 0SVkT3hhg1Jc0F+cjsYc1AEVY9PbLTY76/Ef6SbuYMPwoJzsu21aTEYXCEV498Go9o W+9nfxs+L17UQ== Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-63ccbef84eeso69643446d6.3 for <kernel-team@lists.ubuntu.com>; Wed, 16 Aug 2023 15:14:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692224084; x=1692828884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0xWoz4HBydy1yla66y/Pi6BJ1srqyHAKBqCMB1D+pfc=; b=K3+AxgjXJlWbzvJ36rZohjXEVyNdaJDVSwFSCdPqK8LFQu8RWebzx/OvLo2ToQaBp+ NgWYPr2PpGiHLogd63Ub4MTq2yqcNo6dyUV67vUW1yfNQ0/VQHR7YXKNY6+S23pClNrx hM+HhgAtFR+KY3n1hB4jiNBJfv1hfsyztkkI3RQUKyasV9P1yUR/C2v5ebtyFzqadzeo NYVhngKdDqOo05i+plfkSbQEKXYUDzoxtE24SCo6rYw0QQOo5Cs9hawjW2qHSt/hYURo OVOtdBJv/dd3wBEwPds4JJCKDUwiKurhfwu3TLK82x3Tc9axbbGLMC85hBckmA6NPhGx cA5w== X-Gm-Message-State: AOJu0YyXrgTvxSA6m8WTnRxWooYchiQ8jwKnZIP7RJWK8Y7fLeaBN6IV jNP0uv2RazOn36RaTgHXmXqX0WGGIF4bggUkCqQugE2k6cnJxHSqRzC5hhVZGpcjwnR07+PdO3a NNoaOpz0o5TvH21fKSpYqNhRcqKLFs8OdZbVxDCy3Qsy0gAegAw== X-Received: by 2002:a0c:e1c9:0:b0:641:8d17:96fd with SMTP id v9-20020a0ce1c9000000b006418d1796fdmr2815398qvl.41.1692224083824; Wed, 16 Aug 2023 15:14:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6cOlKXGAXzW6AxRDwO8wFESxQWvWkcxSm10grJnKPfuETxhQNRSQc8eA3JMcK2GX52NUsXA== X-Received: by 2002:a0c:e1c9:0:b0:641:8d17:96fd with SMTP id v9-20020a0ce1c9000000b006418d1796fdmr2815384qvl.41.1692224083470; Wed, 16 Aug 2023 15:14:43 -0700 (PDT) Received: from cache-ubuntu.hsd1.nj.comcast.net ([2601:86:200:98b0:f97b:a3de:4e96:951c]) by smtp.gmail.com with ESMTPSA id r2-20020a0cb282000000b00637abbfaac9sm5240500qve.98.2023.08.16.15.14.42 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 15:14:42 -0700 (PDT) From: Yuxuan Luo <yuxuan.luo@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][Focal/Jammy/Lunar][PATCH 2/3] net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free Date: Wed, 16 Aug 2023 18:14:30 -0400 Message-Id: <20230816221431.39612-3-yuxuan.luo@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230816221431.39612-1-yuxuan.luo@canonical.com> References: <20230816221431.39612-1-yuxuan.luo@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
CVE-2023-4128
|
expand
|
diff --git a/net/sched/cls_fw.c b/net/sched/cls_fw.c index 8641f80593179..c49d6af0e0480 100644 --- a/net/sched/cls_fw.c +++ b/net/sched/cls_fw.c @@ -267,7 +267,6 @@ static int fw_change(struct net *net, struct sk_buff *in_skb, return -ENOBUFS; fnew->id = f->id; - fnew->res = f->res; fnew->ifindex = f->ifindex; fnew->tp = f->tp;