{"id":"CVE-2024-57935","summary":"RDMA/hns: Fix accessing invalid dip_ctx during destroying QP","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix accessing invalid dip_ctx during destroying QP\n\nIf it fails to modify QP to RTR, dip_ctx will not be attached. And\nduring detroying QP, the invalid dip_ctx pointer will be accessed.","modified":"2026-04-02T12:25:24.413398Z","published":"2025-01-21T12:01:31.236Z","related":["SUSE-SU-2025:0289-1","SUSE-SU-2025:0428-1","SUSE-SU-2025:0499-1","SUSE-SU-2025:0557-1","SUSE-SU-2025:20165-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20248-1","SUSE-SU-2025:20249-1","USN-7379-2","USN-7380-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57935.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0572eccf239ce4bd89bd531767ec5ab20e249290"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a448c775f0aec6cfbee4bda561447c707153504a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57935.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57935"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f48084857b9e3d73c1d290307b5a11f61e6f666a"},{"fixed":"a448c775f0aec6cfbee4bda561447c707153504a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"faa62440a5772b40bb7d78bf9e29556a82ecf153"},{"fixed":"0572eccf239ce4bd89bd531767ec5ab20e249290"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"84707ec6f651df98a141cad59f726d30e6f15574"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57935.json"}}],"schema_version":"1.7.5"}