aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2020-08-11 18:35:27 -0700
committerLinus Torvalds <[email protected]>2020-08-12 10:58:00 -0700
commitfacb03dddec04e4aac1bb2139accdceb04deb1f3 (patch)
tree2b8482e9212faa51e9792379588c0ac7be949c1d /tools/perf/scripts
parentda27e0a0e5f655f0d58d4e153c3182bb2b290f64 (diff)
fs/minix: don't allow getting deleted inodes
If an inode has no links, we need to mark it bad rather than allowing it to be accessed. This avoids WARNINGs in inc_nlink() and drop_nlink() when doing directory operations on a fuzzed filesystem. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reported-by: [email protected] Reported-by: [email protected] Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Qiujun Huang <[email protected]> Cc: <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions