From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752044AbdJDJCB (ORCPT ); Wed, 4 Oct 2017 05:02:01 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:35362 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751946AbdJDJB6 (ORCPT ); Wed, 4 Oct 2017 05:01:58 -0400 X-Google-Smtp-Source: AOwi7QAFPka5I+cM96IH2w2d47tLUN0uC0Mf0Z4fw6yEAMxc5Wzjy85F24G/EWSoC4ytpTYjSByTpg== From: Johan Hovold To: linux-usb@vger.kernel.org Cc: Andrey Konovalov , linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] USB: serial: console: fix two use-after-free bugs Date: Wed, 4 Oct 2017 11:01:11 +0200 Message-Id: <20171004090113.24218-1-johan@kernel.org> X-Mailer: git-send-email 2.14.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A recent clean-up patch of mine did more than intended and introduced the potential for a use-after-free on disconnect under some very specific circumstances. Fortunately those circumstances were not obscure enough to prevent Andrey's fuzzing from triggering the bug. While fixing this one I found a related issue through inspection which dates back to 2006. Johan Johan Hovold (2): USB: serial: console: fix use-after-free on disconnect USB: serial: console: fix use-after-free after failed setup drivers/usb/serial/console.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.14.2