CVE-2024-54456: NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client()

Published Feb 27, 2025
·
Updated

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

NFS: Fix potential buffer overflowin nfssysfslinkrpcclient()

name is char[64] where the size of clnt->clprogram->name remains unknown. Invoking strcat() directly will also lead to potential buffer overflow. Change them to strscpy() and strncat() to fix potential issues.

Other sources

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

NFS: Fix potential buffer overflowin nfssysfslinkrpcclient()

name is char[64] where the size of clnt-clprogram-name remains unknown. Invoking strcat() directly will also lead to potential buffer overflow. Change them to strscpy() and strncat() to fix potential issues.

— IBM

Affected Software

11 affected componentsFixes available
Linux Linux kernel
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1
Linux Linux kernel>=6.5<6.6.79
Linux Linux kernel>=6.7<6.12.16
Linux Linux kernel>=6.13<6.13.4
debian/linux<6.12.16-1
6.12.16-1
debian/linux<6.12.16-1
6.12.16-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.16-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  3. Compensating control

    In nfs_sysfs_link_rpc_client(), replace direct strcat() usage with strscpy() and strncat() to prevent buffer overflow when copying into name, which is char[64].

Event History

Feb 27, 2025
CVE Published
via MITRE·02:18 AM
Data Sourced
via MITRE·02:18 AM
DescriptionSeverity
Data Sourced
via Red Hat·03:02 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:15 AM
DescriptionSeverityAffected Software
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-54456?

The severity of CVE-2024-54456 is categorized as moderate due to the potential for a buffer overflow in the Linux kernel.

2

How do I fix CVE-2024-54456?

To fix CVE-2024-54456, you should update your Linux kernel to the latest stable version where the vulnerability has been resolved.

3

What systems are affected by CVE-2024-54456?

CVE-2024-54456 affects the Linux kernel, particularly systems utilizing the NFS (Network File System) feature.

4

What are the risks associated with CVE-2024-54456?

The risks associated with CVE-2024-54456 include potential system crashes or unauthorized access due to buffer overflow vulnerabilities.

5

Can CVE-2024-54456 be exploited remotely?

Yes, CVE-2024-54456 could potentially be exploited remotely if an attacker manipulates the NFS functionality of an affected system.

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