← CVE Intelligence

CVE-2023-52653

SUNRPC: fix a memleak in gss_import_v2_context PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 47d84807762966c3611c38adecec6ea703ddda7a before 99044c01ed5329e73651c054d8a4baacdbb1a27c; affected 47d84807762966c3611c38adecec6ea703ddda7a before 47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4; affected 47d84807762966c3611c38adecec6ea703ddda7a before d111e30d9cd846bb368faf3637dc0f71fcbcf822; affected 47d84807762966c3611c38adecec6ea703ddda7a before e67b652d8e8591d3b1e569dbcdfcee15993e91fa
Linux / Linuxaffected 2.6.35; unaffected 0 before 2.6.35; unaffected 6.6.23 through 6.6.*; unaffected 6.7.11 through 6.7.*; unaffected 6.8.2 through 6.8.*; unaffected 6.9 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.