[{"id":3681039,"web_url":"http://patchwork.ozlabs.org/comment/3681039/","msgid":"<20260422214507.0078c8ba@pumpkin>","list_archive_url":null,"date":"2026-04-22T20:45:07","subject":"Re: [PATCH] um: proc/exitcode: fix simple_strtol() out-of-bounds\n read","submitter":{"id":89989,"url":"http://patchwork.ozlabs.org/api/people/89989/","name":"David Laight","email":"david.laight.linux@gmail.com"},"content":"On Thu, 23 Apr 2026 01:39:25 +0800\n\"Shengzhuo Wei\" <me@cherr.cc> wrote:\n\n> The stack buffer 'buf' is declared as char[sizeof(\"nnnnn\\0\")] (7 bytes)\n> and the copy size is min(count, sizeof(buf)).  When a user writes 7 or\n> more bytes, copy_from_user fills all 7 bytes without a NUL terminator.\n> The subsequent call to simple_strtol() expects a NUL-terminated string\n> and will read past the end of buf on the stack.\n\nYou should probably also mention that write(, \"123\", 3) will lead to\nbuf[3] being read - which is uninitialised stack.\n\n\tDavid\n\n> \n> write(2) should report the number of bytes consumed. Returning the original\n> count would claim success even when the input was truncated, so userspace\n> cannot detect it.\n> \n> Clamp the copy length to sizeof(buf)-1, add a terminator, and return the\n> consumed length.\n> \n> Fixes: 201f99f170df (\"uml: check length in exitcode_proc_write()\")\n> Fixes: e16f5350d4cf (\"uml: get declaration of simple_strtoul\")\n> Signed-off-by: Shengzhuo Wei <me@cherr.cc>\n> ---\n>  arch/um/kernel/exitcode.c | 5 +++--\n>  1 file changed, 3 insertions(+), 2 deletions(-)\n> \n> diff --git a/arch/um/kernel/exitcode.c b/arch/um/kernel/exitcode.c\n> index 43edc2aa57e4fbd4a3d24f96878c76f9f8fd4eaa..8de404ff21a213918c5351bc20a6e047bf1b93f5 100644\n> --- a/arch/um/kernel/exitcode.c\n> +++ b/arch/um/kernel/exitcode.c\n> @@ -43,16 +43,17 @@ static ssize_t exitcode_proc_write(struct file *file,\n>  \tsize_t size;\n>  \tint tmp;\n>  \n> -\tsize = min(count, sizeof(buf));\n> +\tsize = min(count, sizeof(buf) - 1);\n>  \tif (copy_from_user(buf, buffer, size))\n>  \t\treturn -EFAULT;\n> +\tbuf[size] = '\\0';\n>  \n>  \ttmp = simple_strtol(buf, &end, 0);\n>  \tif ((*end != '\\0') && !isspace(*end))\n>  \t\treturn -EINVAL;\n>  \n>  \tuml_exitcode = tmp;\n> -\treturn count;\n> +\treturn size;\n>  }\n>  \n>  static const struct proc_ops exitcode_proc_ops = {\n> \n> ---\n> base-commit: 6596a02b207886e9e00bb0161c7fd59fea53c081\n> change-id: 20260423-fix_exitcode-908061ece624\n> \n> Best regards,","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=vJyrjuIq;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=htvqLAWO;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; 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 4g1B7V4lcTz1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 06:45: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 1wFeRd-0000000AjWn-24hc;\n\tWed, 22 Apr 2026 20:45:13 +0000","from mail-wm1-x329.google.com ([2a00:1450:4864:20::329])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wFeRb-0000000AjWM-2o31\n\tfor linux-um@lists.infradead.org;\n\tWed, 22 Apr 2026 20:45:12 +0000","by mail-wm1-x329.google.com with SMTP id\n 5b1f17b1804b1-488b8bc6bc9so42078145e9.3\n        for <linux-um@lists.infradead.org>;\n Wed, 22 Apr 2026 13:45:10 -0700 (PDT)","from pumpkin (82-69-66-36.dsl.in-addr.zen.co.uk. [82.69.66.36])\n        by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-488fb7c0eacsm148798195e9.35.2026.04.22.13.45.08\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 22 Apr 2026 13:45:08 -0700 (PDT)"],"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\tContent-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:\n\tFrom:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;\n\tbh=WGmQa96Hwu5AyuQmms3tFUQ1vq0rZ84zqi0RkPO23JY=; b=vJyrjuIqh93CLAozcy665xGlmV\n\tZOHAA7SheMkGbgtOEZvQZOaqkfehkINEJYj3+pDfbjIj5rt5A2DylSwoatq120ZwV1JGjCuBeUPEJ\n\tKd4F1U/Dyup5+J1+IKc4p+30migKclcQPDeeNBtU4Y8G/dT5hixFzUBne8QC6yjCfnT/N+qeb6G++\n\t8xZ59Nds73A2n0jAQSU5eu3c+PYtd5LgYcPMGdmqEFTnJHkyIqnwZlOcRxB0X2+q+LPQHjTqdY4/f\n\tJV8VnIGf8ABjr5bQXeph+RfKnhxBP8h5YXkBmMKhllaCAELmT3Pj8PQ6pnD6m9+mkqTNiZH1TeODc\n\tTAO3+BtA==;","v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1776890709; x=1777495509;\n darn=lists.infradead.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:subject:cc:to:from:date:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=WGmQa96Hwu5AyuQmms3tFUQ1vq0rZ84zqi0RkPO23JY=;\n        b=htvqLAWOjZm9BxsFdvTxbWv9KyfPCr0+zGqHLETJIovc1HO0o/t/OKVjefRNY1bJ7M\n         WAH0mb97AR8Smjq4J4KU3chxG7wBxOegbKbHbtw8kdYiZ/txGdLtCiRVIEC66PZ9Q0Qw\n         fHTaA8jOCHWKEpsEA9YBpqMIviciHIGGt3aSKknzODMGbaEgIUK3HDqrkApGvtj0gDL5\n         OBhGkrFaJkCbJHtkSF2CQJ+nih6q9ruBjxJQ9abah2THl5uAsc3ADj3j11btCFHDl3GG\n         p0wA2Rv1i8DzV62DjQtkuuOjfs58Roqev5KHxEUmWYPibXsg/cd5x7XxuIdMfDPznfLK\n         2JjQ=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1776890709; x=1777495509;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=WGmQa96Hwu5AyuQmms3tFUQ1vq0rZ84zqi0RkPO23JY=;\n        b=BP5g3TaCpT1BkkV9ez0vYG1KPuZO5P0FCKZDoODqfDIox4FKslP7d+CvcS7u66MXHB\n         3jVfrhhbrVz6443EC/gKoGXs35nssfrDQUxKvf3RPsc5THtUGDw6VXvQMp+tnRiSi4uR\n         s/xDU1wLg8xdvFj9r9rjHGt+Bc5VVN8RIFvLsirfbQxCQQ6j7HDQmlkTRcNI61He10N4\n         FSUtfzOmsNiE1V3cbw346Q3elxkTJdBP5FRP8wHCTKuCi+Pz3OsBvWd7FsujcN5z98Ss\n         5m0JwmZkaX8S+eb+cQwmBkUllQu08WSRpNw/qwu6fK8FnLyx/+d4ELo6KebTMjY2Ll6v\n         LTpQ==","X-Forwarded-Encrypted":"i=1;\n AFNElJ+QJFJkUfXzXXRxdGQcypW8161jMcRdraYFtMP5jSc3rmUFan1EQMlKgNA6klq+MgXx/rypvVJp1Q==@lists.infradead.org","X-Gm-Message-State":"AOJu0YxmMe2PMkkwODNFsvvyx/jdlUx3C06X5AmenhTt/KYaxtB+7cr8\n\tPC6l6UNm/EPEkVMlvIeeOQSJJkdjofLa1JZQ6cU2/S8q7WBTyn5Rc9hM7BWWeTZp","X-Gm-Gg":"AeBDiesI86Bm5XexiZgZof30SSqiiUb1FISHSFCLdZSdvIJya0ZE5ScjkSXdmRN/2mJ\n\thganJ3JslTgdglmYtKtyUpFAHhgIbMuCgK0VBgW1E2T+tw7fNStHlNPbj0DNchW114zsajNKpII\n\tBwThJva6PuXDB0VfGE/ouChLswSIrdpOyXe9dxzsmRLow+xaNDxbxRypourxMF3nN67Z3tkmcfl\n\t5IksdylKALp1xsC7CZwQnbMDUxDPjkosvmYTWOObFJuLeng9SJ2x3atNPUQhhgrA37qx2KxvQrZ\n\tJASdIp+sUT8cTG6+Q3/se0hqQUDTEDNGSEpdCqTOeVKYzUBCSse+48Hd3hGhSNZi86G8nXsU5e0\n\tIRDcHIu3iFloQqth2qIFgc7agOxm2iZ+1HldKf5QVnl1wsdpYJ678cIaLkX5upLjF8ESW16cCZ5\n\tQMDWwZltjHahloErkuwkn+MC+BEpeITomHF+aYwoUZTmzR7mw/6qsxNqPygEeY1I8cCPJUxOA4M\n\tuE=","X-Received":"by 2002:a05:600c:a105:b0:486:fb69:4960 with SMTP id\n 5b1f17b1804b1-488fb7786e4mr248879685e9.19.1776890708999;\n        Wed, 22 Apr 2026 13:45:08 -0700 (PDT)","Date":"Wed, 22 Apr 2026 21:45:07 +0100","From":"David Laight <david.laight.linux@gmail.com>","To":"\"Shengzhuo Wei\" <me@cherr.cc>","Cc":"\"Richard Weinberger\" <richard@nod.at>, \"Anton Ivanov\"\n <anton.ivanov@cambridgegreys.com>, \"Johannes Berg\"\n <johannes@sipsolutions.net>, \"Dan Carpenter\" <error27@gmail.com>, \"Andrew\n Morton\" <akpm@linux-foundation.org>, \"Jeff Dike\" <jdike@addtoit.com>,\n <linux-um@lists.infradead.org>, <linux-kernel@vger.kernel.org>","Subject":"Re: [PATCH] um: proc/exitcode: fix simple_strtol() out-of-bounds\n read","Message-ID":"<20260422214507.0078c8ba@pumpkin>","In-Reply-To":"<20260423-fix_exitcode-v1-1-7e4508913d68@cherr.cc>","References":"<20260423-fix_exitcode-v1-1-7e4508913d68@cherr.cc>","X-Mailer":"Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf)","MIME-Version":"1.0","Content-Type":"text/plain; charset=US-ASCII","Content-Transfer-Encoding":"7bit","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20260422_134511_786182_6BC0618A ","X-CRM114-Status":"GOOD (  22.39  )","X-Spam-Score":"-2.1 (--)","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:  On Thu, 23 Apr 2026 01:39:25 +0800 \"Shengzhuo Wei\" wrote:\n   > The stack buffer 'buf' is declared as char[sizeof(\"nnnnn\\0\")] (7 bytes)\n   > and the copy size is min(count, sizeof(buf)). When a user writes 7 or >\n   more bytes, copy_from_user fills all 7 bytes without [...]\n Content analysis details:   (-2.1 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                             [2a00:1450:4864:20:0:0:0:329 listed in]\n                             [list.dnswl.org]\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record\n -0.0 SPF_PASS               SPF: sender matches SPF record\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK\n signature\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain\n -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]\n  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail\n provider\n                             [david.laight.linux(at)gmail.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"}},{"id":3681266,"web_url":"http://patchwork.ozlabs.org/comment/3681266/","msgid":"<aemR7Ur4H9dnKQ57@pve.cherr>","list_archive_url":null,"date":"2026-04-23T03:28:45","subject":"Re: [PATCH] um: proc/exitcode: fix simple_strtol() out-of-bounds read","submitter":{"id":93227,"url":"http://patchwork.ozlabs.org/api/people/93227/","name":"Shengzhuo Wei","email":"me@cherr.cc"},"content":"On 2026-04-22 21:45, David Laight wrote:\n> On Thu, 23 Apr 2026 01:39:25 +0800\n> \"Shengzhuo Wei\" <me@cherr.cc> wrote:\n> \n> > The stack buffer 'buf' is declared as char[sizeof(\"nnnnn\\0\")] (7 bytes)\n> > and the copy size is min(count, sizeof(buf)).  When a user writes 7 or\n> > more bytes, copy_from_user fills all 7 bytes without a NUL terminator.\n> > The subsequent call to simple_strtol() expects a NUL-terminated string\n> > and will read past the end of buf on the stack.\n> \n> You should probably also mention that write(, \"123\", 3) will lead to\n> buf[3] being read - which is uninitialised stack.\n> \n> \tDavid\n\nThanks for the review, will fix in v2.\n\nBest regards","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=yfdZiC1K;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=cherr.cc header.i=@cherr.cc header.a=rsa-sha256\n header.s=feishu2604220257 header.b=VpQ9qT89;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; 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 4g1M5V0kSsz1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 13:29:12 +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 1wFkkS-0000000AyxK-25LP;\n\tThu, 23 Apr 2026 03:29:04 +0000","from va-2-39.ptr.blmpb.com ([209.127.231.39])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wFkkQ-0000000AywW-0Z8I\n\tfor linux-um@lists.infradead.org;\n\tThu, 23 Apr 2026 03:29:03 +0000","from pve.cherr ([111.42.148.84]) by smtp.feishu.cn with ESMTPS;\n Thu, 23 Apr 2026 11:28:48 +0800"],"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:Cc:To:References:In-Reply-To\n\t:Content-Type:Mime-Version:Subject:From:Content-Transfer-Encoding:Message-Id:\n\tDate:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;\n\tbh=Eq2FI4p8/MBsA/db9756DLjX4O4PFQlEacvTm6wyehg=; b=yfdZiC1KrQfIQ7YMbKHtW7rcaK\n\tq2/iY6jrXgCDALmZi3+kTDWIPkMZZ8xydlPUROQFefY3VS2dVG90A7WJvyX1H7AGiSbJe3JfOXVlb\n\tBf9MrO3uw9JrJk1Xq9mLLVXAUDxZ0ajuN3plOnwivDvU5wXiSzSqwhqXrG1ftN3TxiREF9K7D6cUA\n\thjKI0b+x1trYqz1P5Q1OYXY4bg/VcKCGL+3GLdv8J29mRjgqv2LXO0lh2J67Ay94BLM/nmgOoGxQO\n\t7RpIEU9BcEZIurPqNmk/1A5EY+2JthE+A7nQdyK4syngvWTS2ALvSs+6GCMNZkAZSBRQEL0x0pMyq\n\t1ziPKVww==;","v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n s=feishu2604220257; d=cherr.cc; t=1776914933; h=from:subject:\n mime-version:from:date:message-id:subject:to:cc:reply-to:content-type:\n mime-version:in-reply-to:message-id;\n bh=Eq2FI4p8/MBsA/db9756DLjX4O4PFQlEacvTm6wyehg=;\n b=VpQ9qT89fDj2QbY5NNxhqIZ3lKfTUvV7KlEpVpeSXya2Int8Fo6Tw0gz0QMflZ1qTi/fb9\n 0J9QLFhj4mV0lMT/oequvOYSlPL4Q1zGxmJfuE0rGw/vOgX0kQsltGhHzpv7vmSQWCkNoR\n FXUanT6K/3heuYzmwuEu7xajQr7zukrBNWXLr+480rzSRZMUMrbgYAjz3iTBwXNd3v18/C\n U4VSMAG/OOnXWRVmsl0gAzIMQ4mvD11e/djx5M62DOskM0RI75DaC2a+HZ5GZ2emgmwHap\n 3iWn8w6sOr3pWhxYufPj6YanZ3WYbVpafC4h4aM3nAort1LNNpZRO82aIWUC/g=="],"Date":"Thu, 23 Apr 2026 11:28:45 +0800","Message-Id":"<aemR7Ur4H9dnKQ57@pve.cherr>","X-Original-From":"Shengzhuo Wei <me@cherr.cc>","X-Lms-Return-Path":"<lba+269e991f2+26f70f+lists.infradead.org+me@cherr.cc>","Content-Transfer-Encoding":"7bit","From":"\"Shengzhuo Wei\" <me@cherr.cc>","Subject":"Re: [PATCH] um: proc/exitcode: fix simple_strtol() out-of-bounds read","Mime-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","In-Reply-To":"<20260422214507.0078c8ba@pumpkin>","References":"<20260423-fix_exitcode-v1-1-7e4508913d68@cherr.cc>\n <20260422214507.0078c8ba@pumpkin>","To":"\"David Laight\" <david.laight.linux@gmail.com>","Cc":"\"Richard Weinberger\" <richard@nod.at>,\n\t\"Anton Ivanov\" <anton.ivanov@cambridgegreys.com>,\n\t\"Johannes Berg\" <johannes@sipsolutions.net>,\n\t\"Dan Carpenter\" <error27@gmail.com>,\n\t\"Andrew Morton\" <akpm@linux-foundation.org>,\n\t\"Jeff Dike\" <jdike@addtoit.com>, \"Yao Zi\" <me@ziyao.cc>,\n\t<linux-um@lists.infradead.org>, <linux-kernel@vger.kernel.org>","Content-Disposition":"inline","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20260422_202902_254154_F73C6BDA ","X-CRM114-Status":"UNSURE (   9.87  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-2.1 (--)","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:  On 2026-04-22 21:45, David Laight wrote: > On Thu, 23 Apr\n   2026 01:39:25 +0800 > \"Shengzhuo Wei\" <me@cherr.cc> wrote: > > > The stack\n    buffer 'buf' is declared as char[sizeof(\"nnnnn\\0\")] (7 bytes) > > a [...]    \n Content analysis details:   (-2.1 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record\n -0.0 SPF_PASS               SPF: sender matches SPF record\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK\n signature\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain\n -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]\n  0.0 MSGID_FROM_MTA_HEADER  Message-Id was added by a relay","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"}}]