Bug 2192159

Summary: Abort on ckb-next-daemon launch
Product: [Fedora] Fedora Reporter: Tasos <tasos+rhb>
Component: ckb-nextAssignee: Artur Frenszek-Iwicki <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: fedora, yonatankahana.il
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://github.com/ckb-next/ckb-next/issues/940
Whiteboard:
Fixed In Version: ckb-next-0.5.0-2.fc36 ckb-next-0.5.0-3.fc37 ckb-next-0.5.0-4.fc38 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-11 01:30:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tasos 2023-04-30 00:23:33 UTC
There was an upstream bug where an incorrect length field was passed to snprintf. Fedora 38 appears to contain the package built with a higher level of FORTIFY_SOURCE which detects a buffer overflow.

Please backport the following patch to version 0.5.0 until a new release is available:
https://github.com/ckb-next/ckb-next/commit/c29a9f5e314ddb987b75cb05793ae1bf2bb9ae0c.patch

Might also be a good idea to backport it to older Fedora versions, as despite it not failing to start on those, it is still a bug.

Thank you.

Reproducible: Always

Steps to Reproduce:
1. Have a modern Corsair device
2. Run ckb-next-daemon

Actual Results:  
*** buffer overflow detected ***: terminated

Expected Results:  
No buffer overflow detected message and no abort.

https://github.com/ckb-next/ckb-next/issues/940

Comment 1 Fedora Update System 2023-05-02 12:14:55 UTC
FEDORA-2023-e7f9c05985 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e7f9c05985

Comment 2 Fedora Update System 2023-05-02 12:31:39 UTC
FEDORA-2023-0a8e828ec2 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0a8e828ec2

Comment 3 Fedora Update System 2023-05-02 12:50:32 UTC
FEDORA-2023-83e7af93a9 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-83e7af93a9

Comment 4 Fedora Update System 2023-05-03 01:23:25 UTC
FEDORA-2023-e7f9c05985 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e7f9c05985`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e7f9c05985

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

Comment 5 Fedora Update System 2023-05-03 01:28:38 UTC
FEDORA-2023-0a8e828ec2 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0a8e828ec2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0a8e828ec2

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

Comment 6 Fedora Update System 2023-05-03 01:33:37 UTC
FEDORA-2023-83e7af93a9 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-83e7af93a9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-83e7af93a9

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

Comment 7 Fedora Update System 2023-05-11 01:30:26 UTC
FEDORA-2023-83e7af93a9 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2023-05-11 01:52:30 UTC
FEDORA-2023-0a8e828ec2 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2023-05-11 01:56:01 UTC
FEDORA-2023-e7f9c05985 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.