Skip to content

x86/process: Sanitize bound checks in get_wchan() and unify 32/64 bit

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/process: Add proper bound checks in 64bit get_wchan()arch/x86/kernel/process_64.c+42 -106 replies
2/2x86/process: Unify 32bit and 64bit implementations of get_wchan()arch/x86/kernel/process.c arch/x86/kernel/process_32.c arch/x86/kernel/process_64.c+55 -840 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBorislav PetkovDmitry Vyukov
SeriesR-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 0/2] x86/process: Sanitize bound checks in get_wchan() and unify 32/64 bit

As reported by several people the bound checks in get_wchan() on x86/64bit are wrong.

The following series addresses that problem and as a consequence unifies the needlessly different implementations of 32 and 64 bit.

Thanks,

tglx

---
 process.c    |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 process_32.c |   28 ----------------------------
 process_64.c |   24 ------------------------
 3 files changed, 55 insertions(+), 52 deletions(-)