lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 4 Dec 2015 17:53:33 +0000 From: "Luck, Tony" <tony.luck@...el.com> To: Borislav Petkov <bp@...en8.de> CC: "Raj, Ashok" <ashok.raj@...el.com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>, "Andy Lutomirski (luto@...capital.net)" <luto@...capital.net> Subject: RE: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. > I don't mean that - I mean the stuff we do before we call > cpu_is_offline() like ist_enter, this_cpu_inc(mce_exception_count), > etc. Then we do a whole another bunch of stuff at the "out:" label like > printk and whatnot which shouldn't run on an offlined CPU. ist_enter() is black magic to me. Andy? Would you be worried about executing ist_{enter,exit}() on a cpu that was once online, but is currently marked offline by Linux? Bumping mce_exception_count doesn't look like a big deal either way. It is visible in /proc/interrupts so I'd like to keep that honest (if the cpu comes back online again). But we could do the offline check before this. There will be no printk() executed in the tail of the function. after we clear MCG_STATUS at the (new location of) the out: label we will see recover_paddr is still ~0ull and "goto done". -Tony
Powered by blists - more mailing lists