Testing race conditions with memory access tracing and stack-based delay injection
A security researcher describes a method for testing race conditions by tracing memory access and injecting delays based on stack information. Race conditions are difficult to confirm, reproduce in regression tests and discover with fuzzers because they depend on particular timings between concurrent operations. The researcher says Linux kernel investigations have often required recompiling the kernel with conditional delays, and discusses approaches for testing such bugs on other platforms.
AI-written summary, checked against the cited sources. How summaries work
