CVE-2026-89699: nfsd: validate symlink target length in NFSv4 CREATE

Published Sep 11, 2026
·
Updated

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

nfsd: validate symlink target length in NFSv4 CREATE

nfsd4decodecreate() accepts an unbounded crdatalen from the wire for NF4LNK symlink targets, allowing a client to force a kmalloc of up to the maximum RPC payload size (several MiB) per COMPOUND op that persists until compound teardown. The VFS rejects oversized targets with ENAMETOOLONG, but the allocation has already occurred.

Reject crdatalen == 0 early with nfserrinval and crdatalen greater than NFS4MAXPATHLEN (PATHMAX) with nfserrnametoolong to bound the allocation.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the Linux kernel so nfsd validates symlink target length in NFSv4 CREATE: reject cr_datalen == 0 early with nfserr_inval, and reject cr_datalen > NFS4_MAXPATHLEN (PATH_MAX) with nfserr_nametoolong to bound the allocation and RPC payload size.

    Linux kernel nfsd (NFSv4) cr_datalen validation in nfsd4_decode_create() = Reject if cr_datalen == 0 with nfserr_inval; reject if cr_datalen > NFS4_MAXPATHLEN (PATH_MAX) with nfserr_nametoolong

Event History

Sep 11, 2026
CVE Published
via MITRE·07:46 PM
Data Sourced
via MITRE·07:46 PM
Description

Frequently Asked Questions

1

Who is exposed to this issue?

Systems running the Linux kernel NFS server with NFSv4 CREATE handling exposed to clients are affected. A client able to send NFSv4 COMPOUND operations can trigger the allocation.

2

What does an attacker need to do to exploit it?

The attacker needs to submit an NFSv4 CREATE request for an NF4LNK symlink with an oversized target length. The supplied length can cause a kmalloc allocation up to the maximum RPC payload size before the VFS rejects the target.

3

What is the impact of repeated requests?

Each malicious COMPOUND operation can retain an allocation of several MiB until compound teardown. Repeated requests may create memory pressure on the NFS server.

4

How does the fix change request handling?

The fix rejects zero-length symlink targets with nfserr_inval and targets longer than NFS4_MAXPATHLEN (PATH_MAX) with nfserr_nametoolong. This prevents oversized target lengths from reaching the allocation path.

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