| Summary: | QEMU patch CVE-2022-4144 breaks qemu build when spice is enabled. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | mabnhdev | ||||||
| Component: | core | Assignee: | Unassigned <unassigned> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | Medium+ | CC: | mabnhdev, meta.mr.watcher, meta.watcher, poky.adt.watcher, poky.watcher, randy.macleod, steve | ||||||
| Version: | 4.0.7 | ||||||||
| Target Milestone: | 4.0.9 | ||||||||
| Hardware: | All | ||||||||
| OS: | x86_64 | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||
| Attachments: |
|
||||||||
Created attachment 4927 [details]
Log file of the build failure.
|
Created attachment 4926 [details] Bash script to reproduce the error. Run with no arguments. Release 4.0.7 added CVE-2022-4144.patch to qemu. This patch causes a compile error when spice is enabled in qemu on the x86-64 architecture. ../qemu-6.2.0/hw/display/qxl.c: In function 'qxl_phys2virt': | ../qemu-6.2.0/hw/display/qxl.c:1477:67: error: 'size' undeclared (first use in this function); did you mean 'gsize'? | 1477 | if (!qxl_get_check_slot_offset(qxl, pqxl, &slot, &offset, size)) { | | ^~~~ | | gsize I have included a script that will reproduce the problem. I have also included the full build log.