CVE-2026-89798: rpcrdma: arm rn_done before publishing the notification

Published Sep 16, 2026
·
Updated

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

rpcrdma: arm rndone before publishing the notification

rpcrdmarnregister() inserts @rn into rdxa with xaalloc() before storing the caller's callback in rn->rndone. The xarray makes @rn reachable to rpcrdmaremoveone(), which walks rdxa and invokes rn->rndone(rn) for every registered notification. A device removal that races a fresh registration can therefore observe @rn with rndone still NULL, because the notification objects are zero allocated by their owners, and call through a NULL function pointer.

Store rn->rndone before xaalloc() publishes @rn. The xarray's store-side and load-side ordering then guarantees that any CPU which finds @rn in rdxa also observes the armed callback.

rpcrdmarnunregister() treats a non-NULL rndone as the sentinel for a completed registration, so the early store must not survive a failed registration. Clear rndone again when xaalloc() fails. Were it left set, the failed-accept cleanup path would call rpcrdmarnunregister() on an @rn that was never inserted, erasing an unrelated rdxa slot and underflowing rdkref.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 16, 2026
CVE Published
via MITRE·10:30 AM
Data Sourced
via MITRE·10:30 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this race?

Systems using rpcrdma are exposed when a new notification registration can race with removal of the associated device. The removal path can find a newly published notification before its callback has been initialized.

2

What is the effect of the race?

The device-removal path can invoke a NULL rn_done callback, resulting in a NULL function-pointer call. A failed xarray allocation also requires clearing the callback state; otherwise cleanup can remove an unrelated xarray entry and underflow the reference count.

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