You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segmentation fault in actions-runner 2.331.0 on Rocky Linux 9.7 #4197
Describe the bug
When attempting to run ephemeral GitHub Actions runners using the ghcr.io/actions/actions-runner:2.331.0 image on Rocky Linux 9.7 hosts, the runner immediately crashes with a segmentation fault (core dumped). Reverting to 2.330.0 resolves the issue.
To Reproduce
Steps to reproduce the behavior:
Deploy gha-runner-scale-set-controller:0.13.1 in a Kubernetes cluster.
Launch ephemeral runner pods using ghcr.io/actions/actions-runner:2.331.0.
Observe runner pod logs:
[RUNNER 2026-01-14 16:09:02Z INFO RunnerServer] Establish connection with 100 seconds timeout.
[RUNNER 2026-01-14 16:09:02Z INFO GitHubActionsService] Starting operation Location.GetConnectionData
/home/runner/run-helper.sh: line 36: 14 Segmentation fault (core dumped) "$DIR"/bin/Runner.Listener run $*
Exiting with unknown error code: 139
Exiting runner...
Expected behavior
Runner should start and connect to GitHub without crashing
[ 261.559979] .NET TP Worker[46774]: segfault at 20 ip 00007f97827e5b5c sp 00007f9709294110 error 4 in libssl.so.3[7f97827cc000+62000] likely on CPU 2
[ 261.585173] .NET TP Worker[46792]: segfault at 20 ip 00007f5cd640fb5c sp 00007f5c56ff9110 error 4 in libssl.so.3[7f5cd63f6000+62000] likely on CPU 0
Reacted by André Carmo, cyrilico, wnoonan, jacob-kuder, WarrenS, Øystein Nordberg, Magnar Ovedal Myrtveit, Adrian S. E., David Fredman, Sveinung Fjær and 1 more
The issue looks to be related with hosts with FIPS mode enabled. This might have some incompatibility with github actions runners based on Ubuntu 24.
So I think we might have two options:
* Disable fips mode for openssl in the runner by setting `OPENSSL_FORCE_FIPS_MODE` to `0`.
* Consider installing `openssl-fips-module-3` on the runner.
This is a huge problem, especially because 2.330.0 is no longer supported.
This appears to be the same failure mode described in dotnet/runtime#122538: .NET’s OpenSSL initialization can dereference a NULL SSL_CTX when OpenSSL provider/configuration initialization fails. Since the OP does not say if they are using FIPS, Icannot say if this is the same exact issue, however if you are using FIPS you may have simply forgotten to validate that your FIPS openssl package was installed and configured properly. A simple way to do this is to make a docker image based on the upstream runner image and simply use Ubuntu Pro to install the FIPS validated packages, which is what I highlight below as my answer.
Environment:
Actions runner 2.337.0 (the failure also occurred with 2.331.0)
The fault address was 0x20, and the runner exited with code 139.
Initially, the guest reported FIPS mode enabled, but the OpenSSL provider was missing:
Default FIPS properties enabled: 1
fips.so missing
SSL_CTX_new: NULL
probe_exit_status=3
This is consistent with Canonical’s Noble-container bug: enabling fips-updates does not automatically install openssl-fips-module-3: canonical/ubuntu-pro-client#3487
The fix was to explicitly install the provider package in the image:
pro attach --attach-config /run/secrets/pro-attach-config
pro enable fips-updates --assume-yes || \
pro status | grep -Eq \
'fips-updates[[:space:]]+yes[[:space:]]+enabled'
apt-get update
apt-get install -y openssl-fips-module-3
openssl list -providers showed the active Ubuntu 24.04 OpenSSL Cryptographic Module. A runner using this image connected to GitHub and reached:
Connected to GitHub
Current runner version: '2.337.0'
Listening for Jobs
with no segmentation fault.
The immediate cause appears to be an OpenSSL FIPS configuration in which the FIPS provider was requested but fips.so was absent. It is my understanding that runner uses .NET 8.0 which does not have the upstream fix to provide a useful OpenSSL configuration/provider error instead of dereferencing NULL, as proposed in dotnet/runtime#122538.
Proposed fix appears to work when tested on the dangling infra we have left laying around. Root cause appears to be the missing tips provider in the 24.04 base image.
Of note.. we also tested without pro via the upstream openssl provider. That appears to work as well but would likely raise eyebrows in our compliance department of yore.
Proposed fix appears to work when tested on the dangling infra we have left laying around. Root cause appears to be the missing tips provider in the 24.04 base image.
Of note.. we also tested without pro via the upstream openssl provider. That appears to work as well but would likely raise eyebrows in our compliance department of yore.
That's very interesting. In that case, I think this issue could be considered user error caused by incorrect downstream error handling (.NET Runtime seg faulting when openssl configs fail).
Activity
TingluoHuang commentedon Jan 14, 2026
We have to upgrade to ubuntu:24.04 as our base image, my guess is that's not compat with your Kubernetes
#4018
atmcarmo commentedon Jan 29, 2026
Can confirm that I'm having the same issue with a host based on Amazon Linux 2023.
atmcarmo commentedon Mar 14, 2026
I can help with some workarounds.
The issue looks to be related with hosts with FIPS mode enabled. This might have some incompatibility with github actions runners based on Ubuntu 24.
So I think we might have two options:
OPENSSL_FORCE_FIPS_MODEto0.openssl-fips-module-3on the runner.daniel-widrick commentedon Mar 14, 2026
It would definitely simplify a lot of things in the world... but FIPS is critical to compliance in several sectors.
jacob-kuder commentedon May 13, 2026
Any update on where we stand with this? We are also seeing issues with this on AL2023 backed AMIs/EKS nodes with our setup.
LockedThread commentedon Sep 16, 2026
This is a huge problem, especially because 2.330.0 is no longer supported.
LockedThread commentedon Sep 16, 2026
I think this error might actually be related to dotnet/runtime#122538. I am looking into it now.
LockedThread commentedon Sep 16, 2026
I was able to reproduce this and narrow it down.
This appears to be the same failure mode described in dotnet/runtime#122538: .NET’s OpenSSL initialization can dereference a NULL
SSL_CTXwhen OpenSSL provider/configuration initialization fails. Since the OP does not say if they are using FIPS, Icannot say if this is the same exact issue, however if you are using FIPS you may have simply forgotten to validate that your FIPS openssl package was installed and configured properly. A simple way to do this is to make a docker image based on the upstream runner image and simply use Ubuntu Pro to install the FIPS validated packages, which is what I highlight below as my answer.Environment:
6.8.0-139-fips6.18.35, booted withfips=1The crash dump faulting thread was:
The fault address was 0x20, and the runner exited with code 139.
Initially, the guest reported FIPS mode enabled, but the OpenSSL provider was missing:
This is consistent with Canonical’s Noble-container bug: enabling fips-updates does not automatically install openssl-fips-module-3:
canonical/ubuntu-pro-client#3487
The fix was to explicitly install the provider package in the image:
The resulting image contained:
The diagnostic then succeeded:
openssl list -providersshowed the active Ubuntu 24.04 OpenSSL Cryptographic Module. A runner using this image connected to GitHub and reached:with no segmentation fault.
The immediate cause appears to be an OpenSSL FIPS configuration in which the FIPS provider was requested but
fips.sowas absent. It is my understanding that runner uses .NET 8.0 which does not have the upstream fix to provide a useful OpenSSL configuration/provider error instead of dereferencing NULL, as proposed in dotnet/runtime#122538.LockedThread commentedon Sep 22, 2026
@daniel-widrick Does the solution I provided fix your problem?
daniel-widrick commentedon Sep 23, 2026
We unfortunately, decided to leave the GHE platform. I'm unable to verify if the fix would have helped our environment.. but it does sound promising.
I'll see if my notes or any of our dangling VMs might provide any more insight if I get a chance.
daniel-widrick commentedon Sep 23, 2026
Proposed fix appears to work when tested on the dangling infra we have left laying around. Root cause appears to be the missing tips provider in the 24.04 base image.
Of note.. we also tested without pro via the upstream openssl provider. That appears to work as well but would likely raise eyebrows in our compliance department of yore.
LockedThread commentedon Sep 23, 2026
That's very interesting. In that case, I think this issue could be considered user error caused by incorrect downstream error handling (.NET Runtime seg faulting when openssl configs fail).