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.]
CVSS Details
- CVSS 3.1 Base Score: 7
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Oct 23, 2024 | Oct 23, 2024 |
| Ubuntu | — | Upgrade linux-oracle-5.15Upgrade linux-gkeopUpgrade linux-lowlatencyUpgrade linux-intel-iot-realtimeUpgrade linux-bluefieldUpgrade linux-intel-iotgUpgrade linux-aws-5.15Upgrade linux-gkeUpgrade linux-gcpUpgrade linux-riscv-5.15Upgrade linux-oracleUpgrade linux-azure-fde-5.15Upgrade linux-nvidiaUpgrade linux-gkeop-5.15Upgrade linux-kvmUpgrade linux-azure-fdeUpgrade linux-raspiUpgrade linuxUpgrade linux-azure-5.15Upgrade linux-awsUpgrade linux-realtimeUpgrade linux-lowlatency-hwe-5.15Upgrade linux-ibmUpgrade linux-intel-iotg-5.15Upgrade linux-azureUpgrade linux-hwe-5.15Upgrade linux-gcp-5.15 | Nov 19, 2024 | Oct 21, 2024 |
Prioritise with Active Threat Intelligence
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