Bug 2458184
| Summary: | Drop -fcf-protection flag during Firefox builds | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Arjun Shankar <ashankar> |
| Component: | firefox | Assignee: | Martin Stransky <stransky> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 43 | CC: | fweimer, gecko-bugs-nobody, jhorak, klaas, rstrode, sagitterghostproton.me, stransky, suraj.ghimire7 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | firefox-152.0.4-3.fc45 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-07-10 09:14:45 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2458434 | ||
|
Description
Arjun Shankar
2026-04-14 11:55:58 UTC
That's something we may want to bring upstream at bugzilla.mozilla.org. Is that gcc/glib specific? Does it affects Mozilla builds too? https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries Thanks. (In reply to Martin Stransky from comment #1) > That's something we may want to bring upstream at bugzilla.mozilla.org. Is > that gcc/glib specific? Does it affects Mozilla builds too? > https://fedoraproject.org/wiki/ > How_to_debug_Firefox_problems#Testing_Mozilla_binaries It does not impact Mozilla binaries because they do not use the Fedora build flags. The crash will go way if you remove -fcf-protection from the build flags. This way, the main Firefox binary will be marked as incompatible, and the process will remain in legacy mode (shadow stack is never turned on). The JIT is the major blocker here and until upstream fixes it (https://bugzilla.mozilla.org/show_bug.cgi?id=1902244), we cannot have shadow stack protection for Firefox. In the meanwhile, we should drop the -fcf-protection flag during Firefox builds by adjusting the spec file. Added to firefox-152.0.4-3. FEDORA-2026-0cd8472f57 (firefox-152.0.4-3.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-0cd8472f57 FEDORA-2026-0cd8472f57 (firefox-152.0.4-3.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report. |