CVE-2023-52653

SUNRPC: fix a memleak in gss_import_v2_context

At a glance

Severity
MEDIUM 5.5
EPSS
EPSS 0.27 % · percentile 20 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 47d84807762966c3611c38adecec6ea703ddda7a < 99044c01ed5329e73651c054d8a4baacdbb1a27c ; affected 47d84807762966c3611c38adecec6ea703ddda7a < 47ac11db93e74ac49cd6c3fc69bcbc5964c4a8b4 ; affected 47d84807762966c3611c38adecec6ea703ddda7a < d111e30d9cd846bb368faf3637dc0f71fcbcf822 ; affected 47d84807762966c3611c38adecec6ea703ddda7a < e67b652d8e8591d3b1e569dbcdfcee15993e91fa
Linux · Linuxaffected 2.6.35 ; unaffected 0 < 2.6.35 ; unaffected 6.6.23 ≤ 6.6.* ; unaffected 6.7.11 ≤ 6.7.* ; unaffected 6.8.2 ≤ 6.8.* ; unaffected 6.9 ≤ *

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD