Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8117751ybn; Tue, 1 Oct 2019 03:33:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqgZt2I8lHih/mXbE5X9z3bFK8nkVelp3GOJKp+SQwea4ETiPDSFZwtxRouqyZFKiwDItp X-Received: by 2002:aa7:df8e:: with SMTP id b14mr2257601edy.65.1569926002066; Tue, 01 Oct 2019 03:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569926002; cv=none; d=google.com; s=arc-20160816; b=F5K7HCgrqesuWIo3RzJmIez+WWGysZkbKVZ5b05Nxd6dlHO2akzc09EL918ZZm55HU 6V+NEuv3fUDhGHzO3gcUEgpxhg6SqkO7lPZEc9eOd36RswzK7gRnOaRxbRdCJwoUxbe6 SVO95Z5Nxs/YMc0IgugS1dDx80Ezl7Kz1enJ8dsl4XVMdM29qh495D3QDDOv37bAfXDl Q0yTiphuopBp7Sj0/GF4XZ+z2Nn6/8IjsR+4ysYKDm4mGoCJmOjusXd0vJI7r1uq6H0G lUpDF0yhIeQgxud9ZCwauFjjGnOS8scKbHlInmOEK30+KHwH4hiVBLHET5PPiCA7Cgpc kwgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=RoOu79csZ7AqaXDAqptQ6zp2k96qP4QNOgQPeyZoDFU=; b=bO69Isg6dmEaQfc0S25rmagxGoj3dfcvCCsESYTklMicKzOG+3d9NwRT2+NCa/dCFs VVQhcJz2egayL3d1Wzv11EHZzjVo8WJ7tQHZxPAdlRzteFkNV1u6nBrY7D/E4qXSSw1P z0fMNdSHogQ6idvAGCDRJUvlpk8cSx6io3be5TorNxA/4b/+I5d68waFAkTHoMhEb1m0 TNQM3I4FA5npobiw7lf5eMPOAVlOhsh53jGkfCRXsLxBmQhXmC7+8laI6hPPDT99Bm/I UyJ0mcHFjaMLIneVDNZ9t99EuKuyEXsyK5I/Sqlp7chCkVGY+JmYwmRZ+vCZeiFLR9Z8 QMrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e48si9287885eda.130.2019.10.01.03.32.57; Tue, 01 Oct 2019 03:33:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730881AbfJAK3x (ORCPT + 99 others); Tue, 1 Oct 2019 06:29:53 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:44267 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730596AbfJAK3l (ORCPT ); Tue, 1 Oct 2019 06:29:41 -0400 Received: by mail-lj1-f193.google.com with SMTP id m13so12723432ljj.11; Tue, 01 Oct 2019 03:29:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RoOu79csZ7AqaXDAqptQ6zp2k96qP4QNOgQPeyZoDFU=; b=cgGcquKF1cfyWqEb9ldWejkaQT6zudCzEaGNI+vUHfEMQhhAkfuFDYgVyoMc9JtQ2+ KKbqDJfQz9LTLIXWy/Hm5EKq5SRr/+C2xqxXbnls5zcAoxT9aBgVSvYq0TGCYI23gTMP 3HaNlpQZNwumwdEPhKQkAP1KfUenFUlWeMcLah+XYIymewDXKPpST9vdnigh3MvkMjUI IzeR0ajNnOg1qfohQtNILehWi2Dt0Qu1itA3PtyjGwrfCCAoNVLa7uDWb/wtnA7PNo79 Q7YbxYk3bWpqdqxd0wnGUZY5v13WTu5lTO3utfcSO/b1l6Law15gHiMGhIzzRYu26yvN h6/Q== X-Gm-Message-State: APjAAAUBN8urKuaCnifJsh15z3FcKcwnIbAQQZ7RYtUzZ6S/UrkHmhdA TxFGsijYAIukkQw5rLJ8GZAjBRzc X-Received: by 2002:a2e:58a:: with SMTP id 132mr14673453ljf.132.1569925778036; Tue, 01 Oct 2019 03:29:38 -0700 (PDT) Received: from xi.terra (c-51f1e055.07-184-6d6c6d4.bbcust.telenor.se. [85.224.241.81]) by smtp.gmail.com with ESMTPSA id 196sm3881434ljj.76.2019.10.01.03.29.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2019 03:29:37 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.92.2) (envelope-from ) id 1iFFPd-000361-5P; Tue, 01 Oct 2019 12:29:45 +0200 From: Johan Hovold To: Wolfgang Grandegger , Marc Kleine-Budde Cc: "David S. Miller" , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] can: fix use-after-free on USB disconnect Date: Tue, 1 Oct 2019 12:29:12 +0200 Message-Id: <20191001102914.4567-1-johan@kernel.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Syzbot reported a use-after-free on disconnect in mcba_usb and a quick grep revealed a similar issue in usb_8dev. Compile-tested only. Johan Johan Hovold (2): can: mcba_usb: fix use-after-free on disconnect can: usb_8dev: fix use-after-free on disconnect drivers/net/can/usb/mcba_usb.c | 3 +-- drivers/net/can/usb/usb_8dev.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) -- 2.23.0