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]
Date:	Sat, 29 Aug 2009 22:41:21 +0100
From:	Catalin Marinas <catalin.marinas@....com>
To:	"Luis R. Rodriguez" <mcgrof@...il.com>
Cc:	linux-kernel@...r.kernel.org,
	"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
	Greg Kroah-Hartman <gregkh@...e.de>
Subject: Re: memleaks, acpi + ext4 + tty

On Fri, 2009-08-28 at 09:52 -0700, Luis R. Rodriguez wrote:
> On Fri, Aug 28, 2009 at 9:32 AM, Catalin
> Marinas<catalin.marinas@....com> wrote:
> > "Luis R. Rodriguez" <mcgrof@...il.com> wrote:
> >> unreferenced object 0xffff880006ce0400 (size 1024):
> >>   comm "mplayer", pid 5293, jiffies 4295366945
> >>   backtrace:
> >>     [<ffffffff81121fad>] create_object+0x13d/0x2d0
> >>     [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
> >>     [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
> >>     [<ffffffff813021b0>] tty_buffer_request_room+0xc0/0x190
> >>     [<ffffffff8130244c>] tty_insert_flip_string+0x3c/0xb0
> >>     [<ffffffff81302f49>] pty_write+0x49/0x70
> >>     [<ffffffff812fd3b0>] n_tty_write+0x1c0/0x450
> >>     [<ffffffff812f9ec1>] tty_write+0x1a1/0x290
> >>     [<ffffffff81124518>] vfs_write+0xb8/0x1a0
> >>     [<ffffffff81124fcc>] sys_write+0x4c/0x80
> >>     [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
> >>     [<ffffffffffffffff>] 0xffffffffffffffff
> >
> > It could be a real leak as you get several of these. I cc'ed Greg KH
> > for any suggestions he may have. It looks like it only happens when
> > running mplayer.
> 
> It took me a while to figure out how to reproduce, and it really
> didn't make sense to see this playing video, why would playing video
> affect tty?

Maybe mplayer is just opening the tty for some user interaction.

I managed to the same report just using "top" but it is not persistent,
so it may be a false positive.

-- 
Catalin

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