Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 3 Sep 2009 15:11:21 -0700
From: Greg KH <>
Cc: "Steven M. Christey" <>, Greg KH <>
Subject: Re: CVE request: kernel: tty: make sure to flush
 any pending work when halting the ldisc

On Mon, Aug 31, 2009 at 11:52:21AM +0800, Eugene Teo wrote:
> The tty ldisc code was rewritten to use proper reference counts (commits 
> 65b770468e98 and cbe9352fa08f) in order to avoid a race with hangup, but 
> it also introduced another bug that can result in various problems such 
> as a NULL pointer dereference in run_timer_softirq() or a BUG() in 
> worker_thread. More info in the patch.
> Upstream commit:
> Reproducer:
> Backtrace:
> I believe this affects kernel versions greater than v2.6.26. The code in 
> drivers/char/tty_ldisc.c was from drivers/char/tty_io.c before it was 
> splitted into its own file in v2.6.27-rc1 (commit 01e1abb2). I did not 
> investigate further.

Are you sure about this?  It only looks to be a problem in the 2.6.31-rc
tree, as both of the above referenced patches are in that tree (showed
up in 2.6.31-rc6).

Do you have a backported patch to 2.6.30 that you think fixes the


greg k-h

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.