HomeFreeBSD

linux(4): Prevent integer overflow in futex_requeue.

Description

linux(4): Prevent integer overflow in futex_requeue.

To prevent a signed integer overflow in futex_requeue add a sanity check
to catch negative values of nrwake or nrrequeue.

(cherry picked from commit 25b09d6f398ea8a260ee8e2e8209fd76c61e13ee)

Details

Provenance
dchaginAuthored on Jun 10 2021, 11:23 AM
markjCommitted on Jun 29 2021, 6:47 PM
Parents
rG7bbd5ebae80b: Fix a use-after-free in an error case.
Branches
Unknown
Tags
Unknown