From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754767AbbI3IjE (ORCPT ); Wed, 30 Sep 2015 04:39:04 -0400 Received: from www.linutronix.de ([62.245.132.108]:59687 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753711AbbI3IjB (ORCPT ); Wed, 30 Sep 2015 04:39:01 -0400 Message-Id: <20150930082754.401022511@linutronix.de> User-Agent: quilt/0.63-1 Date: Wed, 30 Sep 2015 08:38:21 -0000 From: Thomas Gleixner To: LKML Cc: Andrey Ryabinin , Andy Lutomirski , Andrey Konovalov , Kostya Serebryany , Alexander Potapenko , kasan-dev , Borislav Petkov , Denys Vlasenko , Andi Kleen , x86@kernel.org, Dmitry Vyukov , Sasha Levin , Wolfram Gloger Subject: [patch 0/2] x86/process: Sanitize bound checks in get_wchan() and unify 32/64 bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)