cve-2024-53226
Vulnerability from cvelistv5
Published
2024-12-27 13:50
Modified
2025-01-20 06:21
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg() ib_map_mr_sg() allows ULPs to specify NULL as the sg_offset argument. The driver needs to check whether it is a NULL pointer before dereferencing it.
Impacted products
Vendor Product Version
Linux Linux Version: edc2dee07ab4ae2188b9780c453a64032162a5a0
Version: 3c301b8a046b57e3de14c6fc669d81dcb71bb5b5
Version: 5a13652ac34be9b60feec89835763574825a8905
Version: 4d480e45cb7fffb9d9b49924469c1f458068080a
Version: d387d4b54eb84208bd4ca13572e106851d0a0819
Version: d387d4b54eb84208bd4ca13572e106851d0a0819
Version: d387d4b54eb84208bd4ca13572e106851d0a0819
Create a notification for this product.
   Linux Linux Version: 6.11
Create a notification for this product.
Show details on NVD website


{
   containers: {
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "drivers/infiniband/hw/hns/hns_roce_mr.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "bd715e191d444992d6ed124f15856da5c1cae2de",
                     status: "affected",
                     version: "edc2dee07ab4ae2188b9780c453a64032162a5a0",
                     versionType: "git",
                  },
                  {
                     lessThan: "35f5b68f63aac61d30ce0b0c6beb09b8845a3e65",
                     status: "affected",
                     version: "3c301b8a046b57e3de14c6fc669d81dcb71bb5b5",
                     versionType: "git",
                  },
                  {
                     lessThan: "52617e76f4963644db71dc0a17e998654dc0c7f4",
                     status: "affected",
                     version: "5a13652ac34be9b60feec89835763574825a8905",
                     versionType: "git",
                  },
                  {
                     lessThan: "6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7",
                     status: "affected",
                     version: "4d480e45cb7fffb9d9b49924469c1f458068080a",
                     versionType: "git",
                  },
                  {
                     lessThan: "71becb0e9df78a8d43dfd0efcef18c830a0af477",
                     status: "affected",
                     version: "d387d4b54eb84208bd4ca13572e106851d0a0819",
                     versionType: "git",
                  },
                  {
                     lessThan: "8c269bb2cc666ca580271e1a8136c63ac9162e1e",
                     status: "affected",
                     version: "d387d4b54eb84208bd4ca13572e106851d0a0819",
                     versionType: "git",
                  },
                  {
                     lessThan: "6b526d17eed850352d880b93b9bf20b93006bd92",
                     status: "affected",
                     version: "d387d4b54eb84208bd4ca13572e106851d0a0819",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "drivers/infiniband/hw/hns/hns_roce_mr.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "6.11",
                  },
                  {
                     lessThan: "6.11",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.10.*",
                     status: "unaffected",
                     version: "5.10.231",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.15.*",
                     status: "unaffected",
                     version: "5.15.174",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.1.*",
                     status: "unaffected",
                     version: "6.1.120",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.64",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.11.*",
                     status: "unaffected",
                     version: "6.11.11",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.12.*",
                     status: "unaffected",
                     version: "6.12.2",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.13",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()\n\nib_map_mr_sg() allows ULPs to specify NULL as the sg_offset argument.\nThe driver needs to check whether it is a NULL pointer before\ndereferencing it.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2025-01-20T06:21:37.178Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/bd715e191d444992d6ed124f15856da5c1cae2de",
            },
            {
               url: "https://git.kernel.org/stable/c/35f5b68f63aac61d30ce0b0c6beb09b8845a3e65",
            },
            {
               url: "https://git.kernel.org/stable/c/52617e76f4963644db71dc0a17e998654dc0c7f4",
            },
            {
               url: "https://git.kernel.org/stable/c/6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7",
            },
            {
               url: "https://git.kernel.org/stable/c/71becb0e9df78a8d43dfd0efcef18c830a0af477",
            },
            {
               url: "https://git.kernel.org/stable/c/8c269bb2cc666ca580271e1a8136c63ac9162e1e",
            },
            {
               url: "https://git.kernel.org/stable/c/6b526d17eed850352d880b93b9bf20b93006bd92",
            },
         ],
         title: "RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-53226",
      datePublished: "2024-12-27T13:50:15.488Z",
      dateReserved: "2024-11-19T17:17:25.025Z",
      dateUpdated: "2025-01-20T06:21:37.178Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-53226\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T14:15:30.800\",\"lastModified\":\"2025-01-08T16:40:59.597\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nRDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()\\n\\nib_map_mr_sg() allows ULPs to specify NULL as the sg_offset argument.\\nThe driver needs to check whether it is a NULL pointer before\\ndereferencing it.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/hns: Se corrige la desreferenciación de puntero NULL en hns_roce_map_mr_sg() ib_map_mr_sg() permite que los ULP especifiquen NULL como argumento sg_offset. El controlador debe verificar si es un puntero NULL antes de desreferenciarlo.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.10.224\",\"versionEndExcluding\":\"5.10.231\",\"matchCriteriaId\":\"3F789E9B-EFF9-45EE-9F3B-693A9D4BC207\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.15.165\",\"versionEndExcluding\":\"5.15.174\",\"matchCriteriaId\":\"9A040F07-6CA8-4868-8C56-44B30A6A14C9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1.103\",\"versionEndExcluding\":\"6.1.120\",\"matchCriteriaId\":\"DB4EA4FF-3AB1-4856-B1E5-60122A1312B3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6.44\",\"versionEndExcluding\":\"6.6.64\",\"matchCriteriaId\":\"89742DFC-CE54-4CDE-952A-22C5EE4BDB32\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.10.3\",\"versionEndExcluding\":\"6.11.11\",\"matchCriteriaId\":\"147C5FAB-8339-4711-B9FF-B8F0B099192F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12\",\"versionEndExcluding\":\"6.12.2\",\"matchCriteriaId\":\"D8882B1B-2ABC-4838-AC1D-DBDBB5764776\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/35f5b68f63aac61d30ce0b0c6beb09b8845a3e65\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/52617e76f4963644db71dc0a17e998654dc0c7f4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6b526d17eed850352d880b93b9bf20b93006bd92\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/71becb0e9df78a8d43dfd0efcef18c830a0af477\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8c269bb2cc666ca580271e1a8136c63ac9162e1e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/bd715e191d444992d6ed124f15856da5c1cae2de\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.