diff options
author | Dan Robertson <dan@dlrobertson.com> | 2021-05-07 22:29:02 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:03 -0400 |
commit | 5bc38f44fa8e938044bb3b69c8881f3682fe97f6 (patch) | |
tree | f5d432f629e34b444fa4779dd48cb5c7032668b3 /fs/binfmt_flat.c | |
parent | 1784d43a88ecf0da66514f4b7f0f52b4182ef81c (diff) | |
download | linux-5bc38f44fa8e938044bb3b69c8881f3682fe97f6.tar.gz linux-5bc38f44fa8e938044bb3b69c8881f3682fe97f6.tar.bz2 linux-5bc38f44fa8e938044bb3b69c8881f3682fe97f6.zip |
bcachefs: Fix oob write in __bch2_btree_node_write
Fix a possible out of bounds write in __bch2_btree_node_write when
the data buffer padding is cleared up to the block size. The out of
bounds write is possible if the data buffers size is not a multiple
of the block size.
Signed-off-by: Dan Robertson <dan@dlrobertson.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions