Bug 2352735 - qemu-aarch64-static (user mode) segmentation faults due to memory alignment, randomly with ASLR enabled
Summary: qemu-aarch64-static (user mode) segmentation faults due to memory alignment,...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL: https://gitlab.com/qemu-project/qemu/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-15 21:36 UTC by Mark Mielke
Modified: 2025-03-19 00:17 UTC (History)
9 users (show)

Fixed In Version: qemu-9.2.2-1.fc43 qemu-9.2.2-2.fc42
Clone Of:
Environment:
Last Closed: 2025-03-16 14:35:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark Mielke 2025-03-15 21:36:01 UTC
Today, we are working around this by disabling ASLR on the affected nodes. We understand that this doesn't fix the problem, but it avoids it from occurring.

Upstream patches available that are understood to be the fix:

https://gitlab.com/qemu-project/qemu/-/commit/c81d1fafa6233448bcc2d8fcd2ba63a4ae834f3a
https://gitlab.com/qemu-project/qemu/-/commit/4b7b20a3b72c5000ea71bef505c16e6e628268b6

Please update the Fedora 42 qemu package to be based off 9.2.2, or ensure these patches are applied to the 9.2.0 version in use.

I am looking to get this added to the muliarch/qemu-user-static images, but they seem to be built from Fedora, so the first step is to get the patches into the Fedora RPM:

https://github.com/multiarch/qemu-user-static/issues/212

Thanks!

Reproducible: Sometimes

Steps to Reproduce:
See upstream issues for good summaries of the issue from other people:

https://gitlab.com/qemu-project/qemu/-/issues/1913

Comment 1 Richard W.M. Jones 2025-03-16 08:46:32 UTC
See: https://src.fedoraproject.org/rpms/qemu/pull-request/81

Comment 2 Fedora Update System 2025-03-16 13:20:04 UTC
FEDORA-2025-367bc64c9d (qemu-9.2.2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-367bc64c9d

Comment 3 Fedora Update System 2025-03-16 13:42:47 UTC
FEDORA-2025-ad5ed3d1ec (qemu-9.2.2-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-ad5ed3d1ec

Comment 4 Fedora Update System 2025-03-16 14:35:54 UTC
FEDORA-2025-367bc64c9d (qemu-9.2.2-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 5 Fedora Update System 2025-03-17 03:04:29 UTC
FEDORA-2025-ad5ed3d1ec 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-2025-ad5ed3d1ec`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-ad5ed3d1ec

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

Comment 6 Fedora Update System 2025-03-19 00:17:30 UTC
FEDORA-2025-ad5ed3d1ec (qemu-9.2.2-2.fc42) has been pushed to the Fedora 42 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.