Menu

illumos NFSv3 File-Handle Length Checks Left a Kernel Write Open
📰

illumos NFSv3 File-Handle Length Checks Left a Kernel Write Open

DEV Community: cybersecurity·andreagomez·3 days ago
#zE4ZBvlW
#devtocybersecurity#devto#dev#illumos#file
Long article (606 words) — no AI summary yet.
Reading 0:00
15s threshold

illumos NFSv3 File-Handle Length Checks Left a Kernel Write Open

An NFS server parses file handles supplied by clients. The illumos NFSv3 decoder checked whether two variable-length components fit inside the total handle, but it did not also enforce the maximum size of each destination buffer. A malicious handle could therefore pass the aggregate length test and overflow kernel memory during the copy.

The fix for illumos issue 18612 adds a separate check against NFS_FH3MAXDATA for both the primary and extended file-handle data. The public security description maps the defect to CVE-2026-113880 and says a remote attacker can corrupt kernel memory. This is a server-side parsing bug, not a problem limited to a client library.

The vulnerable operation is two bounds in one

Network protocols commonly prefix variable data with a length. Safe parsing needs at least two comparisons. The declared length must fit in the packet, and it must fit in the fixed destination object.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.