blob: 4a807c4436e390a4f0e7dfe74bb27e4bcafad28d (
plain) (
blame)
1
2
3
4
5
|
QEMU segfault (null pointer dereference) in sve_probe_page from ldff1* instructions
Description of problem:
After upgrading to QEMU v7.2.0 from v7.1.0, when executing any SVE ldff1* instructions with a faulting address, QEMU crashes due to a null pointer dereference at target/arm/sve_helper.c:5364
I believe this was introduced in b8967ddf393aaf35fdbc07b4cb538a40f8b6fe37 (@rth7680), since in that commit `full` is dereferenced before the `flags & TLB_INVALID_MASK` check at line 5369, and full is set to null by `probe_access_full` when `TLB_INVALID_MASK` is given.
|