From patchwork Fri Oct 4 12:44:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Massimiliano Pellizzer X-Patchwork-Id: 1992719 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=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (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 4XKpDJ0gzZz1xtH for ; Fri, 4 Oct 2024 22:45:19 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1swhgE-0002iq-Ol; Fri, 04 Oct 2024 12:45:10 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1swhgD-0002ic-Ll for kernel-team@lists.ubuntu.com; Fri, 04 Oct 2024 12:45:09 +0000 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (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 6D7533F277 for ; Fri, 4 Oct 2024 12:45:09 +0000 (UTC) Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-42cb89fbb8bso12344475e9.3 for ; Fri, 04 Oct 2024 05:45:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728045909; x=1728650709; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=d+GmfsTJHVPD34CHRuND6nuKOR1hEnqIpMp+OXvmGhw=; b=fRP3VcCvzg2tJBcEObvuJ4fTyd7SJYTygH1t6UzLdJsdIp94OWNArE+cjDHYmLqIdN /w7eIOqWE7qpeN5ps+E7QDEosfbYreZGPPFKn/9UOTE5P25meTRO0Yf2Uf55fTSuYhsx u7QDanAxo9GlR/3IJiUcwgawiZBESn0dlYt1bOrSkYFVhUWzap55Df8x3A9WHyVXT+FM QZMXLizIFaF45VweUgaPYs9uMhu1DBT+LuXqrWndlgntv1lxJyUhxEDojjKJkPQh0CYx 9virdfk4lwbH9Zv8zpjxPvaNtbRV/qwv0dWtylu1Fvsp7ewNm49ABZcZqQUe/u10J9jU oT3g== X-Gm-Message-State: AOJu0Yw/uNyiB4OyO3IfDKIeF7gP0Jm4TovExAlTnC3f0TT8V/Vf6DQa 9zpJWlBpWAsmyZ0TQxbrJ7vN0bQ0IvshtDI6whx1SW8+814lSAwt4buYY/b+nbOm5FA3tcPdd5Y p+/rNtJpgWCin3VMj8t1OVaHu9DWxhdxlXxM29jlCjzn+9v+DBUqmCJ9pK9uVoZ16RZGSo/JbDb RkP8FRki/kSQ== X-Received: by 2002:a5d:4447:0:b0:37c:fd43:fbc8 with SMTP id ffacd0b85a97d-37d0eb0b3b5mr1613880f8f.51.1728045908876; Fri, 04 Oct 2024 05:45:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkPgJoX8Lh/wdSS6SpYz7BGmYEjfVKTdtNpgzUpUlKL1CBkDvx43lRDea6S0crFulVR8oeGA== X-Received: by 2002:a5d:4447:0:b0:37c:fd43:fbc8 with SMTP id ffacd0b85a97d-37d0eb0b3b5mr1613867f8f.51.1728045908453; Fri, 04 Oct 2024 05:45:08 -0700 (PDT) Received: from localhost.localdomain (net-93-71-67-9.cust.vodafonedsl.it. [93.71.67.9]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082163c4sm3184935f8f.33.2024.10.04.05.45.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 05:45:08 -0700 (PDT) From: Massimiliano Pellizzer To: kernel-team@lists.ubuntu.com Subject: [SRU][J][PATCH 0/1] CVE-2023-52532 Date: Fri, 4 Oct 2024 14:44:11 +0200 Message-ID: <20241004124432.36810-1-massimiliano.pellizzer@canonical.com> X-Mailer: git-send-email 2.43.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] net: mana: Fix TX CQE error handling For an unknown TX CQE error type (probably from a newer hardware), still free the SKB, update the queue tail, etc., otherwise the accounting will be wrong. Also, TX errors can be triggered by injecting corrupted packets, so replace the WARN_ONCE to ratelimited error logging. [Fix] Noble: Not affected Jammy: Cherry picked from linux-6.1.y Focal: Not affected Bionic: Not affected Xenial: Not affected [Test Case] Compile tested only. [Where problems could occur] The fix affects the MANA network driver. A bug in the patch could result in trasmission failures or network interface instability, potentially affecting network performance and leading to disrupted connectivity or complete loss of network services for users relying on the Azure network adapter. Haiyang Zhang (1): net: mana: Fix TX CQE error handling drivers/net/ethernet/microsoft/mana/mana_en.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-)