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.
                
            References
                    Configurations
                    Configuration 1 (hide)
            
            
  | 
    
History
                    03 Nov 2025, 23:16
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
        
        
  | 
23 Oct 2024, 21:32
| Type | Values Removed | Values Added | 
|---|---|---|
| CWE | CWE-787 | |
| CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
| First Time | 
        
        Linux linux Kernel
         Linux  | 
|
| References | () https://git.kernel.org/stable/c/01b9be936ee8839ab9f83a7e84ee02ac6c8303c4 - Patch | |
| References | () https://git.kernel.org/stable/c/0429a4e972082e3a2351da414b1c017daaf8aed2 - Patch | |
| References | () https://git.kernel.org/stable/c/1c50e0265fa332c94a4a182e4efa0fc70d8fad94 - Patch | |
| References | () https://git.kernel.org/stable/c/3e4289b29e216a55d08a89e126bc0b37cbad9f38 - Patch | |
| References | () https://git.kernel.org/stable/c/5ac73f8191f3de41fef4f934d84d97f3aadb301f - Patch | |
| References | () https://git.kernel.org/stable/c/c8b7f3d9fada0d4b4b7db86bf7345cd61f1d972e - Patch | |
| CVSS | 
        v2 :  v3 :  | 
    
        v2 : unknown
         v3 : 7.8  | 
| Summary | 
        
        
  | 
21 Oct 2024, 12:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2024-10-21 12:15
Updated : 2025-11-03 23:16
NVD link : CVE-2024-47695
Mitre link : CVE-2024-47695
CVE.ORG link : CVE-2024-47695
JSON object : View
Products Affected
                linux
- linux_kernel
 
CWE
                
                    
                        
                        CWE-787
                        
            Out-of-bounds Write
