Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 10eec60c authored by Scott Bauer's avatar Scott Bauer Committed by Linus Torvalds
Browse files

vfs: ioctl: prevent double-fetch in dedupe ioctl



This prevents a double-fetch from user space that can lead to to an
undersized allocation and heap overflow.

Fixes: 54dbc151 ("vfs: hoist the btrfs deduplication ioctl to the vfs")
Signed-off-by: default avatarScott Bauer <sbauer@plzdonthack.me>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 884316de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment