diff options
author | Al Viro | 2016-02-27 19:23:16 -0500 |
---|---|---|
committer | Al Viro | 2016-02-27 19:23:16 -0500 |
commit | d4565649b6d6923369112758212b851adc407f0c (patch) | |
tree | fc877b8805e9393c4288bdf396cf223de2b144ad /lib | |
parent | c80567c82ae4814a41287618e315a60ecf513be6 (diff) |
namei: ->d_inode of a pinned dentry is stable only for positives
both do_last() and walk_component() risk picking a NULL inode out
of dentry about to become positive, *then* checking its flags and
seeing that it's not negative anymore and using (already stale by
then) value they'd fetched earlier. Usually ends up oopsing soon
after that...
Cc: stable@vger.kernel.org # v3.13+
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions