Message ID | 20200128135819.899539624@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=oJ2n=3R=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7602BC2D0DB for <stable@archiver.kernel.org>; Tue, 28 Jan 2020 14:01:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4EBBD2468F for <stable@archiver.kernel.org>; Tue, 28 Jan 2020 14:01:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580220107; bh=XKIqmR/yOlhzJCX0lIwbHQgrpdZT0G1ZKeUb032zTCw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=xSjTt88SNhrG4I59eSVizduv6YGjpKewewHpXKTsdK19IHYflh1affFG7ja0/hcLA 7Wk3uUWoWUZn5eruPl8f6OvG7Su3iqxdqufKPgSIVCquJNZSwAwnzsU6mEjLK905pd 3c2aSlnYGztS17IEincwbvn8xGtIpIaX16hvzAho= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727168AbgA1OBq (ORCPT <rfc822;stable@archiver.kernel.org>); Tue, 28 Jan 2020 09:01:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:47890 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727495AbgA1OBp (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 28 Jan 2020 09:01:45 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1EC2C24685; Tue, 28 Jan 2020 14:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580220104; bh=XKIqmR/yOlhzJCX0lIwbHQgrpdZT0G1ZKeUb032zTCw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LItxagg8vnpwYfuV5hqjCBfAe4wEBQJrIil3SKpWZzjMOg1npS/QcWubQY/yx29r4 zvTsgtKhrSVXjOp690zq5BTrL8T4EkLvveGDV7IhYj8k8533jYWTkETJKiMZ3B6vqK 0rQPlWjl6lWxuBUBkS35J9P1XSWg77M0lxAo8Btk= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Ilja Van Sprundel <ivansprundel@ioactive.com>, Michael Ellerman <mpe@ellerman.id.au>, "David S. Miller" <davem@davemloft.net> Subject: [PATCH 5.4 019/104] airo: Fix possible info leak in AIROOLDIOCTL/SIOCDEVPRIVATE Date: Tue, 28 Jan 2020 14:59:40 +0100 Message-Id: <20200128135819.899539624@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200128135817.238524998@linuxfoundation.org> References: <20200128135817.238524998@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/net/wireless/cisco/airo.c +++ b/drivers/net/wireless/cisco/airo.c @@ -7813,7 +7813,7 @@ static int readrids(struct net_device *d return -EINVAL; } - if ((iobuf = kmalloc(RIDSIZE, GFP_KERNEL)) == NULL) + if ((iobuf = kzalloc(RIDSIZE, GFP_KERNEL)) == NULL) return -ENOMEM; PC4500_readrid(ai,ridcode,iobuf,RIDSIZE, 1);