cve-2024-50295
Vulnerability from cvelistv5
Published
2024-11-19 01:30
Modified
2024-11-19 01:30
Severity ?
Summary
net: arc: fix the device for dma_map_single/dma_unmap_single
Impacted products
Vendor Product Version
Linux Linux Version: 5.10
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/arc/emac_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "30606ea3fae5",
              "status": "affected",
              "version": "f959dcd6ddfd",
              "versionType": "git"
            },
            {
              "lessThan": "3898393b5483",
              "status": "affected",
              "version": "f959dcd6ddfd",
              "versionType": "git"
            },
            {
              "lessThan": "fd4e062fbc07",
              "status": "affected",
              "version": "f959dcd6ddfd",
              "versionType": "git"
            },
            {
              "lessThan": "8ed7a4a39c3f",
              "status": "affected",
              "version": "f959dcd6ddfd",
              "versionType": "git"
            },
            {
              "lessThan": "cd4706d9ac0d",
              "status": "affected",
              "version": "f959dcd6ddfd",
              "versionType": "git"
            },
            {
              "lessThan": "71803c1dfa29",
              "status": "affected",
              "version": "f959dcd6ddfd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/arc/emac_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10"
            },
            {
              "lessThan": "5.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.230",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.172",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: arc: fix the device for dma_map_single/dma_unmap_single\n\nThe ndev-\u003edev and pdev-\u003edev aren\u0027t the same device, use ndev-\u003edev.parent\nwhich has dma_mask, ndev-\u003edev.parent is just pdev-\u003edev.\nOr it would cause the following issue:\n\n[   39.933526] ------------[ cut here ]------------\n[   39.938414] WARNING: CPU: 1 PID: 501 at kernel/dma/mapping.c:149 dma_map_page_attrs+0x90/0x1f8"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-11-19T01:30:41.999Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/30606ea3fae57f8e9f2467415389e988e3c53a18"
        },
        {
          "url": "https://git.kernel.org/stable/c/3898393b5483c8aa2efd7cb13aa70e22078ab022"
        },
        {
          "url": "https://git.kernel.org/stable/c/fd4e062fbc07156f8e9d73212d347c744572677e"
        },
        {
          "url": "https://git.kernel.org/stable/c/8ed7a4a39c3f7cd9655af867e878fda512ae67ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43dd"
        },
        {
          "url": "https://git.kernel.org/stable/c/71803c1dfa29e0d13b99e48fda11107cc8caebc7"
        }
      ],
      "title": "net: arc: fix the device for dma_map_single/dma_unmap_single",
      "x_generator": {
        "engine": "bippy-8e903de6a542"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-50295",
    "datePublished": "2024-11-19T01:30:41.999Z",
    "dateReserved": "2024-10-21T19:36:19.986Z",
    "dateUpdated": "2024-11-19T01:30:41.999Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-50295\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-11-19T02:16:31.687\",\"lastModified\":\"2024-11-19T21:57:32.967\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: arc: fix the device for dma_map_single/dma_unmap_single\\n\\nThe ndev-\u003edev and pdev-\u003edev aren\u0027t the same device, use ndev-\u003edev.parent\\nwhich has dma_mask, ndev-\u003edev.parent is just pdev-\u003edev.\\nOr it would cause the following issue:\\n\\n[   39.933526] ------------[ cut here ]------------\\n[   39.938414] WARNING: CPU: 1 PID: 501 at kernel/dma/mapping.c:149 dma_map_page_attrs+0x90/0x1f8\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: arc: reparar el dispositivo para dma_map_single/dma_unmap_single ndev-\u0026gt;dev y pdev-\u0026gt;dev no son el mismo dispositivo, use ndev-\u0026gt;dev.parent que tiene dma_mask, ndev-\u0026gt;dev.parent es simplemente pdev-\u0026gt;dev. O causar\u00eda el siguiente problema: [ 39.933526] ------------[ cortar aqu\u00ed ]------------ [ 39.938414] ADVERTENCIA: CPU: 1 PID: 501 en kernel/dma/mapping.c:149 dma_map_page_attrs+0x90/0x1f8\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/30606ea3fae57f8e9f2467415389e988e3c53a18\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3898393b5483c8aa2efd7cb13aa70e22078ab022\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/71803c1dfa29e0d13b99e48fda11107cc8caebc7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8ed7a4a39c3f7cd9655af867e878fda512ae67ad\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43dd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fd4e062fbc07156f8e9d73212d347c744572677e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




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.