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: <d120d5000711060606h66adacd8q4c1576f98389bf41@mail.gmail.com>
Date:	Tue, 6 Nov 2007 09:06:16 -0500
From:	"Dmitry Torokhov" <dmitry.torokhov@...il.com>
To:	"Andrew Morton" <akpm@...ux-foundation.org>
Cc:	"Soeren Sonnenburg" <kernel@....de>,
	"Linux Kernel" <linux-kernel@...r.kernel.org>,
	"Jiri Kosina" <jikos@...os.cz>
Subject: Re: 2.6.23: no more free evdev devices - evdev leak?

On Nov 5, 2007 10:13 PM, Andrew Morton <akpm@...ux-foundation.org> wrote:
> On Wed, 31 Oct 2007 16:34:44 +0000 Soeren Sonnenburg <kernel@....de> wrote:
>
> > Dear all,
>
> (cc's added)
>
>
> > whenever I do a suspend resume cycle the input device's numbers are
> > increased until I finally run out of evdev devices. Is this a kernel
> > problem or some userspace program (udev/...) creating new devices all
> > the time?

evdev marks the device slot as free as soon as evdev_disconnect is
called which shoudl be called from input_unregister_device().

Could you please try sticking a printk in
hidinput_disconnect(drivers/hid/hid-input.c) to verify that
input_unregister_device is in fact being called?

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