When I run command wc -l, it gives “illegal instruction”.
I reinstalled the coreutils package:
$ wc -l
Illegal instruction
$ ls -l | wc -l
Illegal instruction
$ ls -l | wc -lw
4 29
$ wc test.txt
10 8 18 test.txt
$ cat test.txt | wc -mwl
10 8 18
$ wc -l test.txt
Illegal instruction
$ cat test.txt | wc -l
Illegal instruction
Linux 6.1.0-16-amd64, Debian 6.1.67-1
These upstream patches should address the issue: https://github.com/coreutils/coreutils/commit/91a74d361.patch https://github.com/coreutils/coreutils/commit/7814596fa.patch
I can confirm this for at least one of my machines. I can confirm that those two patches fix the issue for me on Debian bookworm. They don't apply cleanly to the sources in bookworm, but the result is still fine. I'll attach the new quilt patch file. Since I am not using Debian's default kernel and the issue only happens on one of my machines, I won't raise the severity, but if this also happens with a Debian kernel, this would be an RC bug for me and warrant a bookworm point release upload. Greetings Marc
I can confirm this for at least one of my machines. I can confirm that those two patches fix the issue for me on Debian bookworm. They don't apply cleanly to the sources in bookworm, but the result is still fine. I'll attach the new quilt patch file. Since I am not using Debian's default kernel and the issue only happens on one of my machines, I won't raise the severity, but if this also happens with a Debian kernel, this would be an RC bug for me and warrant a bookworm point release upload. Greetings Marc
Powered by Anonymousemail It happens on stock kernel 6.1.0-37-amd64. It currently prevents ca-certificates from being configured. Can't downgrade ca-certificates either because it also SIGILLs when (re-)configuring the older version. Journal shows wc being the culprit.
Powered by Anonymousemail Addendum: It only happens with gather_data_sampling=force, which is necessary for security on CPUs with a broken AVX implementation. I'd still consider the bug high severity since it should be possible to turn on mitigations without breaking coreutils.