Hacker News with Generative AI: Race Conditions

Branch Privilege Injection: Exploiting branch predictor race conditions (ethz.ch)
Branch Privilege Injection (CVE-2024-45332) brings back the full might of branch target injection attacks (Spectre-BTI) on Intel. Intel’s hardware mitigations against these types of attacks have held their ground for almost 6 years. In our work, we demonstrate how these mitigations can be broken due to a race condition in Intel CPUs.
How Distributed Systems Avoid Race Conditions Using Pessimistic Locking? (scalablethread.com)
When two updates to a data source are executed in a single-process system, they are always run one after the other, as the process will only be working on one update at a particular time. However, in a multi-process system, there is a chance that the two updates can be executed at the same time by the processes on the shared data source.
Race conditions in Linux Kernel perf events (binarygecko.com)
The problem is that the lock that is taken is on event rather than rb.
Single-packet race condition breaking the 65535 byte lim (flatt.tech)