CVE-2023-52653

SUNRPC: fix a memleak in gss_import_v2_context

Medium · published May 1, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
18.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00275 · 18.8th percentile
Published
2024-05-01T13:04Z
EPSS history
Timeline
  • 01 MAY 13:04Z
    SUNRPC: fix a memleak in gss_import_v2_context
    cvelistv5