[Devel] [PATCH hci-8.1 1/2] selftests/futex: run futex_waitv argument checks with a valid waitv
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Nov 3 18:13:44 MSK 2026
Applying as is.
On 11/2/26 22:04, Eva Kurchatova wrote:
> Reset waitv[] to valid private futexes before the checks and pass it to
> the clockid check.
- Please send the same fix upstream, on top of a894f6f40332. I created
a task for that, it is assigned to you:
https://virtuozzo.atlassian.net/browse/VSTOR-153196
Mainline still has both problems in the harness version. Each TEST runs
with a zeroed waitv[], so unaligned_address and null_address get EINVAL
from the zero flags of waitv[1..], and invalid_clockid passes NULL
waiters. Those tests pass whatever the kernel does with the argument
under test. There null_address would then expect EFAULT, as here.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list