CVE-2026-68418 PUBLISHED

RDMA/irdma: Prevent user-triggered null deref on QP create

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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

RDMA/irdma: Prevent user-triggered null deref on QP create

Previously, the user QP creation path would only attempt to populate iwqp->iwpbl if the user-provided req.user_wqe_bufs field was non-zero. The problem is that iwqp->iwpbl is unconditionally dereferenced later on in irdma_setup_virt_qp.

While there was a check for iwqp->iwpbl != NULL, this check would only occur if req.user_wqe_bufs was non-zero. The end result is that a user could send a zero user_wqe_bufs value and trigger a null ptr deref.

Fix this by unconditionally calling irdma_get_pbl and bailing if it fails, similar to the CQ and SRQ paths.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from b48c24c2d710cf34810c555dcef883a3d35a9c08 to ec675b4cdfd378d8c9dd8c93126c024f2469bd79 (excl.)
  • affected from b48c24c2d710cf34810c555dcef883a3d35a9c08 to 728211c815f6eef28dd3df2a5b6297483185aa20 (excl.)
  • affected from b48c24c2d710cf34810c555dcef883a3d35a9c08 to b9b0889071569d43623c260074e159cd8f26adb1 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.14 is affected
  • unaffected from 0 to 5.14 (excl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc4 to * (incl.)

References