Description of problem: [ppc64le]boot up a guest with 128 numa nodes ,qemu got coredump Version-Release number of selected component (if applicable): kenrel-4.18.0-259.el8.dt4.ppc64le qemu-kvm-core-5.2.0-1.module+el8.4.0+9091+650b220a.ppc64le How reproducible: 4/4 Steps to Reproduce: 1.boot up a guest with 128 numa nodes 2. 3. Actual results: (qemu) qemu-kvm: ../util/error.c:59: error_setv: Assertion `*errp == NULL' failed. 128.sh: line 1: 320147 Aborted (core dumped) /usr/libexec/qemu-kvm -name 'avocado-vt-vm1' -s Expected results: Boot up successfully Additional info: See command line in attachment, it can be reproduced via manual and auto test.
It's not reproducible on the following builds, qemu-kvm-5.0.0-0.module+el8.3.0+6620+5d5e1420.ppc64le kernel-4.18.0-213.el8.ppc64le
Created attachment 1739952 [details] commandanderror
Created attachment 1739953 [details] cmd
Easily reproduced upstream. There's a buffer overflow in the sPAPR NUMA init code. Fix looks trivial. I'll post it ASAP.
Posted fix for upstream: https://lists.nongnu.org/archive/html/qemu-devel/2020-12/msg05313.html
Tried this bug with the new builds, qemu-kvm-5.2.0-3.module+el8.4.0+9499+42e58f08 Steps, please refer to comment0 Actual results, Qemu worked well without any core dump Expected results, Qemu works well without any core dump
Base on comment9, move it to be verified, thanks a lot.
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 (virt:av 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/RHBA-2021:2098