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
| ||
|
Date: Tue, 26 Mar 2013 22:03:31 +0800 From: Ming Lei <ming.lei@...onical.com> To: Li Zefan <lizefan@...wei.com> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, linux-kernel@...r.kernel.org, stable@...r.kernel.org Subject: Re: [PATCH 1/2] sysfs: fix race between readdir and lseek Hi Zefan, On Tue, Mar 26, 2013 at 4:45 PM, Ming Lei <ming.lei@...onical.com> wrote: > On Tue, Mar 26, 2013 at 3:30 PM, Li Zefan <lizefan@...wei.com> wrote: >>> Considered that vfs_read()/vfs_write on sysfs dir is almost doing nothing, the >>> above problem may only exist in theory. >> >> The read() vs readdir() race in sysfs directory doesn't exist in theory only. > > Could you let me know if you have applied the two patches on your test? > > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=e5110f411d2ee35bf8d202ccca2e89c633060dca > > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=991f76f837bf22c5bb07261cfd86525a0a96650c > > Also I appreciate it if you may share your test case... If you mean the test code on link[1], I can't reproduce the warning with the two sysfs fix patches in 4 hours's test. [1], https://patchwork.kernel.org/patch/2160771/ Thanks, -- Ming Lei -- 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