{"id":2220604,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2220604/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/cover/20260407163121.480871-1-vinicius.peixoto@canonical.com/","project":{"id":15,"url":"http://patchwork.ozlabs.org/api/1.1/projects/15/?format=json","name":"Ubuntu Kernel","link_name":"ubuntu-kernel","list_id":"kernel-team.lists.ubuntu.com","list_email":"kernel-team@lists.ubuntu.com","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260407163121.480871-1-vinicius.peixoto@canonical.com>","date":"2026-04-07T16:31:19","name":"[SRU,Q/N:linux-azure,v2,0/1] azure: backport \"net: hv_netvsc: reject RSS hash key programming without RX indirection table\"","submitter":{"id":88880,"url":"http://patchwork.ozlabs.org/api/1.1/people/88880/?format=json","name":"Vinicius Peixoto","email":"vinicius.peixoto@canonical.com"},"mbox":"http://patchwork.ozlabs.org/project/ubuntu-kernel/cover/20260407163121.480871-1-vinicius.peixoto@canonical.com/mbox/","series":[{"id":499001,"url":"http://patchwork.ozlabs.org/api/1.1/series/499001/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=499001","date":"2026-04-07T16:31:21","name":"azure: backport \"net: hv_netvsc: reject RSS hash key programming without RX indirection table\"","version":2,"mbox":"http://patchwork.ozlabs.org/series/499001/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2220604/comments/","headers":{"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;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=lcYxRncE;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fqsCh1cLnz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 02:31:43 +1000 (AEST)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wA9Ks-0003qb-9z; Tue, 07 Apr 2026 16:31:30 +0000","from smtp-relay-internal-0.internal ([10.131.114.225]\n helo=smtp-relay-internal-0.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <vinicius.peixoto@canonical.com>)\n id 1wA9Kq-0003qP-Vq\n for kernel-team@lists.ubuntu.com; Tue, 07 Apr 2026 16:31:29 +0000","from mail-dy1-f199.google.com (mail-dy1-f199.google.com\n [74.125.82.199])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id C65973F27F\n for <kernel-team@lists.ubuntu.com>; Tue,  7 Apr 2026 16:31:28 +0000 (UTC)","by mail-dy1-f199.google.com with SMTP id\n 5a478bee46e88-2ba8013a9e3so6220066eec.0\n for <kernel-team@lists.ubuntu.com>; Tue, 07 Apr 2026 09:31:28 -0700 (PDT)","from canonical.com ([2804:7f0:3f4:3d97:4277:b337:4d81:5e8b])\n by smtp.gmail.com with UTF8SMTPSA id\n 5a478bee46e88-2ca78df5ed3sm16800610eec.6.2026.04.07.09.31.25\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 07 Apr 2026 09:31:26 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1775579488;\n bh=4Vb9XGApt1HIA3f6RkCpusmYVvNScb53xzFfc1AFq/Y=;\n h=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=lcYxRncEouHLBgLkNaE/Xnt3EnZ0n4C92qWDKisLw1TabHFv+DzBsmFfvhxzwtjYt\n gtNqMZyh5fHiFIhuZ46CBfzGWwjyycwsnMwyUzLofcC9TlKFC8I9Mm3j5C0OTs/UXx\n qzpfLoO3GjPO+1ru7yUEj/j/C2d3fWkvVeMB55EnaIBk+Xzcu3r0fOpmQDivWgHw3q\n RqUGeV5DhX666PwYfRBeoTPndbbJlEiNrmGXrRqutYSPL2VvDp21ZtQQnwluTf9q48\n ffV+ZYaXjtKgDWZxHWDYp6ySRorNFtJBBPUB5pyuV34xmJEEV7KZ6dlqUx5Sha/W9O\n k5dsuUR9WytZSnYS64Y8imSLhgMH88zwh+KugEAY0bFMFizastHojvnm88tXfsXHXl\n pKslF+WbwDmrEjr+SlaDqtD2uCRtE7iEGk+QH3yyVxmHBiXx/oWvXnr7tYMlfRmkcg\n BALsgtlURgt/t+gomvBceEvvEDcTdsekO4TUUbNbE+LFoLz7EKll9ecPb9GRURUHTj\n 8NfP/wYtEJdU6uKY5rcfs1JUIHnvrHAYtZFnp+FCZEPcZzLr8wgaiS8VNE90Xg3dli\n xd9mHJIR/Y+EkQi5H9RlP8FPhyEPeIZ3sIHi/mCMPo+Hhk2PSN9/2pwkrGQvrfr51Q\n qtlhbwEy/Y4CZYtAmdU7/f2o=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775579487; x=1776184287;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=4Vb9XGApt1HIA3f6RkCpusmYVvNScb53xzFfc1AFq/Y=;\n b=BaQILK21X/g+jKDxonxw8/UZ6b7RiJhB0uhRGaMgyk+JKBlkwHE7n4/xTd94WctZ0b\n EY2S8qiaYooZ+eJN6Eie1PUuFDPxfY7HeBmA6nK+bHK+NhRGnkODU2iuztsxCH10osle\n X8Pa+vB2wQ+z7iI4bF1eND3HD86Lsz53bBy7N7WmqpNsuju5V/6qzcMZ7fJAXB1phKVQ\n nINfN0t8/Z8bSVcDsZ//oIjFcAZwZx5CAjTfhXPCkBGx8dUiWKItb5nzDAnIYs8pzbc9\n N/t+srR+LUElrFonoxE7zyCD3gAOrRA85vYnHtVqwmigf1nnTDiWokg4UZQgduP63HY5\n dvNg==","X-Gm-Message-State":"AOJu0YxZh97ARYAcjScCLzh88aMBvTqVsKjO/I+XA68fdr6Hmhd3PRl7\n qI4v6mD09x85dV+KDrQWgvsYcVSN3N/6I7jxKjgmv0Ut5K12jFziYlGA5W9cutGxz0K8nfroY36\n M23j0kfm+IWZ+dumVWss0Tl8wnaD3bqo3o67FYLdAL1QEQ03fNLJGm+RWWbYca2SJluw3Wy1wHG\n SMehUjauWW4AgZgJFm","X-Gm-Gg":"AeBDievYGBdvLveY09JSKsMk1orQP8VI3WIaCjYZW9D3Px5eZGuYmrqo2qUkNW6CZmG\n s80itdAAG0yS/qsUPUs51YjKChxhaEsOA4WW4+++vFIl+CEn/6sBt7FPmhlATOPjJzojRBkbOPh\n PzXCGnZXngUeBUdxu7GkBoeimo670zHq+OsQGBEYmUzsCBt6Hjdkre2YAYsB7hIBFvv53jCsVW3\n FBYyndfW6QnOSMngez07RLJy6kbxGZLqCV/8Uj1HSjCIuTwQN39uJeS4whdcD7zqZyUeAypT2sT\n JZ83m//aWBarnwPzKUUKcsU7tfRNGddFUWMW4iKTcHk59pumPAufzRXGWY0ohoPIFA/228YfZ5U\n z0qNH7P/zQnVWpsndhqntCJs/L+vI0AXMxpJ33/I=","X-Received":["by 2002:a05:7300:fd05:b0:2c8:717:7ec7 with SMTP id\n 5a478bee46e88-2cbfb4a5aa8mr9586167eec.20.1775579487019;\n Tue, 07 Apr 2026 09:31:27 -0700 (PDT)","by 2002:a05:7300:fd05:b0:2c8:717:7ec7 with SMTP id\n 5a478bee46e88-2cbfb4a5aa8mr9586144eec.20.1775579486389;\n Tue, 07 Apr 2026 09:31:26 -0700 (PDT)"],"From":"Vinicius Peixoto <vinicius.peixoto@canonical.com>","To":"kernel-team@lists.ubuntu.com","Subject":"[SRU][Q/N:linux-azure][PATCH v2 0/1] azure: backport \"net: hv_netvsc:\n reject RSS hash key programming without RX indirection table\"","Date":"Tue,  7 Apr 2026 13:31:19 -0300","Message-ID":"<20260407163121.480871-1-vinicius.peixoto@canonical.com>","X-Mailer":"git-send-email 2.51.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 <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <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>,\n <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>"},"content":"BugLink: https://bugs.launchpad.net/bugs/2142703\n\n[Impact]\n\nRSS configuration requires a valid RX indirection table. However, if the\nnetwork device reports only a single RX queue, an indirection table will\nnot be allocated. hv_netvsc currently does not check for this and\nattempting to set the RSS hash key will hang VMs on Azure.\n\n[Fix]\n\nBackport the following fix:\n\nd23564955811 (\"net: hv_netvsc: reject RSS hash key programming without RX indirection table\")\n\n[Test plan]\n\nBuild tested only; Azure will run reproducers on their side to validate the fix.\n\n[Where problems could occur]\n\nThis is small, self-contained and has no side effects, but will change\nthe behavior of the hv_netvsc module upon an invalid RSS hash key update\noperation, which could cause issues related to network packet reception\nfor machines with multiple receive queues on Azure.\n\n[Other info]\nSF #00427202\n\n[Changelog]\nv1 -> v2: remove Jammy from the patchset since in that kernel the\nrx_table within struct net_device_context is statically allocated and\naccessing it inside netvsc_set_rxfh() will not cause a null pointer\ndereference.\n\nAditya Garg (1):\n  net: hv_netvsc: reject RSS hash key programming without RX indirection\n    table\n\n drivers/net/hyperv/netvsc_drv.c | 3 +++\n 1 file changed, 3 insertions(+)"}