diff options
author | Jan Kara <[email protected]> | 2019-12-02 18:02:13 +0100 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2019-12-14 17:22:45 -0500 |
commit | 109ba779d6cca2d519c5dd624a3276d03e21948e (patch) | |
tree | bdcda5c6a7e922dc12a8f852421c86f4c3e40b74 /scripts/bpf_helpers_doc.py | |
parent | 64d4ce892383b2ad6d782e080d25502f91bf2a38 (diff) |
ext4: check for directory entries too close to block end
ext4_check_dir_entry() currently does not catch a case when a directory
entry ends so close to the block end that the header of the next
directory entry would not fit in the remaining space. This can lead to
directory iteration code trying to access address beyond end of current
buffer head leading to oops.
CC: [email protected]
Signed-off-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions