In the Linux kernel, the following vulnerability has been resolved: pnfs/flexfiles: Fix memory...

Description

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

pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()

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

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

Basic information

Type
unreviewed
Severity
unknown
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Not specified
Published (advisory)
2026-01-31 12:30:12 UTC
Updated
2026-06-02 15:33:00 UTC
NVD published
2026-01-31

EPSS Score

Score Percentile
0.02% 6.90%

CVSS Scores

No CVSS scores in this advisory.

Identifiers

References

cvelogic Threat Intelligence