PT-2026-163731

CVE-2026-139690

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
RDMA/uverbs: Make CQ handle mandatory for WQ creation
UVERBS ATTR CREATE WQ CQ HANDLE is declared UA OPTIONAL in the ioctl method definition, so the mandatory attribute bitmap does not enforce its presence. When userspace omits it, uverbs attr get obj() returns ERR PTR(-ENOENT) and the handler stores that error pointer into wq init attr.cq without validation.
The bogus cq pointer is then passed to the driver's create wq callback. In the mlx5 case, create rq() calls to mcq(init attr->cq) which applies container of to the ERR PTR value, producing a near-NULL pointer. The subsequent access in get rq ts format() triggers a kernel NULL pointer dereference:
BUG: kernel NULL pointer dereference, address: 0000000000000296 RIP: 0010:create rq+0x32/0x550 [mlx5 ib] Call Trace: mlx5 ib create wq+0x14a/0x210 [mlx5 ib] ib uverbs handler UVERBS METHOD WQ CREATE+0x1f0/0x320 [ib uverbs] ib uverbs run method+0x296/0x320 [ib uverbs] ib uverbs cmd verbs+0x1a0/0x260 [ib uverbs] ib uverbs ioctl+0xa8/0x120 [ib uverbs]
A WQ without a CQ was never valid; the legacy write path always required one via uobj get obj read() in ib uverbs ex create wq(). Declare the attribute UA MANDATORY so the uverbs framework rejects the ioctl early when the CQ handle is missing, before the handler ever runs.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾