]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/ia32: don't save registers on audit call
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 9 Jan 2018 04:09:53 +0000 (23:09 -0500)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:25:28 +0000 (10:25 -0800)
commit8c51a99e0cbbb8fab93159d39eb6c437caa6f2d0
tree2bf1ac41298a2086c2189f02770d5ccaf8454af6
parentd70e64daf839dbbcd534c982f2df2035f5a3f518
x86/ia32: don't save registers on audit call

This is a followup on (x86/ia32: save and clear registers on syscall.)
where we would save the registers at the start of the system call
and also clear them (r8->15). But the ptrace syscall would do
the same thing (save) which meant we would end up over-writting them
with zeros.

Orabug: 27344012
CVE:CVE-2017-5715

Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/ia32/ia32entry.S