blob: 0fea7d31017a82318c88418064db47e88de239b6 (
plain) (
blame)
1
2
3
4
5
|
The bug report deals with an issue in QEMU's user-mode emulation where it incorrectly maps the ELF interpreter at guest address 0 when `guest_base` is non-zero. This leads to segfaults and incorrect behavior in certain libraries like musl due to violating Linux's policy of not mapping anything at the first page. The problem lies within the `target_mmap()` function, which does not correctly handle a NULL address (0) as per POSIX standards when translating guest addresses to host addresses.
The issue is related to system calls, specifically how QEMU handles memory mapping syscalls and translates addresses between guest and host systems. Therefore, it falls under the category of **syscall** errors.
syscall
|