36fa3e5008
The "index" is a user provided value from 0-USHRT_MAX. If it's over
TEE_NUM_SESSIONS (31) then it results in an out of bounds read when we
call test_bit(index, sess->sess_mask).
Fixes:
|
||
---|---|---|
.. | ||
amdtee_if.h | ||
amdtee_private.h | ||
call.c | ||
core.c | ||
Kconfig | ||
Makefile | ||
shm_pool.c |