CVE-2023-52653: SUNRPC: fix a memleak in gss_import_v2_context

Published May 1, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

SUNRPC: fix a memleak in gssimportv2context

The ctx->mechused.data allocated by kmemdup is not freed in neither gssimportv2context nor it only caller gsskrb5importseccontext, which frees ctx on error.

Thus, this patch reform the last call of gssimportv2context to the gsskrb5importctxv2, preventing the memleak while keepping the return formation.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

SUNRPC: fix a memleak in gssimportv2context

The Linux kernel CVE team has assigned CVE-2023-52653 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024050131-CVE-2023-52653-a5c2@gregkh/T

Red Hat

Linux Kernel is vulnerable to a denial of service, caused by a memory leak in the gssimportv2context function. By sending a specially crafted request, a local authenticated attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

13 affected componentsFixes available
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
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1, <=6.1.135-1
6.12.25-16.12.27-1
redhat/kernel<6.6.23
6.6.23
redhat/kernel<6.7.11
6.7.11
redhat/kernel<6.8.2
6.8.2
redhat/kernel<6.9
6.9
Microsoft cbl2 kernel 5.15.186.1-1

Event History

May 1, 2024
CVE Published
via MITRE·01:04 PM
Data Sourced
via MITRE·01:04 PM
Description
Data Sourced
via Red Hat·09:34 PM
DescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·12:59 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·05:09 AM
RemedyDescriptionSeverityAffected Software
Sep 3, 2025
Data Sourced
via Microsoft·11:42 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:42 PM
Affected Software
Updated
via Microsoft·11:42 PM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-52653?

CVE-2023-52653 has a critical severity due to its potential memory leak in the Linux kernel.

2

How do I fix CVE-2023-52653?

To fix CVE-2023-52653, update your Linux kernel to version 6.6.23 or later for Red Hat, or 5.10.223-1 to 5.10.226-1 or 6.1.119-1 to 6.1.123-1 for Debian.

3

Which systems are affected by CVE-2023-52653?

CVE-2023-52653 affects specific versions of the Linux kernel in both Red Hat and Debian distributions.

4

What components of the Linux kernel are impacted by CVE-2023-52653?

CVE-2023-52653 impacts the SUNRPC subsystem of the Linux kernel, specifically related to context management.

5

Is there a workaround for CVE-2023-52653 if I cannot update?

There is no known workaround for CVE-2023-52653, so the recommended action is to apply the kernel update.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203