CVE-2023-52653 SUNRPC: fix a memleak in gss_import_v2_context
설명
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: fix a memleak in gss_import_v2_context The ctx->mech_used.data allocated by kmemdup is not freed in neither gss_import_v2_context nor it only caller gss_krb5_import_sec_context, which frees ctx on error. Thus, this patch reform the last call of gss_import_v2_context to the gss_krb5_import_ctx_v2, preventing the memleak while keepping the return formation.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 2.6.35
해결 버전
- 2.6.35 미만
- 6.1.191 이상
- 6.6.23 이상
- 6.7.11 이상
- 6.8.2 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/32a15b6a9a0ac326ca65ce988a1ba046517af3d5 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/99044c01ed5329e73651c054d8a4baacdbb1a27c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d111e30d9cd846bb368faf3637dc0f71fcbcf822 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e67b652d8e8591d3b1e569dbcdfcee15993e91fa (새 창)