Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1449303
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 1/3] x86/ptrace: Stop setting TS_COMPAT in ptrace code |
| Date | 2016-07-25 08:40 +0200 |
| Message-ID | <rYHIt-1cB-5@gated-at.bofh.it> (permalink) |
| References | <rMhqp-6JS-3@gated-at.bofh.it> <rMhqp-6JS-9@gated-at.bofh.it> <rYwDn-2Sx-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Andy Lutomirski <luto@amacapital.net> wrote: > On Mon, Jun 20, 2016 at 4:39 PM, Andy Lutomirski <luto@kernel.org> wrote: > > Setting TS_COMPAT in ptrace is wrong: if we happen to do it during > > syscall entry, then we'll confuse seccomp and audit. (The former > > isn't a security problem: seccomp is currently entirely insecure if a > > malicious ptracer is attached.) As a minimal fix, this patch adds a > > new flag TS_I386_REGS_POKED that handles the ptrace special case. > > Hi Ingo- > > Could you apply this one patch for 4.8? While I don't think it's a > significant security issue in 4.7 or earlier, leaving it unfixed in > 4.8 will introduce a potentially unpleasant interaction with some > seccomp changes that are queued up in the > security tree for 4.8. > > It will have a trivially-resolvable conflict with -mm. > > The rest of the series this is in can wait. I don't mind the rest of the series either - could you please repost it (with the review feedback addressed)? Looks like that with minor changes the series has Oleg's Acked-by? Thanks, Ingo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v3 1/3] x86/ptrace: Stop setting TS_COMPAT in ptrace code Andy Lutomirski <luto@amacapital.net> - 2016-07-24 20:50 +0200
Re: [PATCH v3 1/3] x86/ptrace: Stop setting TS_COMPAT in ptrace code Ingo Molnar <mingo@kernel.org> - 2016-07-25 08:40 +0200
Re: [PATCH v3 1/3] x86/ptrace: Stop setting TS_COMPAT in ptrace code Oleg Nesterov <oleg@redhat.com> - 2016-07-25 18:40 +0200
Re: [PATCH v3 1/3] x86/ptrace: Stop setting TS_COMPAT in ptrace code Andy Lutomirski <luto@amacapital.net> - 2016-07-25 19:00 +0200
csiph-web