{"id":"CVE-2024-56722","state":"PUBLISHED","title":"RDMA/hns: Fix cpu stuck caused by printings during reset","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix cpu stuck caused by printings during reset\n\nDuring reset, cmd to destroy resources such as qp, cq, and mr may fail,\nand error logs will be printed. When a large number of resources are\ndestroyed, there will be lots of printings, and it may lead to a cpu\nstuck.\n\nDelete some unnecessary printings and replace other printing functions\nin these paths with the ratelimited version.","publishedAt":"2024-12-29T11:29:59.901Z","updatedAt":"2026-05-11T20:57:59.604Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"31c6fe9b79ed42440094f2367897aea0c0ce96ec","versionType":"git"},{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"b4ba31e5aaffbda9b22d9a35c40b16dc39e475a6","versionType":"git"},{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"a0e4c78770faa0d56d47391476fe1d827e72eded","versionType":"git"},{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"e2e64f9c42c717beb459ab209ec1c4baa73d3760","versionType":"git"},{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"323275ac2ff15b2b7b3eac391ae5d8c5a3c3a999","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/hns/hns_roce_cq.c","drivers/infiniband/hw/hns/hns_roce_hem.c","drivers/infiniband/hw/hns/hns_roce_hw_v2.c","drivers/infiniband/hw/hns/hns_roce_mr.c","drivers/infiniband/hw/hns/hns_roce_srq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.9","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.64","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.11","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12.2","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/hns/hns_roce_cq.c","drivers/infiniband/hw/hns/hns_roce_hem.c","drivers/infiniband/hw/hns/hns_roce_hw_v2.c","drivers/infiniband/hw/hns/hns_roce_mr.c","drivers/infiniband/hw/hns/hns_roce_srq.c"]}],"references":["https://git.kernel.org/stable/c/31c6fe9b79ed42440094f2367897aea0c0ce96ec","https://git.kernel.org/stable/c/b4ba31e5aaffbda9b22d9a35c40b16dc39e475a6","https://git.kernel.org/stable/c/a0e4c78770faa0d56d47391476fe1d827e72eded","https://git.kernel.org/stable/c/e2e64f9c42c717beb459ab209ec1c4baa73d3760","https://git.kernel.org/stable/c/323275ac2ff15b2b7b3eac391ae5d8c5a3c3a999","https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/56xxx/CVE-2024-56722.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-56722","state":"PUBLISHED","datePublished":"2024-12-29T11:29:59.901Z","dateUpdated":"2026-05-11T20:57:59.604Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-12-27T15:00:39.858Z"},"containers":{"cna":{"title":"RDMA/hns: Fix cpu stuck caused by printings during reset","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix cpu stuck caused by printings during reset\n\nDuring reset, cmd to destroy resources such as qp, cq, and mr may fail,\nand error logs will be printed. When a large number of resources are\ndestroyed, there will be lots of printings, and it may lead to a cpu\nstuck.\n\nDelete some unnecessary printings and replace other printing functions\nin these paths with the ratelimited version."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"31c6fe9b79ed42440094f2367897aea0c0ce96ec","versionType":"git"},{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"b4ba31e5aaffbda9b22d9a35c40b16dc39e475a6","versionType":"git"},{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"a0e4c78770faa0d56d47391476fe1d827e72eded","versionType":"git"},{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"e2e64f9c42c717beb459ab209ec1c4baa73d3760","versionType":"git"},{"version":"9a4435375cd151e07c0c38fa601b00115986091b","status":"affected","lessThan":"323275ac2ff15b2b7b3eac391ae5d8c5a3c3a999","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/hns/hns_roce_cq.c","drivers/infiniband/hw/hns/hns_roce_hem.c","drivers/infiniband/hw/hns/hns_roce_hw_v2.c","drivers/infiniband/hw/hns/hns_roce_mr.c","drivers/infiniband/hw/hns/hns_roce_srq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.9","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.64","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.11","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12.2","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/hns/hns_roce_cq.c","drivers/infiniband/hw/hns/hns_roce_hem.c","drivers/infiniband/hw/hns/hns_roce_hw_v2.c","drivers/infiniband/hw/hns/hns_roce_mr.c","drivers/infiniband/hw/hns/hns_roce_srq.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/31c6fe9b79ed42440094f2367897aea0c0ce96ec"},{"url":"https://git.kernel.org/stable/c/b4ba31e5aaffbda9b22d9a35c40b16dc39e475a6"},{"url":"https://git.kernel.org/stable/c/a0e4c78770faa0d56d47391476fe1d827e72eded"},{"url":"https://git.kernel.org/stable/c/e2e64f9c42c717beb459ab209ec1c4baa73d3760"},{"url":"https://git.kernel.org/stable/c/323275ac2ff15b2b7b3eac391ae5d8c5a3c3a999"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:57:59.604Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.1.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.6.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.11.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.12.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-56722","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:58:14.033187Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","lang":"en","type":"CWE","description":"CWE-770 Allocation of Resources Without Limits or Throttling"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T20:07:05.842Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:53:13.789Z"}}]}}}