Summary: | Memory leakage in opencrypto for gcm algorithm | ||
---|---|---|---|
Product: | Base System | Reporter: | Oleg <olegyankovic> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | ae |
Priority: | --- | ||
Version: | 11.2-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Oleg
2018-12-10 11:44:26 UTC
A commit references this bug: Author: ae Date: Thu Dec 13 08:59:51 UTC 2018 New revision: 342030 URL: https://svnweb.freebsd.org/changeset/base/342030 Log: Plug memory leak for AES_*_NIST_GMAC algorithms. swcr_newsession() allocates sw_ictx for these algorithms, thus we need to free() it in swcr_freesession(). PR: 233907 MFC after: 1 week Changes: head/sys/opencrypto/cryptosoft.c A commit references this bug: Author: ae Date: Thu Dec 20 08:28:52 UTC 2018 New revision: 342276 URL: https://svnweb.freebsd.org/changeset/base/342276 Log: MFC r342030: Plug memory leak for AES_*_NIST_GMAC algorithms. swcr_newsession() allocates sw_ictx for these algorithms, thus we need to free() it in swcr_freesession(). PR: 233907 Changes: _U stable/12/ stable/12/sys/opencrypto/cryptosoft.c A commit references this bug: Author: ae Date: Thu Dec 20 08:33:12 UTC 2018 New revision: 342277 URL: https://svnweb.freebsd.org/changeset/base/342277 Log: MFC r342030: Plug memory leak for AES_*_NIST_GMAC algorithms. swcr_newsession() allocates sw_ictx for these algorithms, thus we need to free() it in swcr_freesession(). PR: 233907 Changes: _U stable/11/ stable/11/sys/opencrypto/cryptosoft.c Fixed in head/, stable/12 and stable/11. Thanks! |