# CVE-2023-52846: hsr: Prevent use after free in prp_create_tagged_frame()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 30% of CVEs (2026-12-02)
- Published: 2024-05-21T15:31:43.863Z
- Modified: 2026-08-05T09:11:39.752Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 451d8123f89791bb628277c0bdb4cae34a3563e6 before ddf4e04e946aaa6c458b8b6829617cc44af2bffd; from 451d8123f89791bb628277c0bdb4cae34a3563e6 before a1a485e45d24b1cd8fe834fd6f1b06e2903827da; from 451d8123f89791bb628277c0bdb4cae34a3563e6 before 6086258bd5ea7b5c706ff62da42b8e271b2401db; from 451d8123f89791bb628277c0bdb4cae34a3563e6 before 1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18; from 451d8123f89791bb628277c0bdb4cae34a3563e6 before d103fb6726904e353b4773188ee3d3acb4078363; from 451d8123f89791bb628277c0bdb4cae34a3563e6 before 876f8ab52363f649bcc74072157dfd7adfbabc0d; 5.9 (not affected: before 5.9; from 5.10.201 up to 5.10.*; from 5.15.139 up to 5.15.*; from 6.1.63 up to 6.1.*; from 6.5.12 up to 6.5.*; from 6.6.2 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 5.9 before 5.10.201; from 5.11 before 5.15.139; from 5.16 before 6.1.63; from 6.2 before 6.5.12; from 6.6 before 6.6.2

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/ddf4e04e946aaa6c458b8b6829617cc44af2bffd> (patch)
- <https://git.kernel.org/stable/c/a1a485e45d24b1cd8fe834fd6f1b06e2903827da> (patch)
- <https://git.kernel.org/stable/c/6086258bd5ea7b5c706ff62da42b8e271b2401db> (patch)
- <https://git.kernel.org/stable/c/1787b9f0729d318d67cf7c5a95f0c3dba9a7cc18> (patch)
- <https://git.kernel.org/stable/c/d103fb6726904e353b4773188ee3d3acb4078363> (patch)
- <https://git.kernel.org/stable/c/876f8ab52363f649bcc74072157dfd7adfbabc0d> (patch)

## Sources

- CVE List: [CVE-2023-52846](https://www.cve.org/CVERecord?id=CVE-2023-52846), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-52846](https://nvd.nist.gov/vuln/detail/CVE-2023-52846), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-52846 · Whole record: https://cve.day/CVE-2023-52846.json · Rebuilt by cve.day 2026-11-25T22:58:34.051Z
