Memory Leak Affecting kernel-cross-headers package, versions <0:4.18.0-553.16.1.el8_10


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.05% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE8-KERNELCROSSHEADERS-7672998
  • published10 Aug 2024
  • disclosed1 May 2024

Introduced: 1 May 2024

CVE-2023-52653  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Oracle:8 kernel-cross-headers to version 0:4.18.0-553.16.1.el8_10 or higher.
This issue was patched in ELSA-2024-5101.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-cross-headers package and not the kernel-cross-headers package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1