Message ID | 20230816221330.39367-2-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=b5dw2LOh; 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 4RR2Tr1HPlz20G4 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 1qWOlo-0001Uf-SL; Wed, 16 Aug 2023 22:13:40 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.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 1qWOll-0001Tb-Os for kernel-team@lists.ubuntu.com; Wed, 16 Aug 2023 22:13:37 +0000 Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) (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-1.canonical.com (Postfix) with ESMTPS id 9BDA83F03D for <kernel-team@lists.ubuntu.com>; Wed, 16 Aug 2023 22:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1692224017; bh=qRjHcnYIJYMkPAnyx/LVsGtOwG0S6xx9j5iS0oIxzjY=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=b5dw2LOhNDAg+iD1z7ZRyctEXZqrC1P3ZoEiG6XbXKZKNrwy0Ux6Gw5NE86ddcg2G qwvKJCFSdv52PIO111q53274HvH09oskuGdak7Hw9IXHnPy5YkQP5H0pvT9pQHOrV5 Be66QZYdppjKcY+8hWmiwBcnGpUsxRXKURaMAfrAnDAoeOwkwks98UQwFk4vqTE1Nu 9DoTpe1Jd5+2HXR94NNoFS9LDpwT74dbMmnzcwgj5Yt7mWX8nDKNSz3rzvv+VQVheY asnbu1Bpdq0cV/sUBJI7wmIlCc7C+6L+Z7a98Rg3SlgVH1dyLpWOTDz2h129I/9/uJ OEvlk65vtbahQ== Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-4100bd13cb5so98171001cf.0 for <kernel-team@lists.ubuntu.com>; Wed, 16 Aug 2023 15:13:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692224016; x=1692828816; 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=qRjHcnYIJYMkPAnyx/LVsGtOwG0S6xx9j5iS0oIxzjY=; b=B5xXGbeaDHOAbH1zhSfs7dKqxOiPCobo2CFIjr7S0DbkfTU7DoQDjS25+RGMZmi3hP EFuzPQbUVfKPwLx+aATo1Y/QobtDZYjkILNOJuX/oc5uPXM1Z67cX9bbcXrLiao8SWLG n0AfUckiCBCk/LqXDdtsBkfUmRz0CbM1z6WEEW2eHktBWCOE6KogsiRIH0M5j5fWeNTB 4/JxmFE8zzZy3rCHJ91y2dfl0GznxLKk0bjIgNy2y5/gu+l4K7Z+hphGcD5EkJ7jr/HA Tt3uu56nyNMXoXHRhWF43g2vAYTufkfri+THdtgZlPsre0ZNkTfBbTVdrL5VeHRiPWhS bBug== X-Gm-Message-State: AOJu0YwVdMeZyfb4HPzgSygkkXebWDoRFI0RjZKTzFgws/IGOzI1Be4x Dnf3yhC+sI+q1mF3Q31OhitZg97YYpSbV3fGlsUddsrdVidNdSY5k2CDLITJYS70TcmVBtRHtwc R15ngZ0cuS0A6qaWUxJhSqN7gjFCYTcr/VELXlQIkVsOMKd7J9Q== X-Received: by 2002:a05:622a:34c:b0:406:9531:f894 with SMTP id r12-20020a05622a034c00b004069531f894mr3873071qtw.54.1692224016401; Wed, 16 Aug 2023 15:13:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPSGEuVMrHXrwCZqby82vIxe4QnWrRtXWZ7ph8Da0uBCATmM2LCpg6UiOHEwTOHUOLLvIwIg== X-Received: by 2002:a05:622a:34c:b0:406:9531:f894 with SMTP id r12-20020a05622a034c00b004069531f894mr3873053qtw.54.1692224016100; Wed, 16 Aug 2023 15:13:36 -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.35 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 15:13:35 -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 1/3] net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free Date: Wed, 16 Aug 2023 18:13:28 -0400 Message-Id: <20230816221330.39367-2-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_u32.c b/net/sched/cls_u32.c index d15d50de79802..d830ff3da9b8d 100644 --- a/net/sched/cls_u32.c +++ b/net/sched/cls_u32.c @@ -815,7 +815,6 @@ static struct tc_u_knode *u32_init_knode(struct net *net, struct tcf_proto *tp, new->ifindex = n->ifindex; new->fshift = n->fshift; - new->res = n->res; new->flags = n->flags; RCU_INIT_POINTER(new->ht_down, ht);