Skip to content

x86/dumpstack: Prevent access to foreign tasks user space

Thomas Gleixner lkml 1 version Applied

Status from this message: The following commit has been merged into the x86/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2x86/dumpstack: Dont try to access user space code of other tasksarch/x86/kernel/dumpstack.c+19 -40 replies
2/2x86/uaccess: Document copy_from_user_nmi()arch/x86/lib/usercopy.c+18 -40 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBorislav PetkovOleg Nesterov
1/2R-b T-b A-b
2/2Requested-by

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

Read the v2 thread

Cover letter [patch v2 0/2] x86/dumpstack: Prevent access to foreign tasks user space

This is the second version of the patch to prevent access to a foreign tasks user space in copy_code(). It addresses the review comments from Boris and adds a new patch which provides documentation for copy_from_user_nmi() to avoid further confusion about it's usage.

V1 can be found here:

https://lore.kernel.org/r/[email protected]

Thanks,

tglx