Latest Linux kernel with ASAN detects illegal shift here https://github.com/intel/linux-sgx-driver/blob/54c9c4c1fe30f459abe7c4b9c153ed2967973c22/sgx_main.c#L224 instead of (1 << i) it should have been (1ULL << i)
Latest Linux kernel with ASAN detects illegal shift here
linux-sgx-driver/sgx_main.c
Line 224 in 54c9c4c
instead of (1 << i) it should have been (1ULL << i)