Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Fix endpoint/socket association handling Disassociating a socket from an endpoint via siw_socket_disassoc() may release the last reference on that endpoint and free it. Therefore, don't clear the endpoints socket pointer after calling that function, but within. This fixes a: BUG: KASAN: slab-use-after-free in siw_cm_work_handler (drivers/infiniband/sw/siw/siw_cm.c:1053 drivers/infiniband/sw/siw/siw_cm.c:1075) which occurred after processing a malformed MPA request during connection establishment, causing the new endpoint to be closed.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before ff584d3735b13a1d7f8cd072f98fea40b6062518; affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before b28d513393f81e2de00f82970487a9d001557e4e; affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before f6183983ce1ff254d629a333739082b39d7c5eb6; affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before b6cf763eee0a932792bef64ceaca568d324192fc; affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before ea4f6f6c53577fb3f05dbd78b15e586772d49831 |
| Linux / Linux | affected 5.3; unaffected 0 before 5.3; unaffected 6.6.160 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/ff584d3735b13a1d7f8cd072f98fea40b6062518
- https://git.kernel.org/stable/c/b28d513393f81e2de00f82970487a9d001557e4e
- https://git.kernel.org/stable/c/f6183983ce1ff254d629a333739082b39d7c5eb6
- https://git.kernel.org/stable/c/b6cf763eee0a932792bef64ceaca568d324192fc
- https://git.kernel.org/stable/c/ea4f6f6c53577fb3f05dbd78b15e586772d49831
ADP enrichment
No English description supplied.
No references supplied.