CVE Database›Document archive›CVE-2026-89695

CVE-2026-89695

kernel: nfsd: cap decoded POSIX ACL count to bound sort cost

Loading…

Severity

Moderate

Red Hat Product Security

9.1

CVSS 3.1

Review impact separately from score.

Published · September 11, 2026

Updated · November 4, 2026

Description

A flaw was found in the Linux kernel's Network File System Daemon (nfsd). The nfsd4_decode_posixacl() function, responsible for decoding POSIX Access Control Lists (ACLs), does not properly cap the entry count received from a client. A remote attacker can exploit this by sending a specially crafted ACL with an excessively large entry count, leading to unbounded CPU usage during an O(n^2) sorting operation. This can result in a Denial of Service (DoS) for the affected server.

Statement

nfsd4_decode_posixacl accepted a client chosen POSIX ACL entry count from the wire without enforcing NFS_ACL_MAX_ENTRIES. The count is used for allocation and then passed to sort_pacl_range which performs O(n2) sorting, so a crafted NFSv4 compound request can force excessive CPU work in the server processing path. For the CVSS the PR:N is used for the paranoid score because an exposed nfsd endpoint may process the malformed request from a network client before any meaningful authorization decision limits the decode cost. The base score uses PR:L because many real deployments require access to an exported filesystem or valid NFS client credentials. The issue is network reachable when NFSv4 POSIX ACL support is enabled and reachable by the attacker. Impact is denial of service through CPU exhaustion or request processing stalls. No concrete memory corruption primitive is indicated by the patch context.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

CWE-400 · Uncontrolled Resource Consumption