[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1308091130420.13089@pobox.suse.cz>
Date: Fri, 9 Aug 2013 11:31:15 +0200 (CEST)
From: Jiri Kosina <jkosina@...e.cz>
To: Manoj Chourasia <mchourasia@...dia.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Peter Wu <lekensteyn@...il.com>
Subject: Re: [PATCH] hidraw: correctly deallocate memory on device
disconnect
On Mon, 22 Jul 2013, Manoj Chourasia wrote:
> This is mail is in regard to your commit for hidaw devices. We were
> seeing kernel crashes while connect and disconnect a hidraw device and
> we were hitting rb tree corruption in vmalloc and kernel was crashing
> because of null pointer de-reference. Later we figure out that was
> because the hid device disconnect is freeing memory which later got
> access by hidraw_read and hid_write.
Now applied, thanks Manoj, thanks Peter.
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists