Bug 2480051 (CVE-2026-41054)

Summary: CVE-2026-41054 haveged: privilege escalation via command socket
Product: [Fedora] Fedora Reporter: Jiri Hladky <hladky.jiri>
Component: havegedAssignee: Jiri Hladky <hladky.jiri>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hladky.jiri
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: haveged-1.9.21-1.el10_3 haveged-1.9.14-2.el8 haveged-1.9.21-1.el9 haveged-1.9.21-1.el10_2 haveged-1.9.21-1.fc44 haveged-1.9.22-1.fc43 haveged-1.9.22-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-05-29 00:26:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Hladky 2026-05-20 00:37:10 UTC
A privilege escalation vulnerability was found in haveged.
                                                                                                                                                                                                                                           
The socket_handler() function in src/havegecmd.c checks the connecting
peer's uid via SO_PEERCRED and sends a NAK response to non-root callers.
However, after sending the NAK, execution continued into the command    
switch instead of returning. This allowed unprivileged local users to                                                                                                                                                                    
send commands (MAGIC_CHROOT, MAGIC_CLOSE) to the root-running daemon 
via the abstract UNIX socket.                                                                                                                                                                                                            
                                                                                                                                                          
Affected: all versions with command socket support (1.9.14+)
                                                                                                                                                                                                                             
Upstream fix: https://github.com/jirka-h/haveged/releases/tag/v1.9.21
Fix commit: https://github.com/jirka-h/haveged/commit/3870de0                                                                                                                                                                            
SUSE bug: https://bugzilla.suse.com/show_bug.cgi?id=1264086  
                                                                                                                                                                                                                                   
Fixed in: haveged-1.9.21-1 (rawhide, f44, f43, f42, epel9, epel10)
Fixed in: haveged-1.9.14-2 (epel8, backported patch)

Comment 1 Fedora Update System 2026-05-20 00:58:45 UTC
FEDORA-EPEL-2026-56fb074420 (haveged-1.9.14-2.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-56fb074420

Comment 2 Fedora Update System 2026-05-20 00:59:51 UTC
FEDORA-EPEL-2026-efe6be3dfa (haveged-1.9.21-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-efe6be3dfa

Comment 3 Fedora Update System 2026-05-20 01:00:40 UTC
FEDORA-EPEL-2026-b3a94630f0 (haveged-1.9.21-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-b3a94630f0

Comment 4 Fedora Update System 2026-05-20 01:02:19 UTC
FEDORA-EPEL-2026-ca77194ac0 (haveged-1.9.21-1.el10_2) has been submitted as an update to Fedora EPEL 10.2.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ca77194ac0

Comment 5 Fedora Update System 2026-05-20 01:03:08 UTC
FEDORA-2026-7fcffd5c31 (haveged-1.9.21-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7fcffd5c31

Comment 6 Fedora Update System 2026-05-20 01:03:52 UTC
FEDORA-2026-12643837bd (haveged-1.9.21-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-12643837bd

Comment 7 Fedora Update System 2026-05-20 01:06:13 UTC
FEDORA-2026-43e2722e8f (haveged-1.9.21-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-43e2722e8f

Comment 8 Fedora Update System 2026-05-21 01:31:36 UTC
FEDORA-EPEL-2026-56fb074420 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-56fb074420

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

Comment 9 Fedora Update System 2026-05-21 01:34:40 UTC
FEDORA-EPEL-2026-efe6be3dfa has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-efe6be3dfa

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

Comment 10 Fedora Update System 2026-05-21 01:37:48 UTC
FEDORA-EPEL-2026-b3a94630f0 has been pushed to the Fedora EPEL 10.3 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-b3a94630f0

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

Comment 11 Fedora Update System 2026-05-21 01:40:45 UTC
FEDORA-EPEL-2026-ca77194ac0 has been pushed to the Fedora EPEL 10.2 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ca77194ac0

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

Comment 12 Fedora Update System 2026-05-21 01:57:22 UTC
FEDORA-2026-43e2722e8f has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-43e2722e8f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-43e2722e8f

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

Comment 13 Fedora Update System 2026-05-21 02:20:11 UTC
FEDORA-2026-7fcffd5c31 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-7fcffd5c31`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7fcffd5c31

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

Comment 14 Fedora Update System 2026-05-21 02:34:02 UTC
FEDORA-2026-12643837bd has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-12643837bd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-12643837bd

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

Comment 15 Fedora Update System 2026-05-22 00:49:28 UTC
FEDORA-2026-5d9b0e2c17 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-5d9b0e2c17`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5d9b0e2c17

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

Comment 16 Fedora Update System 2026-05-22 01:31:51 UTC
FEDORA-2026-8fa79f47e1 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8fa79f47e1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8fa79f47e1

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

Comment 17 Fedora Update System 2026-05-29 00:26:10 UTC
FEDORA-EPEL-2026-b3a94630f0 (haveged-1.9.21-1.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2026-05-29 00:27:44 UTC
FEDORA-EPEL-2026-56fb074420 (haveged-1.9.14-2.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2026-05-29 00:27:48 UTC
FEDORA-EPEL-2026-efe6be3dfa (haveged-1.9.21-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2026-05-29 00:37:29 UTC
FEDORA-EPEL-2026-ca77194ac0 (haveged-1.9.21-1.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2026-05-29 01:11:06 UTC
FEDORA-2026-12643837bd (haveged-1.9.21-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2026-05-30 01:07:56 UTC
FEDORA-2026-5d9b0e2c17 (haveged-1.9.22-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2026-05-30 22:53:49 UTC
FEDORA-2026-02b08daa05 (haveged-1.9.22-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-02b08daa05

Comment 24 Fedora Update System 2026-05-31 01:50:41 UTC
FEDORA-2026-02b08daa05 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-02b08daa05`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-02b08daa05

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

Comment 25 Fedora Update System 2026-06-08 01:23:48 UTC
FEDORA-2026-02b08daa05 (haveged-1.9.22-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.