CVE-2026-139596: RDMA/mlx5: Set WQ event handler before firmware RQ insertion

Published Nov 30, 2026
·
Updated

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

RDMA/mlx5: Set WQ event handler before firmware RQ insertion

createrq() inserts the RQ into dev->qptable.tree, making it visible to rsceventnotifier() before rwq->coreqp.event was assigned. A firmware WQCATASERROR event in that window finds a NULL event pointer.

Move the assignment before createrq().

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:36 PM
Data Sourced
via MITRE·01:36 PM
Description

Frequently Asked Questions

1

Which deployments are exposed to this race condition?

Linux kernel deployments using the RDMA/mlx5 driver and creating receive queues are in the affected code path. The failure requires a firmware WQ_CATAS_ERROR event to occur during the interval after the RQ is inserted into the device QP table but before its event handler is assigned.

2

What is the observable failure condition?

A firmware WQ_CATAS_ERROR notification can locate the newly visible RQ while its event callback pointer is still NULL. The fix closes this window by assigning the callback before the RQ is made visible to the firmware-related notification path.

3

How can the fix be identified without relying on a kernel version number?

The supplied stable kernel references identify the fix by commits f90c9f79c4363a1b6ca40bc8903e655d033bdd40, b8612992507418f0a4fed6b3049006c1eb53c9eb, and 3422e2d07396b19b22b1682dcde8b2df9dc4e470. Check whether the kernel source or vendor patch set contains the change that assigns rwq->core_qp.event before create_rq().

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