CVE-2024-38667

riscv: prevent pt_regs corruption for secondary idle threads

References

Notes

 carnil> Introduced in 9a2451f18663 ("RISC-V: Avoid using per cpu array for ordered
 carnil> booting")
 carnil> 2875fe056156 ("RISC-V: Add cpu_ops and modify default booting method").
 carnil> Vulnerable versions: 5.7-rc1.

Bugs

Status

Branch Status
upstream released (6.10-rc2) [a638b0461b58aa3205cd9d5f14d6f703d795b4af]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable N/A "Fixed before branching point"
6.9-upstream-stable released (6.9.4) [0c1f28c32a194303da630fca89481334b9547b80]
6.6-upstream-stable released (6.6.33) [3090c06d50eaa91317f84bf3eac4c265e6cb8d44]
6.1-upstream-stable released (6.1.93) [ea22d4195cca13d5fdbc4d6555a2dfb8a7867a9e]
5.10-upstream-stable needed
4.19-upstream-stable N/A "Vulnerable code not present"
sid released (6.9.7-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security released (6.1.94-1)
5.10-bullseye-security needed
4.19-buster-security N/A "Vulnerable code not present"