CVE-2023-52846 (GCVE-0-2023-52846)

Vulnerability from cvelistv5 – Published: 2024-05-21 15:31 – Updated: 2025-05-04 07:44
VLAI?
Title
hsr: Prevent use after free in prp_create_tagged_frame()
Summary
In the Linux kernel, the following vulnerability has been resolved: hsr: Prevent use after free in prp_create_tagged_frame() The prp_fill_rct() function can fail. In that situation, it frees the skb and returns NULL. Meanwhile on the success path, it returns the original skb. So it's straight forward to fix bug by using the returned value.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 451d8123f89791bb628277c0bdb4cae34a3563e6 , < ddf4e04e946aaa6c458b8b6829617cc44af2bffd (git)
Affected: 451d8123f89791bb628277c0bdb4cae34a3563e6 , < a1a485e45d24b1cd8fe834fd6f1b06e2903827da (git)
Affected: 451d8123f89791bb628277c0bdb4cae34a3563e6 , < 6086258bd5ea7b5c706ff62da42b8e271b2401db (git)
Affected: 451d8123f89791bb628277c0bdb4cae34a3563e6 , < 1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18 (git)
Affected: 451d8123f89791bb628277c0bdb4cae34a3563e6 , < d103fb6726904e353b4773188ee3d3acb4078363 (git)
Affected: 451d8123f89791bb628277c0bdb4cae34a3563e6 , < 876f8ab52363f649bcc74072157dfd7adfbabc0d (git)
Create a notification for this product.
    Linux Linux Affected: 5.9
Unaffected: 0 , < 5.9 (semver)
Unaffected: 5.10.201 , ≤ 5.10.* (semver)
Unaffected: 5.15.139 , ≤ 5.15.* (semver)
Unaffected: 6.1.63 , ≤ 6.1.* (semver)
Unaffected: 6.5.12 , ≤ 6.5.* (semver)
Unaffected: 6.6.2 , ≤ 6.6.* (semver)
Unaffected: 6.7 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52846",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-22T18:22:52.516858Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:22:53.490Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:11:36.079Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ddf4e04e946aaa6c458b8b6829617cc44af2bffd"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a1a485e45d24b1cd8fe834fd6f1b06e2903827da"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6086258bd5ea7b5c706ff62da42b8e271b2401db"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/d103fb6726904e353b4773188ee3d3acb4078363"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/876f8ab52363f649bcc74072157dfd7adfbabc0d"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/hsr/hsr_forward.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ddf4e04e946aaa6c458b8b6829617cc44af2bffd",
              "status": "affected",
              "version": "451d8123f89791bb628277c0bdb4cae34a3563e6",
              "versionType": "git"
            },
            {
              "lessThan": "a1a485e45d24b1cd8fe834fd6f1b06e2903827da",
              "status": "affected",
              "version": "451d8123f89791bb628277c0bdb4cae34a3563e6",
              "versionType": "git"
            },
            {
              "lessThan": "6086258bd5ea7b5c706ff62da42b8e271b2401db",
              "status": "affected",
              "version": "451d8123f89791bb628277c0bdb4cae34a3563e6",
              "versionType": "git"
            },
            {
              "lessThan": "1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18",
              "status": "affected",
              "version": "451d8123f89791bb628277c0bdb4cae34a3563e6",
              "versionType": "git"
            },
            {
              "lessThan": "d103fb6726904e353b4773188ee3d3acb4078363",
              "status": "affected",
              "version": "451d8123f89791bb628277c0bdb4cae34a3563e6",
              "versionType": "git"
            },
            {
              "lessThan": "876f8ab52363f649bcc74072157dfd7adfbabc0d",
              "status": "affected",
              "version": "451d8123f89791bb628277c0bdb4cae34a3563e6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/hsr/hsr_forward.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.9"
            },
            {
              "lessThan": "5.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.201",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.139",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.7",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.201",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.139",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.63",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.12",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.2",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.7",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhsr: Prevent use after free in prp_create_tagged_frame()\n\nThe prp_fill_rct() function can fail.  In that situation, it frees the\nskb and returns NULL.  Meanwhile on the success path, it returns the\noriginal skb.  So it\u0027s straight forward to fix bug by using the returned\nvalue."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:44:12.923Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ddf4e04e946aaa6c458b8b6829617cc44af2bffd"
        },
        {
          "url": "https://git.kernel.org/stable/c/a1a485e45d24b1cd8fe834fd6f1b06e2903827da"
        },
        {
          "url": "https://git.kernel.org/stable/c/6086258bd5ea7b5c706ff62da42b8e271b2401db"
        },
        {
          "url": "https://git.kernel.org/stable/c/1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18"
        },
        {
          "url": "https://git.kernel.org/stable/c/d103fb6726904e353b4773188ee3d3acb4078363"
        },
        {
          "url": "https://git.kernel.org/stable/c/876f8ab52363f649bcc74072157dfd7adfbabc0d"
        }
      ],
      "title": "hsr: Prevent use after free in prp_create_tagged_frame()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52846",
    "datePublished": "2024-05-21T15:31:43.863Z",
    "dateReserved": "2024-05-21T15:19:24.254Z",
    "dateUpdated": "2025-05-04T07:44:12.923Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ddf4e04e946aaa6c458b8b6829617cc44af2bffd\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/a1a485e45d24b1cd8fe834fd6f1b06e2903827da\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/6086258bd5ea7b5c706ff62da42b8e271b2401db\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/d103fb6726904e353b4773188ee3d3acb4078363\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/876f8ab52363f649bcc74072157dfd7adfbabc0d\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T23:11:36.079Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-52846\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-22T18:22:52.516858Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:25.641Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"hsr: Prevent use after free in prp_create_tagged_frame()\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"451d8123f89791bb628277c0bdb4cae34a3563e6\", \"lessThan\": \"ddf4e04e946aaa6c458b8b6829617cc44af2bffd\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"451d8123f89791bb628277c0bdb4cae34a3563e6\", \"lessThan\": \"a1a485e45d24b1cd8fe834fd6f1b06e2903827da\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"451d8123f89791bb628277c0bdb4cae34a3563e6\", \"lessThan\": \"6086258bd5ea7b5c706ff62da42b8e271b2401db\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"451d8123f89791bb628277c0bdb4cae34a3563e6\", \"lessThan\": \"1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"451d8123f89791bb628277c0bdb4cae34a3563e6\", \"lessThan\": \"d103fb6726904e353b4773188ee3d3acb4078363\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"451d8123f89791bb628277c0bdb4cae34a3563e6\", \"lessThan\": \"876f8ab52363f649bcc74072157dfd7adfbabc0d\", \"versionType\": \"git\"}], \"programFiles\": [\"net/hsr/hsr_forward.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.201\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.139\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.63\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.5.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.5.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.7\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/hsr/hsr_forward.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ddf4e04e946aaa6c458b8b6829617cc44af2bffd\"}, {\"url\": \"https://git.kernel.org/stable/c/a1a485e45d24b1cd8fe834fd6f1b06e2903827da\"}, {\"url\": \"https://git.kernel.org/stable/c/6086258bd5ea7b5c706ff62da42b8e271b2401db\"}, {\"url\": \"https://git.kernel.org/stable/c/1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18\"}, {\"url\": \"https://git.kernel.org/stable/c/d103fb6726904e353b4773188ee3d3acb4078363\"}, {\"url\": \"https://git.kernel.org/stable/c/876f8ab52363f649bcc74072157dfd7adfbabc0d\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nhsr: Prevent use after free in prp_create_tagged_frame()\\n\\nThe prp_fill_rct() function can fail.  In that situation, it frees the\\nskb and returns NULL.  Meanwhile on the success path, it returns the\\noriginal skb.  So it\u0027s straight forward to fix bug by using the returned\\nvalue.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T08:27:05.651Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-52846\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T08:27:05.651Z\", \"dateReserved\": \"2024-05-21T15:19:24.254Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-21T15:31:43.863Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…