Skip to content
Heist/ feed
Back to feed
HighFix available

hsr: Prevent use after free in prp_create_tagged_frame()

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.201, 5.15.139, 6.1.63, 6.5.12, 6.6.2
CVEs
CVE-2023-52846
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 12:43 UTC · Revision 1

Source evidence

hsr: Prevent use after free in prp_create_tagged_frame()

core-osv · Original source

Published 21 May 2024, 15:31 UTC

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.

osv:CVE-2023-52846

Kernel

Fixed versions: 5.10.201, 5.15.139, 6.1.63, 6.5.12, 6.6.2

Complete source record
{
  "id": "54f385d5b032da11c4bfc23920484948bcb00a770dfa7be49e21d36ab9465842",
  "url": "https://osv.dev/vulnerability/CVE-2023-52846",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2023-52846",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.201",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.139",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.63",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.5.12",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-52846",
      "aliases": [
        "CVE-2023-52846"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "451d8123f89791bb628277c0bdb4cae34a3563e6"
                },
                {
                  "fixed": "ddf4e04e946aaa6c458b8b6829617cc44af2bffd"
                },
                {
                  "fixed": "a1a485e45d24b1cd8fe834fd6f1b06e2903827da"
                },
                {
                  "fixed": "6086258bd5ea7b5c706ff62da42b8e271b2401db"
                },
                {
                  "fixed": "1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18"
                },
                {
                  "fixed": "d103fb6726904e353b4773188ee3d3acb4078363"
                },
                {
                  "fixed": "876f8ab52363f649bcc74072157dfd7adfbabc0d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52846.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.9.0"
                },
                {
                  "fixed": "5.10.201"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.139"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.63"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.5.12"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.6.0"
                },
                {
                  "fixed": "6.6.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52846.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.986759692Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18",
        "https://git.kernel.org/stable/c/6086258bd5ea7b5c706ff62da42b8e271b2401db",
        "https://git.kernel.org/stable/c/876f8ab52363f649bcc74072157dfd7adfbabc0d",
        "https://git.kernel.org/stable/c/a1a485e45d24b1cd8fe834fd6f1b06e2903827da",
        "https://git.kernel.org/stable/c/d103fb6726904e353b4773188ee3d3acb4078363",
        "https://git.kernel.org/stable/c/ddf4e04e946aaa6c458b8b6829617cc44af2bffd",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52846.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-52846",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52846.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-52846",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495536,
  "published_at": "2024-05-21T15:31:43.863+00:00"
}