CVE-2023-52653

published 1 May 2024 · updated 14 Nov 2026

SUNRPC: fix a memleak in gss_import_v2_context

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 32a15b6a9a0ac326ca65ce988a1ba046517af3d5, Kernel 47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4, Kernel 99044c01ed5329e73651c054d8a4baacdbb1a27c and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.35, >=47d84807762966c3611c38adecec6ea703ddda7a <32a15b6a9a0ac326ca65ce988a1ba046517af3d5, >=47d84807762966c3611c38adecec6ea703ddda7a <47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4, >=47d84807762966c3611c38adecec6ea703ddda7a <99044c01ed5329e73651c054d8a4baacdbb1a27c, >=47d84807762966c3611c38adecec6ea703ddda7a <d111e30d9cd846bb368faf3637dc0f71fcbcf822, >=47d84807762966c3611c38adecec6ea703ddda7a <e67b652d8e8591d3b1e569dbcdfcee15993e91fa32a15b6a9a0ac326ca65ce988a1ba046517af3d5, 47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4, 99044c01ed5329e73651c054d8a4baacdbb1a27c, d111e30d9cd846bb368faf3637dc0f71fcbcf822, e67b652d8e8591d3b1e569dbcdfcee15993e91fa

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52653 severity on Zeptric[![CVE-2023-52653](https://zeptric.io/badge/cve/CVE-2023-52653.svg)](https://zeptric.io/cve/CVE-2023-52653)