--Problem Description--- Using an uretprobe in QEMU without hardware acceleration causes a SIGSEGV.
---uname output--- na
Machine Type = na
---Debugger--- A debugger is not configured
---Steps to Reproduce--- Run attach_probe eBPF testcase in QEMU.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/prog_tests/attach_probe.c?h=v5.12#n73
Userspace tool common name: na The userspace tool has the following bit modes: 64-bit Userspace rpm: na Userspace tool obtained from project website: na
Fix: https://git.qemu.org/?p=qemu.git;a=commit;h=86131c71b13257e095d8c4f4453d52cbc6553c07
Package qemu focal (20.04LTS) 1:4.2-3ubuntu6.14 groovy (20.10) 1:5.0-5ubuntu9.6 hirsute (21.04) 1:5.2+dfsg-9ubuntu2 impish (metapackages): 1:5.2+dfsg-9ubuntu3
It would be good to have this fix in 20.04 and the later ones.
The patch applies cleanly to all levels.
--Problem Description---
Using an uretprobe in QEMU without hardware acceleration causes a SIGSEGV.
---uname output---
na
Machine Type = na
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Run attach_probe eBPF testcase in QEMU.
https:/ /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ tree/tools/ testing/ selftests/ bpf/prog_ tests/attach_ probe.c? h=v5.12# n73
Userspace tool common name: na
The userspace tool has the following bit modes: 64-bit
Userspace rpm: na
Userspace tool obtained from project website: na
Fix: https:/ /git.qemu. org/?p= qemu.git; a=commit; h=86131c71b1325 7e095d8c4f4453d 52cbc6553c07
Package qemu
focal (20.04LTS) 1:4.2-3ubuntu6.14
groovy (20.10) 1:5.0-5ubuntu9.6
hirsute (21.04) 1:5.2+dfsg-9ubuntu2
impish (metapackages): 1:5.2+dfsg-9ubuntu3
It would be good to have this fix in 20.04 and the later ones.
The patch applies cleanly to all levels.