From patchwork Fri Mar 12 14:35:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1452121 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) 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 4DxpJp31dQz9sVw; Sat, 13 Mar 2021 01:35:54 +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 1lKitJ-0008Ov-3l; Fri, 12 Mar 2021 14:35:49 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lKitH-0008OY-34 for kernel-team@lists.ubuntu.com; Fri, 12 Mar 2021 14:35:47 +0000 Received: from mail-wr1-f71.google.com ([209.85.221.71]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lKitG-00056K-R5 for kernel-team@lists.ubuntu.com; Fri, 12 Mar 2021 14:35:46 +0000 Received: by mail-wr1-f71.google.com with SMTP id e13so11229759wrg.4 for ; Fri, 12 Mar 2021 06:35:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Q/rnPchPXo6yyfuehxjDNHQ69lCEviv7KTWJTLGWriQ=; b=WV/v+zf6q05+maczsCj/3N5Nfj8NuxxHT+KYNteBTuxJbZ3tsRlO8QbP6ONaVgmyrl gct6T2/AiHIPFMa6+AgQNA0q/4E20tgphFeAPltKTtr/mlVLUNAVx01/EeCdNBburl57 z0A/5lQX046Ze1gLuqTW2CT7uBtX2FYy4otrUPkU3CQAI86G1OjPe7JCr5t2873CUkpg TMAnQ6TLWJ4HZVgX4SDO0U5zxU8PZROZ8j7EqjQyZKTB6mxX3HnF3JjOFpC7tNKYU1KL cnPCxgv6pbcemsGRh77EcxDMXJNKW0IWqpg5Cr/GlIGFC0jtPj/vk2kSkUca++Ce/ZCx A3ZQ== X-Gm-Message-State: AOAM531rM9LI0FeghnyktlhlCkPDDEJXEyveS3xgr9dALWI2ihT+HzR+ qsARBUGRo/ORZFqA995TTw3SqnMPGj1O2Ibc8iUWsPVqCkJj1RjG9aV57qYxcFUsJHpEBe2u8e3 TwecT5vLn4QhjqwYt9d7uMreElSVSFv0M4WdiejyBPw== X-Received: by 2002:adf:d217:: with SMTP id j23mr14757591wrh.113.1615559746350; Fri, 12 Mar 2021 06:35:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJydkXqjCHWs+aMR5bEfiqHxdiPso76hpRQk/T9uj7U1Ae1oz2tKUABsPyrhpWHQpuYRPpHbew== X-Received: by 2002:adf:d217:: with SMTP id j23mr14757583wrh.113.1615559746254; Fri, 12 Mar 2021 06:35:46 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c131sm2382231wma.37.2021.03.12.06.35.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 06:35:45 -0800 (PST) From: Krzysztof Kozlowski To: kernel-team@lists.ubuntu.com Subject: [SRU][X][PATCH 0/1] CVE-2019-19061 Date: Fri, 12 Mar 2021 15:35:36 +0100 Message-Id: <20210312143537.63316-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" CVE-2019-19061 [Impact] A memory leak in adis16400 IIO IMU driver could cause excessive memory usage via the IIO interface. [Fix] Upstream commit 9c0530e898f384c5d279bfcebd8bb17af1105873 with adjustement: it applies to drivers/iio/imu/adis16400_buffer.c instead of drivers/iio/imu/adis_buffer.c (because later that code was moved from adis16400_buffer.c to adis_buffer.c). [Test Case] None. [Regression Potential] Patch touches error path for memory allocation failure so that code won't be called too much. Exact backport is also in linux-4.19.y commit c57c213538156bff971aa352d9d7749196dfbfd8. Best regards, Krzysztof Navid Emamdoost (1): iio: imu: adis16400: fix memory leak drivers/iio/imu/adis16400_buffer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Acked-by: Colin Ian King Acked-by: Tim Gardner