Researchers find rare bugs in glibc memrchr AVX2 and EVEX
Researchers investigating scalable formal verification for x86 binaries attempted to formally verify glibc memrchr variants, discovering and confirming two rare bugs in the EVEX and AVX2 implementations. The EVEX variant bug involved a 32-bit subtraction instruction performing a modulo operation, while the AVX2 variant bug caused a wrap-around when a window began at address zero. The authors released proofs showing that these variants are otherwise bug-free once these edge cases are addressed with specific assumptions or code fixes. Open article →