In the Linux kernel, the following vulnerability has been resolved: regmap: Fix race condition in hwspinlock irqsave routine Previously, the address of the shared member '&map->spinlock_flags' was passed directly to 'hwspin_lock_timeout_irqsave'. This creates a race condition where multiple contexts contending for the lock could overwrite the shared flags variable, potentially corrupting the state for the current lock owner. Fix this by using a local stack variable 'flags' to store the IRQ state temporarily.
https://git.kernel.org/stable/c/c2d2cf710dc3ee1a69e00b4ed8de607a92a07889
https://git.kernel.org/stable/c/4b58aac989c1e3fafb1c68a733811859df388250
https://git.kernel.org/stable/c/4aab0ca0a0f7760e33edcb4e47576064d05128f5
https://git.kernel.org/stable/c/24f31be6ad70537fd7706269d99c92cade465a09