x86/entry: Fix 3 suspicious bugs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | X86/db: Change __this_cpu_read() to this_cpu_read() in hw_breakpoint_active()arch/ | +1 | 4 replies | |
| 2/3 | x86/hw_breakpoint: Add stack_canary to hw_breakpoints denylistarch/ | +8 | 1 reply | |
| 3/3 | x86/sev: The code for returning to user space is also in syscall gaparch/ arch/ arch/ +1 more | +12 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] x86/entry: Fix 3 suspicious bugs
From: Lai Jiangshan <[email protected]>
The problems described in patch1/patch2 can only happen when the system owner is really paranoid.
For patch3, I hardly believe #VC can hit in the code range returining to user without implementing more SEV features.
Lai Jiangshan (3):
X86/db: Change __this_cpu_read() to this_cpu_read() in
hw_breakpoint_active()
x86/hw_breakpoint: Add stack_canary to hw_breakpoints denylist x86/sev: The code for returning to user space is also in syscall gap
arch/x86/entry/entry_64.S | 2 ++ arch/x86/entry/entry_64_compat.S | 2 ++ arch/x86/include/asm/debugreg.h | 2 +- arch/x86/include/asm/proto.h | 4 ++++ arch/x86/include/asm/ptrace.h | 4 ++++ arch/x86/kernel/hw_breakpoint.c | 8 ++++++++ 6 files changed, 21 insertions(+), 1 deletion(-)
Signature · 1 line
2.19.1.6.gb485710b