Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143256

net/mlx5e: IPoIB, Fix QPN lookup race

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: IPoIB, Fix QPN lookup race The parent RX completion path can load a QPN hash entry before mlx5i_pkey_del_qpn() unlinks and frees it, then dereference freed memory. Use RCU hlist operations and defer freeing with kfree_rcu(). The existing RCU read-side section in mlx5e_napi_poll() covers the lookup. Keep ht_lock for writers and acquire it before looking up the entry to delete.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7e7f4780c3402bd181eea82ca6395013623e4fbf to < 3a0d26ac5e0d5ab3c8d5866aea6d7e47e19899f8affected
  • 7e7f4780c3402bd181eea82ca6395013623e4fbf to < 7d9dd8bde61233290cd91a3b589413a43bf69269affected
  • 7e7f4780c3402bd181eea82ca6395013623e4fbf to < a51761221c8b0ddaf3b9978e9b40eff4d453b5e7affected
  • 7e7f4780c3402bd181eea82ca6395013623e4fbf to < c9e7401182593b3bb4942774c72a9bfa391eae04affected
  • 7e7f4780c3402bd181eea82ca6395013623e4fbf to < 81baca189fc8455f025027d70cc6e412f2712f7daffected
  • 7e7f4780c3402bd181eea82ca6395013623e4fbf to < 29066b0fc046a2965129a74325b98d9abb4647a9affected

Linux Linux

Default version status: affected

  • 4.15affected
  • 0 to < 4.15unaffected
  • 5.10.276 to ≤ 5.10.*unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References