CVE-2023-52653

SUNRPC: fix a memleak in gss_import_v2_context

MEDIUM
5.5
CVSS Score
Published: May 1, 2024 at 01:04 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.35 ≤ v < 6.6.232.6.35 ≤ v < 6.7.112.6.35 ≤ v < 6.8.22.6.35 ≤ v < 6.96.7 ≤ v < 6.7.116.8 ≤ v < 6.8.22.6.3547d84807762966c3611c38adecec6ea703ddda7a
Vendor states this is fixed in 47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4 (fixed)
Vendor states this is fixed in 99044c01ed5329e73651c054d8a4baacdbb1a27c (fixed)
Vendor states this is fixed in d111e30d9cd846bb368faf3637dc0f71fcbcf822 (fixed)
Vendor states this is fixed in e67b652d8e8591d3b1e569dbcdfcee15993e91fa (fixed)
Vendor states this is fixed in 2.6.35 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/99044c01ed5329e73651c054d8a4baacdbb1a27c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d111e30d9cd846bb368faf3637dc0f71fcbcf822
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e67b652d8e8591d3b1e569dbcdfcee15993e91fa

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card