From patchwork Wed Oct 31 17:54:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Salisbury X-Patchwork-Id: 991593 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42lbZG4j7Hz9sBQ; Thu, 1 Nov 2018 04:54:30 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1gHuh9-0000vR-0G; Wed, 31 Oct 2018 17:54:19 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1gHuh7-0000v9-Sj for kernel-team@lists.ubuntu.com; Wed, 31 Oct 2018 17:54:17 +0000 Received: from 1.general.jsalisbury.us.vpn ([10.172.67.212] helo=salisbury) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1gHuh7-0001F6-Ia for kernel-team@lists.ubuntu.com; Wed, 31 Oct 2018 17:54:17 +0000 Received: by salisbury (Postfix, from userid 1000) id 3D9B67E2D68; Wed, 31 Oct 2018 13:54:16 -0400 (EDT) From: Joseph Salisbury To: kernel-team@lists.ubuntu.com Subject: [SRU][Xenial][Bionic][Cosmic][PATCH 0/2] Fixes for LP:1800641 Date: Wed, 31 Oct 2018 13:54:14 -0400 Message-Id: X-Mailer: git-send-email 2.17.1 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1800641 == SRU Justification == IBM is requesting these commits in s390 for X, B and C. The bug description the commits fix is as follows: Description: qeth: Fix potential array overrun in cmd/rc lookup Symptom: Infinite loop when processing a received cmd. Problem: qeth_get_ipa_cmd_name() and qeth_get_ipa_msg() are used to build human-readable messages for received cmd data. == Fixes == 065a2cdcbdf8 ("s390: qeth_core_mpc: Use ARRAY_SIZE instead of reimplementing its function") 048a7f8b4ec0 ("s390: qeth: Fix potential array overrun in cmd/rc lookup") == Regression Potential == Low. Limited to s390. == Test Case == A test kernel was built with these two patches and tested by IBM. The bug reporter states the test kernel resolved the bug. Jean Delvare (1): s390: qeth: Fix potential array overrun in cmd/rc lookup zhong jiang (1): s390: qeth_core_mpc: Use ARRAY_SIZE instead of reimplementing its function drivers/s390/net/qeth_core_main.c | 2 +- drivers/s390/net/qeth_core_mpc.c | 33 ++++++++++++++++----------------- drivers/s390/net/qeth_core_mpc.h | 4 ++-- 3 files changed, 19 insertions(+), 20 deletions(-) Acked-by: Stefan Bader Acked-by: Kleber Sacilotto de Souza