HomeFreeBSD

Double-free of encryption wrapping key due to invalid pool properties

Description

Double-free of encryption wrapping key due to invalid pool properties

This commits fixes a double-free in zfs_ioc_pool_create() triggered by
specifying an unsupported combination of properties when creating a pool
with encryption enabled.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #8791

Details

Provenance
loli10K <loli10K@users.noreply.github.com>Authored on May 28 2019, 10:19 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 28 2019, 10:19 PM
Parents
rG227d37938553: Update comments to match code
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGab1a9705f802: Double-free of encryption wrapping key due to invalid pool properties (authored by loli10K <loli10K@users.noreply.github.com>).May 28 2019, 10:19 PM