Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-71084

RDMA/cm: Fix leaking the multicast GID table reference

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/cm: Fix leaking the multicast GID table reference If the CM ID is destroyed while the CM event for multicast creating is still queued the cancel_work_sync() will prevent the work from running which also prevents destroying the ah_attr. This leaks a refcount and triggers a WARN: GID entry ref leak for dev syz1 index 2 ref=573 WARNING: CPU: 1 PID: 655 at drivers/infiniband/core/cache.c:809 release_gid_table drivers/infiniband/core/cache.c:806 [inline] WARNING: CPU: 1 PID: 655 at drivers/infiniband/core/cache.c:809 gid_table_release_one+0x284/0x3cc drivers/infiniband/core/cache.c:886 Destroy the ah_attr after canceling the work, it is safe to call this twice.

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

  • 60d613b39e8d0c9f3b526e9c96445422b4562d76 to < d5ce588a9552878859a4d44b70b724216c188a5faffected
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b to < abf38398724ecc888f62c678d288da40d11878afaffected
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b to < ab668a58c4a2ccb6d54add7a76f2f955d15d0196affected
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b to < c0acdee513239e1d6e1b490f56be0e6837dfd162affected
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b to < 5cb34bb5fd726491b809efbeb5cfd63ae5bf9cf3affected
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b to < 3ba6d01c4b3c584264dc733c6a2ecc5bbc8e0bb5affected
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b to < 57f3cb6c84159d12ba343574df2115fb18dd83caaffected
  • a3262b3884dd67b4c5632ce7cdf9cff9d1a575d4affected
  • 5.10.20 to < 5.10.248affected
  • 5.11.3 to < 5.12affected

Linux Linux

Default version status: affected

  • 5.12affected
  • 0 to < 5.12unaffected
  • 5.10.248 to ≤ 5.10.*unaffected
  • 5.15.198 to ≤ 5.15.*unaffected
  • 6.1.160 to ≤ 6.1.*unaffected
  • 6.6.120 to ≤ 6.6.*unaffected
  • 6.12.64 to ≤ 6.12.*unaffected
  • 6.18.4 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References