{"id":"CVE-2023-52653","aliases":["CVE-2023-52653"],"related":[],"kind":"vulnerability","state":"published","title":"SUNRPC: fix a memleak in gss_import_v2_context","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: fix a memleak in gss_import_v2_context\n\nThe ctx->mech_used.data allocated by kmemdup is not freed in neither\ngss_import_v2_context nor it only caller gss_krb5_import_sec_context,\nwhich frees ctx on error.\n\nThus, this patch reform the last call of gss_import_v2_context to the\ngss_krb5_import_ctx_v2, preventing the memleak while keepping the return\nformation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: fix a memleak in gss_import_v2_context\n\nThe ctx->mech_used.data allocated by kmemdup is not freed in neither\ngss_import_v2_context nor it only caller gss_krb5_import_sec_context,\nwhich frees ctx on error.\n\nThus, this patch reform the last call of gss_import_v2_context to the\ngss_krb5_import_ctx_v2, preventing the memleak while keepping the return\nformation.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: SUNRPC: corrige una fuga de memport en gss_import_v2_context El ctx-&gt;mech_used.data asignado por kmemdup no se libera ni en gss_import_v2_context ni solo en el llamador gss_krb5_import_sec_context, lo que libera a ctx en caso de error. Por lo tanto, este parche reforma la última llamada de gss_import_v2_context a gss_krb5_import_ctx_v2, evitando la fuga de memoria y manteniendo la formación de retorno.","source":"nvd"}],"published":"2024-05-01T13:04:02.055Z","modified":"2026-10-30T13:17:15.997Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"47d84807762966c3611c38adecec6ea703ddda7a","fixed":"32a15b6a9a0ac326ca65ce988a1ba046517af3d5","status":"affected"},{"type":"git","introduced":"47d84807762966c3611c38adecec6ea703ddda7a","fixed":"99044c01ed5329e73651c054d8a4baacdbb1a27c","status":"affected"},{"type":"git","introduced":"47d84807762966c3611c38adecec6ea703ddda7a","fixed":"47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4","status":"affected"},{"type":"git","introduced":"47d84807762966c3611c38adecec6ea703ddda7a","fixed":"d111e30d9cd846bb368faf3637dc0f71fcbcf822","status":"affected"},{"type":"git","introduced":"47d84807762966c3611c38adecec6ea703ddda7a","fixed":"e67b652d8e8591d3b1e569dbcdfcee15993e91fa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.35","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.35","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.23","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.11","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.2","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.35","fixed":"6.6.23"},{"status":"affected","introduced":"6.7","fixed":"6.7.11"},{"status":"affected","introduced":"6.8","fixed":"6.8.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/32a15b6a9a0ac326ca65ce988a1ba046517af3d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99044c01ed5329e73651c054d8a4baacdbb1a27c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d111e30d9cd846bb368faf3637dc0f71fcbcf822","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e67b652d8e8591d3b1e569dbcdfcee15993e91fa","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-06T18:26:34.838Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52653","url":"https://www.cve.org/CVERecord?id=CVE-2023-52653","licence":"CVE Terms of Use","modified":"2026-10-30T12:17:18.750Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52653","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52653","licence":"Public domain","modified":"2026-10-30T13:17:15.997Z"}],"updatedAt":"2026-11-25T22:58:33.600Z","epss":{"score":0.00305,"percentile":0.1565,"date":"2026-11-30T12:00:22.000Z"}}