CVE-2026-143237: sunrpc: instantiate rpc_pipefs dentry before publishing it
In the Linux kernel, the following vulnerability has been resolved:
sunrpc: instantiate rpcpipefs dentry before publishing it
rpcmkpipedentry() publishes pipe->dentry before dmakepersistent() attaches its inode. A concurrent rpcqueueupcall() or rpctimeoutupcallqueue() can conceivably dereference the dentry while dinode() is NULL.
Attach the inode before publishing the dentry, restoring the ordering used before the rpcpipefs conversion refactor.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
What conditions are required to trigger the race?
A concurrent rpc_queue_upcall() or rpc_timeout_upcall_queue() must access an RPC pipe dentry while rpc_mkpipe_dentry() has published it but before d_make_persistent() has attached its inode. In that window, d_inode() can be NULL.
How can I determine whether a system includes the fix?
Check whether the kernel contains either referenced stable commit: 54a81bb9f4eaa117cde62031e58b770d08104930 or 0cd6e563938a5b2f88ce0008eda32f9617c9d81f. The provided information does not identify affected or fixed kernel version numbers.