From: Al Viro Date: Wed, 26 May 2010 21:40:29 +0000 (-0400) Subject: Fix racy use of anon_inode_getfd() in perf_event.c X-Git-Tag: firefly_0821_release~9833^2~1641^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ea635c64e007061f6468ece5cc9cc62d41d4ecf2;hp=ea635c64e007061f6468ece5cc9cc62d41d4ecf2;p=firefly-linux-kernel-4.4.55.git Fix racy use of anon_inode_getfd() in perf_event.c once anon_inode_getfd() is called, you can't expect *anything* about struct file that descriptor points to - another thread might be doing whatever it likes with descriptor table at that point. Cc: stable Signed-off-by: Al Viro ---