FS#65699 - [rtkit] rtkit-daemon binary has executable stack
Attached to Project:
Arch Linux
Opened by Markus Theil (thillux) - Wednesday, 04 March 2020, 12:26 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 05 December 2021, 08:33 GMT
Opened by Markus Theil (thillux) - Wednesday, 04 March 2020, 12:26 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 05 December 2021, 08:33 GMT
|
Details
Description:
rtkit-daemon has an stack section which is marked executable. For security reasons, stack segments should not be executable if possible. Found when looking at Linux 5.6-rc4 dmesg output: [Wed Mar 4 13:08:10 2020] process '/usr/lib/rtkit-daemon' started with executable stack The executable stack can be checked like this: readelf -lW /usr/lib/rtkit-daemon | rg "GNU_STACK" | rg E GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x10 |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Sunday, 05 December 2021, 08:33 GMT
Reason for closing: Fixed
Additional comments about closing: rtkit 0.13-1
Sunday, 05 December 2021, 08:33 GMT
Reason for closing: Fixed
Additional comments about closing: rtkit 0.13-1
as gcc can not determine if an executable stack is required or not without the annotation it makes the stack executable.