Message ID | 20230816221330.39367-4-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=QGEkAdmq; 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 4RR2Tr19ywz1yfk for <incoming@patchwork.ozlabs.org>; Thu, 17 Aug 2023 08:13:50 +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 1qWOlq-0001V5-2u; Wed, 16 Aug 2023 22:13:42 +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 1qWOlo-0001US-4b for kernel-team@lists.ubuntu.com; Wed, 16 Aug 2023 22:13:40 +0000 Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) (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 E736E3F314 for <kernel-team@lists.ubuntu.com>; Wed, 16 Aug 2023 22:13:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1692224019; bh=zu6lyW62ytnW2KsHwiAULk24sGge1dZYsCpSfa/ocac=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QGEkAdmqj8qhklgks+TCZTHzoEjdcB/s1KHSDCyaogeGV7kTNeQqpPeKXkql+fdjB KvbEU45sHUOFwQ9lLMTvMKqur1sfhwJpAsogI6d3RklYR6DhHQCTBXWPmMX4r10n7/ MgBexuM6/Hv6yfD8P8zwwxz5OdZFEhuRTDC9veP1ffU3zQ9mRlFnpS6v2th7XDmQRe D5TU3VaogzpCbQ0iqLq+7M7ckV6ZH4ESJ3QQM3ra20QfLIM1cI54RyLMWgOzxfxPrZ a5T13q+x39t5A53eiozQT52I/KReSo5ORZb6zX2ZNCVnTl0iqLf0QoRF0TY6JIF0Ei N9Z0/W8QnoWgg== Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-4103b75e1baso75367091cf.1 for <kernel-team@lists.ubuntu.com>; Wed, 16 Aug 2023 15:13:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692224018; x=1692828818; 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=zu6lyW62ytnW2KsHwiAULk24sGge1dZYsCpSfa/ocac=; b=PcQUEOvu28P8+eqopAaMwEcf1c5Ulk+bZGPVMyDWntfcOS5vP2wuq4Li4svoGY6T+8 PLHD4ax30IGN89I4u5J9usIbCe83AkDJPfX3/fdWWCwiFOiMGhG+sgqNK61hXFeZKvIN WT62qg16E+2qeHnDgS3VpJwm5r6+OqpjUVnq8EGhVlyTb15vj/w7T/BIiDzzQIFmGEEO 52C2wuFQOXTMTpcmR7KNTHs6G99puZmDQAF59ZM82/jrfs6J0oGfwz2YTQx/VeBfCDVY 4sBPQCjyCXcs6BUz9jKf107Ge10Cm8oIxANF4c/5aSg411YB6+Vdiibr7BiFa4sDA+4I uUBw== X-Gm-Message-State: AOJu0Yy0YXKWZGl9H6n6oUKfG6xGSxsZuB6Sw87oBQC21dDkm7Lpeu8H tq+bcPlcghadS9i2ihxXg/JLNjhJRFlIxfGkzh5e0beViYgkmucSdE3hZoyxNcTv1vUEAup5TyH 7C2ICL2Fg3QslBmvKrPcM4IX8SNcSAKLH/THKfE1VV+vOHjaPsA== X-Received: by 2002:a05:622a:393:b0:403:edb0:65c5 with SMTP id j19-20020a05622a039300b00403edb065c5mr3908092qtx.68.1692224018690; Wed, 16 Aug 2023 15:13:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHhLf1QwwwDRBpk1g5Cnon0lCOaeWng4AZVKsIq2EfRh1utFyr3qtKQxH1xjZJhuhY8YyBn6g== X-Received: by 2002:a05:622a:393:b0:403:edb0:65c5 with SMTP id j19-20020a05622a039300b00403edb065c5mr3908079qtx.68.1692224018427; Wed, 16 Aug 2023 15:13:38 -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 jj6-20020a05622a740600b0040c72cae9f9sm4701352qtb.93.2023.08.16.15.13.37 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 15:13:37 -0700 (PDT) From: Yuxuan Luo <yuxuan.luo@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][Jammy-OEM-6.0/OEM-6.1][PATCH 3/3] net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free Date: Wed, 16 Aug 2023 18:13:30 -0400 Message-Id: <20230816221330.39367-4-yuxuan.luo@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230816221330.39367-1-yuxuan.luo@canonical.com> References: <20230816221330.39367-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_route.c b/net/sched/cls_route.c index d0c53724d3e86..1e20bbd687f1d 100644 --- a/net/sched/cls_route.c +++ b/net/sched/cls_route.c @@ -513,7 +513,6 @@ static int route4_change(struct net *net, struct sk_buff *in_skb, if (fold) { f->id = fold->id; f->iif = fold->iif; - f->res = fold->res; f->handle = fold->handle; f->tp = fold->tp;