summaryrefslogtreecommitdiff
path: root/fs/bcachefs/opts.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-06-03 02:34:14 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:33 -0400
commit636d4eef1eefe447deef134bdf8e34c979ff009e (patch)
tree60666fd80b382c88370d9012c4fb5bfe343f4f09 /fs/bcachefs/opts.c
parent0fbf71f80d60c077f491f0ac97000c3a0c9be3aa (diff)
bcachefs: Fix memory corruption in encryption path
When do_encrypt() was passed a vmalloc address and the buffer spanned more than a single page, we were encrypting/decrypting completely different pages than the ones intended. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/opts.c')
0 files changed, 0 insertions, 0 deletions