Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp205542pxb; Mon, 25 Oct 2021 06:45:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzF9PIrazNMMAGuev/g5jCy1uwWPGVNIr6XfCzAQumK/lin4kNnthjzVreeVLxmcvkfFsRP X-Received: by 2002:a05:6402:40c2:: with SMTP id z2mr27238058edb.41.1635169557032; Mon, 25 Oct 2021 06:45:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635169557; cv=none; d=google.com; s=arc-20160816; b=iCC94fu6tKPYTaqYJh44d/ziihjx3P+4mID4yN3uPmMukvMgOfTuNkfZcf0UHbmA4V j/j6qcWnznoaarFX8nU3vb7NtctscaCIe1uaHH0V/PYBFq7Q0J2TJePacIdrIYjq8MPB N/S0wXR5v+8oxHgSo5LB2Tbnkm4ZCFxaJZTq32qQ06aqUP37+zEybS8UaE0U9YzZ0rA3 qhT27vaEpEoSG18GrxwHOlbT56d1gnT81R16D3PjXX5XkRq24ApF/CsvVwUHEcs7Y5nt GAoTUk9uW2e/EWpW7TC3o9RHqqukTedU+vnA5WaJdgUmDL6ZLulTsMOHsB0RbbEc1FyU wWNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9EPOGA3FnwCOYAgXrSbI+Jdqt3OrDvjWaYUm7of35Mo=; b=HkG2JtkEPWDbj5BoweuAsAMgVI+fG+xGddpdEcs3gzWNhv48UJDIqhNk6t0wWYfCMp 2jPvyPw5mZbwenl4aXro1QEGvTSknIjYgrvjK3F0aQI3JSHt8qeRrr/+vKEx4SerlU/C rEto14rzaZXaUjySqYiZV+A9TD6eWhvAy25GK7d6L9N8wm4isZOeOU7wkGLxRp+Z9Ah1 TWatblSPQZjim2B1XXC+grx6gWe5UxHw4BYbfL9oBj1njgvK6TuAeZvTun07l5PODnQr A4NjTCBMEvBnFSL2CKoBY7JnrrlPH/rg4GjHlQGBDhvjzUYHCT8CrIiB1SKRPoV8ZUYH iMTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nXz6jfn7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si27039306edb.152.2021.10.25.06.45.31; Mon, 25 Oct 2021 06:45:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nXz6jfn7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233297AbhJYLtD (ORCPT + 99 others); Mon, 25 Oct 2021 07:49:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:39234 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233253AbhJYLso (ORCPT ); Mon, 25 Oct 2021 07:48:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 843506108D; Mon, 25 Oct 2021 11:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635162381; bh=frbBx4Cvan4bEpszMIiMs7IANL/KFIL4Nu3BnoOMJ5g=; h=From:To:Cc:Subject:Date:From; b=nXz6jfn70XAQMAZnTfvabq599IUwam8RCAUtkNJRBk/+u6440XB8hs2NhLxLOqDHn zfer4Bpx/M4FbiPzatDFoRrYJVl7YaGSfGOHp9bF2gU+fYXaStiCoM5kcveT1Tg5sa Vu5RMnHA+pw7tmwVAvp76c+yyprbwgf1SR33KuEeGclfYR+fGkL5WNu1bDlHMtI893 iiQhO8vHBMFO+hvp3GCzK7lmR7/z8wUTTN3s/XaOifWsHGI4PyedA7WJ0L4OYs5CzR 4vIPirQotiUT7p+PoDZmrvr4ORTgt/pOXrlSc7Dmbx7+xCUAON/+G5NiLKNAPonh2S ZkdtQ0FJAKpsQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1meyQV-0001DB-CB; Mon, 25 Oct 2021 13:46:04 +0200 From: Johan Hovold To: Ian Abbott , H Hartley Sweeten Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/5] comedi: misc fixes Date: Mon, 25 Oct 2021 13:45:27 +0200 Message-Id: <20211025114532.4599-1-johan@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixes a number of issues in the comedi drivers that were found through inspection. Johan Johan Hovold (5): comedi: ni_usb6501: fix NULL-deref in command paths comedi: dt9812: fix DMA buffers on stack comedi: vmk80xx: fix transfer-buffer overflows comedi: vmk80xx: fix bulk-buffer overflow comedi: vmk80xx: fix bulk and interrupt message timeouts drivers/comedi/drivers/dt9812.c | 109 +++++++++++++++++++++------- drivers/comedi/drivers/ni_usb6501.c | 8 ++ drivers/comedi/drivers/vmk80xx.c | 28 +++---- 3 files changed, 105 insertions(+), 40 deletions(-) -- 2.32.0