Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2224250/?format=api
{ "id": 2224250, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2224250/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-um/patch/20260417073704.1817-1-pengpeng@iscas.ac.cn/", "project": { "id": 60, "url": "http://patchwork.ozlabs.org/api/1.2/projects/60/?format=api", "name": "User-mode Linux Development", "link_name": "linux-um", "list_id": "linux-um.lists.infradead.org", "list_email": "linux-um@lists.infradead.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260417073704.1817-1-pengpeng@iscas.ac.cn>", "list_archive_url": null, "date": "2026-04-17T07:37:04", "name": "um: vector: reject interface specifications with too many arguments", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "bf716939aa1d8d7b7ab04d33fba3145a36fa7729", "submitter": { "id": 93000, "url": "http://patchwork.ozlabs.org/api/1.2/people/93000/?format=api", "name": "Pengpeng Hou", "email": "pengpeng@iscas.ac.cn" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-um/patch/20260417073704.1817-1-pengpeng@iscas.ac.cn/mbox/", "series": [ { "id": 500253, "url": "http://patchwork.ozlabs.org/api/1.2/series/500253/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-um/list/?series=500253", "date": "2026-04-17T07:37:04", "name": "um: vector: reject interface specifications with too many arguments", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500253/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2224250/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2224250/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=NzBxf97r;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=temperror (SPF Temporary Error: DNS Timeout)\n smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133;\n helo=bombadil.infradead.org;\n envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fxmv508csz1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 17:37:21 +1000 (AEST)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wDdlJ-00000003bni-2c7K;\n\tFri, 17 Apr 2026 07:37:13 +0000", "from smtp25.cstnet.cn ([159.226.251.25] helo=cstnet.cn)\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wDdlF-00000003blq-3pSr\n\tfor linux-um@lists.infradead.org;\n\tFri, 17 Apr 2026 07:37:11 +0000", "from localhost.localdomain (unknown [111.196.245.116])\n\tby APP-05 (Coremail) with SMTP id zQCowADndwsi4+Fpg_PXDQ--.78S2;\n\tFri, 17 Apr 2026 15:37:06 +0800 (CST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help\n\t:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding:\n\tMIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type:\n\tContent-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:\n\tResent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner;\n\tbh=7vdHnEyb1fD9r2mCCkttgb+9H3gpnpt2zBEX+XuGA9A=; b=NzBxf97reRn7+ksYDuXo5awdkV\n\tyGZUNFzhFDxJ91oVuDkEeyNaRjah6zcGDKZibT5iEJug2mpjxzKexEG+IDGuEQSGJI3TXZ8yzif4l\n\t2mIo9rPMh6K0IggvI/BmjY4GJbvoHEHROZZVyggmUtJoOwG+84sSIjebPFl8Ewof+g0TuRerZ3KXG\n\tPzjRhmOHRYzXlsJLH+q91vLOYlL+12nUlKjt1ZOOlz/8WkJ2/P/a3almHLZMlt4MHqsLSXYSZzlrk\n\tfZhsImwBhouOTWFB/WJHigoWv3f6sXol2dzlI5r9xS5WmIEQPmzgG8ZRhrEhMlD2BeH7zkQ7C/K8T\n\tIWC6Ak+g==;", "From": "Pengpeng Hou <pengpeng@iscas.ac.cn>", "To": "Richard Weinberger <richard@nod.at>,\n\tAnton Ivanov <anton.ivanov@cambridgegreys.com>", "Cc": "Johannes Berg <johannes@sipsolutions.net>,\n\tlinux-um@lists.infradead.org,\n\tlinux-kernel@vger.kernel.org,\n\tPengpeng Hou <pengpeng@iscas.ac.cn>", "Subject": "[PATCH] um: vector: reject interface specifications with too many\n arguments", "Date": "Fri, 17 Apr 2026 15:37:04 +0800", "Message-ID": "<20260417073704.1817-1-pengpeng@iscas.ac.cn>", "X-Mailer": "git-send-email 2.50.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-CM-TRANSID": "zQCowADndwsi4+Fpg_PXDQ--.78S2", "X-Coremail-Antispam": "1UD129KBjvdXoWrZrWxXw13Aw4kKFWkAw17GFg_yoWkWFg_Cw\n\t1DXanrGF1a9r4DCwn8Kr1rC3yFvFyDWr1UurW0yr9xuws3ZrsxAr40yF1fXw1xXFW7Xrs8\n\tKr9rG34Fvr4SkjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT\n\t9fnUUIcSsGvfJTRUUUb4AFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2IYs7xG\n\t6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w\n\tA2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j\n\t6F4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oV\n\tCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0\n\tI7IYx2IY67AKxVWUAVWUtwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r\n\t4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCY1x0262kKe7AKxVWU\n\tAVWUtwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14\n\tv26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkG\n\tc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUCVW8JwCI42IY6xIIjxv20xvEc7CjxVAFwI\n\t0_Cr0_Gr1UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JVWx\n\tJwCI42IY6I8E87Iv6xkF7I0E14v26r4UJVWxJrUvcSsGvfC2KfnxnUUI43ZEXa7VUj2YLD\n\tUUUUU==", "X-Originating-IP": "[111.196.245.116]", "X-CM-SenderInfo": "pshqw1xhqjqxpvfd2hldfou0/", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20260417_003710_326845_7AD3F23F ", "X-CRM114-Status": "UNSURE ( 8.87 )", "X-CRM114-Notice": "Please train this message.", "X-Spam-Score": "-1.9 (-)", "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam. The original\n message has been attached to this so you can view it or label\n similar future email. If you have any questions, see\n the administrator of that system for details.\n Content preview: uml_parse_vector_ifspec() stores parsed key/value pairs in\n the fixed struct arglist token and value arrays, which are both sized to\n MAXVARGS. The parser increments numargs as it discovers pairs, but i [...] \n Content analysis details: (-1.9 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no\n trust\n [159.226.251.25 listed in list.dnswl.org]\n 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n Validity was blocked. See\n https://knowledge.validity.com/hc/en-us/articles/20961730681243\n for more information.\n [159.226.251.25 listed in sa-accredit.habeas.com]\n 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The\n query to Validity was blocked. See\n https://knowledge.validity.com/hc/en-us/articles/20961730681243\n for more information.\n [159.226.251.25 listed in\n sa-trusted.bondedsender.org]\n -0.0 SPF_PASS SPF: sender matches SPF record\n -0.0 SPF_HELO_PASS SPF: HELO matches SPF record\n -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n [score: 0.0000]\n 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n Validity was blocked. See\n https://knowledge.validity.com/hc/en-us/articles/20961730681243\n for more information.\n [159.226.251.25 listed in\n bl.score.senderscore.com]", "X-BeenThere": "linux-um@lists.infradead.org", "X-Mailman-Version": "2.1.34", "Precedence": "list", "List-Id": "<linux-um.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-um/>", "List-Post": "<mailto:linux-um@lists.infradead.org>", "List-Help": "<mailto:linux-um-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=subscribe>", "Sender": "\"linux-um\" <linux-um-bounces@lists.infradead.org>", "Errors-To": "linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "uml_parse_vector_ifspec() stores parsed key/value pairs in the fixed\nstruct arglist token and value arrays, which are both sized to MAXVARGS.\nThe parser increments numargs as it discovers pairs, but it never checks\nwhether another slot is still available before writing into the arrays.\n\nReject interface specifications that exceed MAXVARGS instead of writing\npast the end of the fixed argument arrays.\n\nFixes: 49da7e64f33e (\"High Performance UML Vector Network Driver\")\n\nSigned-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>\n---\n arch/um/drivers/vector_user.c | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c\nindex 2ea67e6fd067..3bee634f2102 100644\n--- a/arch/um/drivers/vector_user.c\n+++ b/arch/um/drivers/vector_user.c\n@@ -93,6 +93,9 @@ struct arglist *uml_parse_vector_ifspec(char *arg)\n \tlen = strlen(arg);\n \tfor (pos = 0; pos < len; pos++) {\n \t\tif (next_starts) {\n+\t\t\tif (result->numargs >= MAXVARGS)\n+\t\t\t\tgoto cleanup;\n+\n \t\t\tif (parsing_token) {\n \t\t\t\tresult->tokens[result->numargs] = arg + pos;\n \t\t\t} else {\n", "prefixes": [] }