IB/cm: Drop lockdep assert and WARN when freeing old msg
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
IB/cm: Drop lockdep assert and WARN when freeing old msg
The send completion handler can run after cm_id has advanced to another message. The cm_id lock is not needed in this case, but a recent change re-used cm_free_priv_msg(), which asserts that the lock is held and WARNs if the cm_id's currently outstanding msg is different than the one being freed.
From the CVE record · Linux
The Linux kernel’s IB/cm send completion handler can run after cm_id has advanced to another message. When it frees the old message, a lock assertion and mismatch check can trigger a warning; the input does not specify attacker requirements or whether user interaction is needed.
Engineers running the Linux kernel should check their versions for this issue; affected versions were not provided.