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: <20070904165637.GA1905@martell.zuzino.mipt.ru>
Date:	Tue, 4 Sep 2007 20:56:37 +0400
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	"anon... anon.al" <anon.asdf@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Race condition: calling remove_proc_entry in cleanup_module (module_exit) while someone's using procfile

On Tue, Sep 04, 2007 at 06:39:33PM +0200, anon... anon.al wrote:
> There is a race condition if an instance is executing "__exit
> device_exit" and calls remove_proc_entry, while someone is still using
> the procfile, right?.
> 
> static void __exit device_exit(void)
> {
>   // what if the procfile is still in use?
>   remove_proc_entry(PROC_FILE_NAME, &proc_root);
> }

For regular proc files, this is fixed in 2.6.23-rc1 and later.
-
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