In the Linux kernel, the following vulnerability has been resolved:
riscv: fix race when vmap stack overflow
Currently, when detecting vmap stack overflow, riscv firstly switches to the so called shadow stack, then use this shadow stack to call the get_overflow_stack() to get the overflow stack. However, there's a race here if two or more harts use the same shadow stack at the same time.
To solve this race, we introduce spin_shadow_stack atomic var, which will be swap between its own address and 0 in atomic way, when the var is set, it means the shadow_stack is being used; when the var is cleared, it means the shadow_stack isn't being used.
[Palmer: Add AQ to the swap, and also some comments.]
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Oct 23, 2024 | Oct 23, 2024 |
| Ubuntu | — | Upgrade linux-riscv-5.15Upgrade linux-gcpUpgrade linux-aws-5.15Upgrade linux-oracle-5.15Upgrade linux-gkeopUpgrade linux-oracleUpgrade linux-azure-fde-5.15Upgrade linux-intel-iot-realtimeUpgrade linux-bluefieldUpgrade linux-nvidiaUpgrade linux-lowlatencyUpgrade linux-intel-iotgUpgrade linux-gkeUpgrade linux-gcp-5.15Upgrade linux-raspiUpgrade linux-realtimeUpgrade linux-hwe-5.15Upgrade linux-kvmUpgrade linux-ibmUpgrade linux-azureUpgrade linux-azure-fdeUpgrade linux-awsUpgrade linux-gkeop-5.15Upgrade linux-azure-5.15Upgrade linux-lowlatency-hwe-5.15Upgrade linuxUpgrade linux-intel-iotg-5.15 | Nov 19, 2024 | Oct 21, 2024 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub