Bug 1874780
Summary: | -prom-env does not validate input | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Greg Kurz <gkurz> |
Component: | qemu-kvm | Assignee: | Greg Kurz <gkurz> |
qemu-kvm sub component: | Devices | QA Contact: | Min Deng <mdeng> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | ddepaula, jwboyer, qzhang, virt-maint |
Version: | 8.3 | ||
Target Milestone: | rc | ||
Target Release: | 8.4 | ||
Hardware: | ppc64 | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-4.2.0-35.module+el8.4.0+8453+f5da6c50 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 15:21:44 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Greg Kurz
2020-09-02 08:24:04 UTC
Reproduced the issue with old builds
qemu-kvm-4.2.0-34.module+el8.3.0+7976+077be4ec.ppc64le
verified the bug with the following build
qemu-kvm-4.2.0-35.module+el8.4.0+8453+f5da6c50.ppc64le
[root@ibm-p9wr-02 qemu-kvm]# /usr/libexec/qemu-kvm $(for ((x=0;x<128;x++)); do \
> echo -n " -prom-env "$(for ((y=0;y<1024;y++)); do echo -n x ; done) ; \
> done)
qemu-kvm: NVRAM is too small. Try to pass less data to -prom-env
The original issue has been fixed, there's no coredump anymore, thanks.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1762 |