CVE-2026-23038: pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()

Published Jan 31, 2026
·
Updated

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

pnfs/flexfiles: Fix memory leak in nfs4ffallocdeviceidnode()

In nfs4ffallocdeviceidnode(), if the allocation for dsversions fails, the function jumps to the outscratch label without freeing the already allocated dsaddrs list, leading to a memory leak.

Fix this by jumping to the outerrdraindsaddrs label, which properly frees the dsaddrs list before cleaning up other resources.

Affected Software

1 affected component
Linux Kernel

Event History

Jan 31, 2026
CVE Published
via MITRE·11:42 AM
Data Sourced
via MITRE·11:42 AM
Description
Data Sourced
via NVD·12:16 PM
Description
Jan 13, 58074
Event
via FIRST·03:54 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-23038?

The severity of CVE-2026-23038 is classified as moderate due to the potential for a memory leak affecting system resources.

2

How do I fix CVE-2026-23038?

To fix CVE-2026-23038, you should apply the latest updated kernel from your Linux distribution that addresses this memory leak vulnerability.

3

What systems are affected by CVE-2026-23038?

CVE-2026-23038 affects specific versions of the Linux Kernel that utilize pnfs/flexfiles features.

4

What consequence does CVE-2026-23038 have if left unpatched?

If left unpatched, CVE-2026-23038 can lead to increased memory consumption, potentially resulting in system instability or denial of service.

5

How was CVE-2026-23038 discovered?

CVE-2026-23038 was discovered through code analysis of the Linux Kernel, specifically within the nfs4_ff_alloc_deviceid_node() function.

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