Bug 2320166 (CVE-2024-47695) - CVE-2024-47695 kernel: RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds
Summary: CVE-2024-47695 kernel: RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds
Keywords:
Status: NEW
Alias: CVE-2024-47695
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320192
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 12:01 UTC by OSIDB Bzimport
Modified: 2024-10-21 13:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 12:01:07 UTC
In the Linux kernel, the following vulnerability has been resolved:

RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds

In the function init_conns(), after the create_con() and create_cm() for
loop if something fails. In the cleanup for loop after the destroy tag, we
access out of bound memory because cid is set to clt_path->s.con_num.

This commits resets the cid to clt_path->s.con_num - 1, to stay in bounds
in the cleanup loop later.


Note You need to log in before you can comment on or make changes to this bug.