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

Published May 21, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

hsr: Prevent use after free in prpcreatetaggedframe()

The prpfillrct() 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.

Affected Software

5 affected components
Linux Linux kernel>=5.9<5.10.201
Linux Linux kernel>=5.11<5.15.139
Linux Linux kernel>=5.16<6.1.63
Linux Linux kernel>=6.2<6.5.12
Linux Linux kernel>=6.6<6.6.2

Event History

May 21, 2024
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-52846?

CVE-2023-52846 has been classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2023-52846?

To fix CVE-2023-52846, upgrade your Linux kernel to a patched version above the affected ranges.

3

Which versions of the Linux kernel are affected by CVE-2023-52846?

CVE-2023-52846 affects Linux kernel versions from 5.9 up to 6.6.2, excluding versions that have applied the fix.

4

What causes the vulnerability CVE-2023-52846?

The vulnerability is caused by a use-after-free condition in the prp_create_tagged_frame() function when handling certain skb operations.

5

Is CVE-2023-52846 related to any specific Linux kernel functionality?

CVE-2023-52846 is specifically related to the hsr (High-availability Seamless Redundancy) functionality within the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203