diff options
| author | Osvaldo Janeri Filho <ojanerif@amd.com> | 2026-11-09 00:50:17 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-11-09 00:50:22 +0000 |
| commit | edaa6ba7be8666d4f543317845899e1a1b684bbf (patch) | |
| tree | a5d031054c3468c44f0df59a54860a4c08b1cbc3 /sys/modules/i2c/smbus | |
| parent | 04a3a6e3a8d9c27847caa4b807e777720bb6bf99 (diff) | |
The /dev/crypto cipher and MAC keys are copied from userland and
released with free(), leaving the key bytes in freed kernel memory.
Use zfree() so the key material is cleared on session teardown and on
the setup error path.
Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D61324
Diffstat (limited to 'sys/modules/i2c/smbus')
0 files changed, 0 insertions, 0 deletions
