Bug 2265043 - Missing -ftrivial-auto-var-init=zero for improved security and preditability
Summary: Missing -ftrivial-auto-var-init=zero for improved security and preditability
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: chromium
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-20 03:54 UTC by secureblue
Modified: 2024-02-28 01:10 UTC (History)
4 users (show)

Fixed In Version: chromium-122.0.6261.69-1.fc39
Clone Of:
Environment:
Last Closed: 2024-02-28 01:10:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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