Bug 2330679 - dhcpcd crashes with SIGSYS using latest glibc getrandom()
Summary: dhcpcd crashes with SIGSYS using latest glibc getrandom()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dhcpcd
Version: 41
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Petr Menšík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-05 22:47 UTC by Scott Shambarger
Modified: 2025-01-23 01:48 UTC (History)
5 users (show)

Fixed In Version: dhcpcd-10.1.0-1.fc41 dhcpcd-10.1.0-1.fc40
Clone Of:
Environment:
Last Closed: 2025-01-12 01:39:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Scott Shambarger 2024-12-05 22:47:37 UTC
The latest patch for glibc-2.40-12 includes a vDSO version of getrandom().

The new getrandom code in glibc calls the function internal_signal_block_all(), which uses the syscall rt_sigprocmask.

dhcpcd uses seccomp, and doesn't (yet) allow this syscall - I've submitted an upstream issue: https://github.com/NetworkConfiguration/dhcpcd/issues/421

The patch for that issue should be applied for Fedora 41 so that dhcpcd doesn't crash with the updated glibc.



Reproducible: Always

Steps to Reproduce:
1. Configure dhcpcd for ipv6, which uses getrandom()
2. Start dhcpcd

Actual Results:  
dhcpcd crashes with SIGSYS

Expected Results:  
dhcpcd correctly configures the ipv6 addresses

Comment 2 Frank Crawford 2025-01-02 10:56:14 UTC
This also seems to affect Fedora 40.

Comment 3 Fedora Update System 2025-01-07 17:04:51 UTC
FEDORA-2025-0b4e2489b0 (dhcpcd-10.1.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0b4e2489b0

Comment 4 Fedora Update System 2025-01-07 17:07:50 UTC
FEDORA-2025-4553d23d99 (dhcpcd-10.1.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4553d23d99

Comment 5 Fedora Update System 2025-01-08 02:12:56 UTC
FEDORA-2025-0b4e2489b0 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-0b4e2489b0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0b4e2489b0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-01-08 03:14:26 UTC
FEDORA-2025-4553d23d99 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4553d23d99`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4553d23d99

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-01-12 01:39:10 UTC
FEDORA-2025-0b4e2489b0 (dhcpcd-10.1.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-01-23 01:48:37 UTC
FEDORA-2025-4553d23d99 (dhcpcd-10.1.0-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.