diff options
author | Tom Caputi <[email protected]> | 2018-02-22 11:50:14 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-02-22 08:50:14 -0800 |
commit | f8478fc2ca8d62f9562a4284426e8d3bd41c0cf0 (patch) | |
tree | e6a7b4597b82719eb1a364b7f93918cd61eeeef4 /module/zfs/zvol.c | |
parent | 09302a4ca86df2a758c5b883e28b0952cfa31ff7 (diff) |
Fix bounds check in zio_crypt_do_objset_hmacs
The current bounds check in zio_crypt_do_objset_hmacs() does not
properly handle the possible sizes of the objset_phys_t and
can therefore read outside the buffer's memory. If that memory
happened to match what the check was actually looking for, the
objset would fail to be owned, complaining that the MAC was
invalid.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #7210
Diffstat (limited to 'module/zfs/zvol.c')
0 files changed, 0 insertions, 0 deletions