Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849587 - app-emulation/qemu: crash with FORTIFY_SOURCE=3 in pci
Summary: app-emulation/qemu: crash with FORTIFY_SOURCE=3 in pci
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: John Helmert III
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 847148
  Show dependency tree
 
Reported: 2022-06-04 02:35 UTC by Sam James
Modified: 2022-06-04 03:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-04 02:35:08 UTC
Not hit this myself but saw opensuse did.

Patch: https://lists.gnu.org/archive/html/qemu-devel/2022-05/msg06183.html
Comment 1 Larry the Git Cow gentoo-dev 2022-06-04 03:01:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2440aa2b4c8ceaf4195e30f6b4888ede061d8dd

commit a2440aa2b4c8ceaf4195e30f6b4888ede061d8dd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-04 02:59:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-04 03:01:29 +0000

    app-emulation/qemu: backport virtio-iscsi CPU usage fix; FORTIFY_SOURCE=3 fixes
    
    - Backport virtio-iscsi CPU usage fix;
    - Don't force -D_FORTIFY_SOURCE=2 (we patch it into toolchain so need to set it,
    and by doing -U... -D...=2, it prevents usage of =3)
    - Backport FORTIFY_SOURCE=3 crash fix
    
    Closes: https://bugs.gentoo.org/849587
    Closes: https://bugs.gentoo.org/849500
    Signed-off-by: Sam James <sam@gentoo.org>

 .../qemu-7.0.0-pci-overflow-fortify-source-3.patch |  94 +++
 .../qemu/files/qemu-7.0.0-virtio-scsi-fixes.patch  | 182 ++++
 app-emulation/qemu/qemu-7.0.0-r2.ebuild            | 922 +++++++++++++++++++++
 app-emulation/qemu/qemu-9999.ebuild                |  36 +-
 4 files changed, 1220 insertions(+), 14 deletions(-)