Summary: | sys-apps/systemd-254.5: udev segfaults on hppa with >=linux-6.3 when using MemoryDenyWriteExecute | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo systemd Team <systemd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hppa, kernel |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | HPPA | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=916468 https://github.com/systemd/systemd/pull/25276 https://github.com/systemd/systemd/issues/29775 https://bugs.gentoo.org/show_bug.cgi?id=916072 https://bugs.gentoo.org/show_bug.cgi?id=926652 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sam James
![]() ![]() ![]() ![]() OK, I can reproduce it within an nspawn when I upgrade it.. Oct 29 08:17:30 ladder systemd-nspawn[12550]: Starting systemd-network-generator.service... Oct 29 08:17:30 ladder systemd-nspawn[12550]: Starting systemd-remount-fs.service... Oct 29 08:17:30 ladder systemd-nspawn[12550]: Starting systemd-tmpfiles-setup-dev-early.service... Oct 29 08:17:30 ladder systemd-nspawn[12550]: [ OK ] Mounted dev-hugepages.mount. Oct 29 08:17:30 ladder systemd-nspawn[12550]: systemd-journald.service: Main process exited, code=killed, status=11/SEGV Oct 29 08:17:30 ladder systemd-nspawn[12550]: systemd-journald.service: Failed with result 'signal'. Oct 29 08:17:30 ladder systemd-nspawn[12550]: [FAILED] Failed to start systemd-journald.service. Oct 29 08:17:30 ladder systemd-nspawn[12550]: See 'systemctl status systemd-journald.service' for detail Oct 29 09:36:12 ladder (md-udevd)[25741]: systemd-udevd.service: Enabled MemoryDenyWriteExecute= with PR_SET_MDWE Oct 29 09:36:12 ladder (md-udevd)[25741]: systemd-udevd.service: Executing: /usr/lib/systemd/systemd-udevd Oct 29 09:36:12 ladder systemd[1]: systemd-journald.service: Received EPOLLHUP on stored fd 45 (stored), closing. Oct 29 09:36:12 ladder systemd[1]: Received SIGCHLD from PID 25741 (systemd-udevd). Oct 29 09:36:12 ladder systemd[1]: Child 25741 (systemd-udevd) died (code=killed, status=11/SEGV) Oct 29 09:36:12 ladder systemd[1]: systemd-udevd.service: Child 25741 belongs to systemd-udevd.service. Oct 29 09:36:12 ladder systemd[1]: systemd-udevd.service: Main process exited, code=killed, status=11/SEGV ░░ Subject: Unit process exited hppa doesn't support MemoryDenyWriteExecute because it requires executable stacks still. The new function added in https://github.com/systemd/systemd/pull/25276 doesn't reflect the exclusion of HPPA in https://github.com/systemd/systemd/commit/344e6b62fceea0f5fac1f1efcff7e0ccf4a4e3c8#diff-60141857536525beb87708eaf458438b24ce034aed48172f0db7ee1cd1acc648R1723 for seccomp. Reported to kernel people as well at https://lore.kernel.org/linux-parisc/87lebjz9z6.fsf@gentoo.org/T/#u. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7e31e30db7921510ce4a0830bc6627f878b5d1 commit ae7e31e30db7921510ce4a0830bc6627f878b5d1 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-31 06:04:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-31 06:04:18 +0000 profiles/arch/hppa: mask >=sys-apps/systemd-254 Fails to boot. Bug: https://bugs.gentoo.org/916469 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/hppa/package.mask | 5 +++++ 1 file changed, 5 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b241cb5a399a820201412b5c6905c4e029da7f4e commit b241cb5a399a820201412b5c6905c4e029da7f4e Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-24 12:03:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-24 12:03:39 +0000 profiles/arch/hppa: drop stale systemd mask This was fixed in the kernel. Bug: https://bugs.gentoo.org/916469 Bug: https://bugs.gentoo.org/919107 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/hppa/package.mask | 5 ----- 1 file changed, 5 deletions(-) commit 3ed9692ef1ca5c763b74fd5bb1dbb6f6b2cfb6bc Author: Mike Pagano <mpagano@gentoo.org> Date: Mon Nov 20 07:11:47 2023 -0500 sys-kernel/gentoo-sources: add 6.6.2 and two risc patches Added: prctl: Temporarily disable prctl(PR_SET_MDWE) on parisc parisc: Fix mmap_base calculation when stack grows upwards Signed-off-by: Mike Pagano <mpagano@gentoo.org> [...] commit 28674786cd9912643c04021d5b3605eedf846057 Author: Mike Pagano <mpagano@gentoo.org> Date: Tue Nov 28 14:17:17 2023 -0500 sys-kernel/gentoo-sources: add 6.6.3, removed redundant patch Removed: 1720_parisc-gen-mmap-top-down-layout-and-brk-randomization.patch Signed-off-by: Mike Pagano <mpagano@gentoo.org> |