CVEvulnerability
CVE-2023-52653
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
Description
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 configurations
• linux linux kernel (>= 2.6.35 < 6.6.23)
• linux linux kernel (>= 6.7 < 6.7.11)
• linux linux kernel (>= 6.8 < 6.8.2)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4 Patch
- https://git.kernel.org/stable/c/99044c01ed5329e73651c054d8a4baacdbb1a27c Patch
- https://git.kernel.org/stable/c/d111e30d9cd846bb368faf3637dc0f71fcbcf822 Patch
- https://git.kernel.org/stable/c/e67b652d8e8591d3b1e569dbcdfcee15993e91fa Patch
- https://git.kernel.org/stable/c/47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4 Patch
- https://git.kernel.org/stable/c/99044c01ed5329e73651c054d8a4baacdbb1a27c Patch
- https://git.kernel.org/stable/c/d111e30d9cd846bb368faf3637dc0f71fcbcf822 Patch
- https://git.kernel.org/stable/c/e67b652d8e8591d3b1e569dbcdfcee15993e91fa Patch