CVE-2026-89658: NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup

Published Sep 11, 2026
·
Updated

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

NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup

nfs40cleanadminrevoked() takes a stateid reference under clp->cllock, drops nn->clientlock, and calls nfsd4droprevokedstid(), which dereferences the stateid's client through s->scclient->cllock. The stateid reference does not pin the client, so a teardown racing the dropped lock can free the client while nfsd4droprevokedstid() is still using it.

This cleanup runs from the laundromat, so a periodic sweep can race forceexpireclient() driven by a write to the clients/<id>/ctl file.

Skip a client that is already expiring and otherwise pin it with clrpcusers under clientlock before dropping the lock, matching nfsd4revokestates().

Affected Software

1 affected component
Linux Linux kernel

Event History

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

Frequently Asked Questions

1

What conditions are required for this race to occur?

The affected path is NFSv4.0 revoked-state cleanup. The laundromat's periodic cleanup must race with force_expire_client(), which is triggered by writing to the clients/<id>/ctl file.

2

Who can trigger the competing client-expiration operation?

The description identifies a write to the clients/<id>/ctl file as the trigger for force_expire_client(). It does not specify which users or processes have permission to perform that write.

3

What can be done if the fix cannot be applied immediately?

Avoid creating the identified race between periodic laundromat cleanup and forced client expiration through clients/<id>/ctl. The provided data does not describe a complete mitigation or configuration change.

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