CVE-2024-50043: nfsd: fix possible badness in FREE_STATEID

Published Oct 21, 2024
·
Updated

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

nfsd: fix possible badness in FREESTATEID

When multiple FREESTATEIDs are sent for the same delegation stateid, it can lead to a possible either use-after-free or counter refcount underflow errors.

In nfsd4freestateid() under the client lock we find a delegation stateid, however the code drops the lock before calling nfs4putstid(), that allows another FREESTATE to find the stateid again. The first one will proceed to then free the stateid which leads to either use-after-free or decrementing already zeroed counter.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=6.9<6.11.4
Linux Linux kernel=6.12-rc1
Linux Linux kernel=6.12-rc2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-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 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1

Event History

Oct 21, 2024
CVE Published
via MITRE·07:39 PM
Data Sourced
via MITRE·07:39 PM
DescriptionSeverity
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 20, 2025
Data Sourced
via Launchpad·12:47 AM
Description
Mar 28, 2025
Data Sourced
via Ubuntu·12:56 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-50043?

CVE-2024-50043 has the potential for severe impact due to possible use-after-free or refcount underflow errors in the Linux kernel.

2

How do I fix CVE-2024-50043?

To mitigate CVE-2024-50043, update the Linux kernel to a patched version such as 5.10.223-1, 6.1.128-1, or later.

3

Which Linux kernel versions are affected by CVE-2024-50043?

CVE-2024-50043 affects Linux kernel versions up to 6.11.4 and pre-release versions 6.12-rc1 and 6.12-rc2.

4

Is CVE-2024-50043 related to network file system (nfs)?

Yes, CVE-2024-50043 is directly related to the nfsd process in the Linux kernel.

5

What could happen if CVE-2024-50043 is exploited?

Exploitation of CVE-2024-50043 may lead to undefined behavior, potentially resulting in system crashes or unauthorized access.

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