FS#79798 - [coreutils] `wc -l` is raises SIGILL under hardened kernel (GDS mitigation)
Attached to Project:
Arch Linux
Opened by lior (lior) - Wednesday, 27 September 2023, 18:44 GMT
Last edited by Toolybird (Toolybird) - Friday, 29 September 2023, 21:39 GMT
Opened by lior (lior) - Wednesday, 27 September 2023, 18:44 GMT
Last edited by Toolybird (Toolybird) - Friday, 29 September 2023, 21:39 GMT
|
Details
Description:
Running `wc -l` in a hardened kernel will result in SIGILL. wc (in its current version) incorrectly detects if avx2 is enabled. Additional info: * package version(s) coreutils: 9.3-1 linux-hardened: 6.5.5.hardened1-1 * link to upstream bug report, if any It appears that it was addressed in upstream a few days ago, but I didn't test it myself https://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=91a74d361461494dd546467e83bc36c24185d6e7 Steps to reproduce: Use hardened kernel, run something simple like `ps | wc -l` Found about from an error message in my pacman.log A failed nvidia-dkms installation printed out the following warning: /bin/dkms: line 1043: ((: < 2: syntax error: operand expected (error token is "< 2") In dkms, line 1043 contains a `wc -l` command. Included this for poor souls that trying to google this warning message. |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 29 September 2023, 21:39 GMT
Reason for closing: Fixed
Additional comments about closing: coreutils 9.4-1
Friday, 29 September 2023, 21:39 GMT
Reason for closing: Fixed
Additional comments about closing: coreutils 9.4-1
Comment by Toolybird (Toolybird) -
Wednesday, 27 September 2023, 22:17 GMT
Thanks for the heads-up, but this has been known about for quite a
while. We're just waiting for coreutils-9.4 to land in Arch
(already flagged a while back).
Comment by
Tobias Powalowski (tpowa) - Friday,
29 September 2023, 18:32 GMT
coreutils-9.4 is in [core-testing] now.