lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090402235508.31c7f2b6@lxorguk.ukuu.org.uk>
Date:	Thu, 2 Apr 2009 23:55:08 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Jiri Slaby <jirislaby@...il.com>
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Christophe Lermytte <christophe.lermytte@...mson.net>,
	linux-kernel@...r.kernel.org
Subject: Re: mutex_lock_slowpath warning using mxser tty driver
 (input/output error)

On Thu, 02 Apr 2009 22:23:57 +0200
Jiri Slaby <jirislaby@...il.com> wrote:

> On 04/02/2009 08:44 PM, Alan Cox wrote:
> >> It appears to want to lock a mutex in interrupt context, something
> >> that's a definite no-no.
> >>
> >> CCed the folks who might know a thing or two about the driver.
> > 
> > Moxa is not a USB driver so the USB trace at the end makes no sense at
> > all.
> 
> Yes, unreliable stack entries, but echo_set_canon_col is called from irq
> context and locks mutex.

Which means that either the driver is calling the ldisc receive handlers
from an IRQ directly (not allowed) or calling the tty_flip_buffer_push
paths and set tty->low_latency

2.6.29 is the first kernel that catches this bug with warnings.

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ