aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2018-04-01 23:21:03 -0400
committerTheodore Ts'o <[email protected]>2018-04-01 23:21:03 -0400
commite40ff213898502d299351cc2fe1e350cd186f0d3 (patch)
tree48d024ff8abaa9efca5d38d93602188211c0130a /lib/memory-notifier-error-inject.c
parent54dd0e0a1b255f115f8647fc6fb93273251b01b9 (diff)
ext4: force revalidation of directory pointer after seekdir(2)
A malicious user could force the directory pointer to be in an invalid spot by using seekdir(2). Use the mechanism we already have to notice if the directory has changed since the last time we called ext4_readdir() to force a revalidation of the pointer. Reported-by: [email protected] Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions