Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #94159
| Path | csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Troy Mitchell <me@troy-y.org> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1148364: riscv64: strnlen() returns a truncated length for very large count, breaking ACPI name resolution (AE_AML_NAME_NOT_FOUND flood at boot) |
| Date | Tue, 22 Sep 2026 08:30:01 +0200 |
| Message-ID | <NG2aR-15gA-1@gated-at.bofh.it> (permalink) |
| References | <NEZ5n-vQv-1@gated-at.bofh.it> <NF01s-wmw-9@gated-at.bofh.it> |
| X-Original-To | 1148364@bugs.debian.org |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Tue Sep 22 06:25:07 2026 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -1.45 |
| Reply-To | Troy Mitchell <me@troy-y.org>, 1148364@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | debian-kernel@lists.debian.org |
| X-Debian-Pr-Message | followup 1148364 |
| X-Debian-Pr-Package | linux-image-7.1.13+deb14-riscv64 |
| X-Debian-Pr-Keywords | upstream |
| X-Debian-Pr-Source | linux |
| Content-Transfer-Encoding | 7bit |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Feedback-ID | :1.us-east-1.PapZNefyBGleNec4iheLWNDzZGJEO6tP07d61vOzrEFMLfePLKKmcbIoWmv9M07QTZmx2/g99QAh4feMzOHo8Tq8evjJqgKLfup2X+F+iCh9Za6XYhkyuU/U+ArXDjFaRMfw7tmmEHHb6SFix5j/7ZLU72JmxHDMOfgA+cnDoLE=:1.us-east-1.bUdgMqWxfG2SVsrQjgiKGviqCgupN9bd/NLnQooLs3w=:AmazonSES |
| X-Ses-Outgoing | 2026.09.22-54.240.48.59 |
| X-Greylist | delayed 702 seconds by postgrey-1.37 at buxtehude; Tue, 22 Sep 2026 06:23:40 UTC |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1992682 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 24 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | aurel32@debian.org, lufei.zheng@spacemit.com, me@troy-y.org |
| X-Original-Date | Tue, 22 Sep 2026 06:11:56 +0000 |
| X-Original-Message-ID | <010001a0c7be0ed2-6907d042-af64-4abc-a61a-4ec8b010dadd-000000@email.amazonses.com> |
| X-Original-References | <446002886bbbf01e9217ad222d686ef2ad1051a8.dcaa59ac.cf3c.4165.b441.5426e7bd314a@feishu.cn> <aq5azMOUIP8TSl24@aurel32.net> |
| Xref | csiph.com linux.debian.bugs.dist:1310318 linux.debian.kernel:94159 |
Cross-posted to 2 groups.
Show key headers only | View raw
Hi Aurelien, > The issue has been reported upstream with a patch [1], but it is still > under review. If you can test it and send a Tested-by: that would help > the patch to get accepted faster. I tested v4 on QEMU 11.1.1 (riscv64), using a custom-configured kernel built from Debian linux 7.2.6-1 sources and calling the kernel's strnlen() directly. With Zbb enabled, a 63-byte string with count=SIZE_MAX returned 8 before the patch. With v4 applied, the same call correctly returned 63. With count=1000, it returned 63 both before and after the patch. The alignment and word/page-boundary cases I checked also returned the expected results after applying v4. With Zbb disabled, I did not observe incorrect results either before or after the patch. I have sent my TB to the upstream v4 thread. I do not have access to a V100, so I have not verified the reported ACPI boot errors on that hardware. -- Troy Mitchell
Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#1148364: riscv64: strnlen() returns a truncated length for very large count, breaking ACPI name resolution (AE_AML_NAME_NOT_FOUND flood at boot) Aurelien Jarno <aurel32@debian.org> - 2026-09-19 12:00 +0200 Bug#1148364: riscv64: strnlen() returns a truncated length for very large count, breaking ACPI name resolution (AE_AML_NAME_NOT_FOUND flood at boot) Troy Mitchell <me@troy-y.org> - 2026-09-22 08:30 +0200
csiph-web