CVE-2021-47122: net: caif: fix memory leak in caif_device_notify

Published Mar 15, 2024
·
Updated

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

net: caif: fix memory leak in caifdevicenotify

In case of caifenrolldev() fail, allocated linksupport won't be assigned to the corresponding structure. So simply free allocated pointer in case of error

Affected Software

12 affected componentsFixes available
Linux Linux kernel>=3.3<4.4.272
Linux Linux kernel>=4.5<4.9.272
Linux Linux kernel>=4.10<4.14.236
Linux Linux kernel>=4.15<4.19.194
Linux Linux kernel>=4.20<5.4.125
Linux Linux kernel>=5.5<5.10.43
Linux Linux kernel>=5.11<5.12.10
Linux Linux kernel=5.13-rc1
Linux Linux kernel=5.13-rc2
Linux Linux kernel=5.13-rc3
Linux Linux kernel=5.13-rc4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1
  2. Compensating control

    In net: caif: caif_device_notify, free the allocated link_support pointer when caif_enroll_dev() fails.

Event History

Mar 15, 2024
CVE Published
via MITRE·08:14 PM
Data Sourced
via MITRE·08:14 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2021-47122?

CVE-2021-47122 is classified as a medium severity vulnerability.

2

How do I fix CVE-2021-47122?

To fix CVE-2021-47122, update your Linux kernel to a version later than those affected, specifically above 5.13-rc4.

3

What is the impact of CVE-2021-47122?

The impact of CVE-2021-47122 is a potential memory leak in the Linux kernel within the CAIF subsystem.

4

Which versions of Linux are affected by CVE-2021-47122?

CVE-2021-47122 affects multiple versions of the Linux kernel, specifically from 3.3 up to 5.13-rc4.

5

What component of the Linux kernel is affected by CVE-2021-47122?

CVE-2021-47122 affects the CAIF (Carrier Aggregation on Internet First) subsystem 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