Bug 2265043

Summary: Missing -ftrivial-auto-var-init=zero for improved security and preditability
Product: [Fedora] Fedora Reporter: secureblue <secureblueadmin>
Component: chromiumAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: spotrh, than, tpopela, yaneti
Target Milestone: ---Keywords: Desktop, Security
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: chromium-122.0.6261.69-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-28 01:10:38 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 secureblue 2024-02-20 03:54:38 UTC
Setting -ftrivial-auto-var-init=zero initializes automatic variables with either a pattern or with zeroes to increase the security and predictability of a program by preventing uninitialized memory disclosure and use.

Other chromium distributions already do this: https://github.com/GrapheneOS/Vanadium/blob/main/patches/0005-enable-ftrivial-auto-var-init-zero.patch

This isn't a chromium default due to what seems to be some performance overhead: https://issues.chromium.org/issues/40633061

Reproducible: Always

Comment 1 Fedora Update System 2024-02-24 07:12:52 UTC
FEDORA-2024-ef56ea86fc (chromium-122.0.6261.69-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-ef56ea86fc

Comment 2 Fedora Update System 2024-02-25 02:30:08 UTC
FEDORA-2024-ef56ea86fc has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-ef56ea86fc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ef56ea86fc

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

Comment 3 Fedora Update System 2024-02-28 01:10:38 UTC
FEDORA-2024-ef56ea86fc (chromium-122.0.6261.69-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.