CVE-2024-27077: media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity

Published May 1, 2024
·
Updated

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

media: v4l2-mem2mem: fix a memleak in v4l2m2mregisterentity

The entity->name (i.e. name) is allocated in v4l2m2mregisterentity but isn't freed in its following error-handling paths. This patch adds such deallocation to prevent memleak of entity->name.

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=4.19<4.19.311
Linux Linux kernel>=4.20<5.4.273
Linux Linux kernel>=5.5<5.10.214
Linux Linux kernel>=5.11<5.15.153
Linux Linux kernel>=5.16<6.1.83
Linux Linux kernel>=6.2<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2
Debian Debian Linux=10.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

May 1, 2024
CVE Published
via MITRE·01:04 PM
Data Sourced
via MITRE·01:04 PM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:14 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·06:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-27077?

CVE-2024-27077 is classified with a medium severity level due to potential memory leaks in the Linux kernel.

2

How do I fix CVE-2024-27077?

To fix CVE-2024-27077, update the Linux kernel to a version that includes the patch, specifically versions 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.

3

Which Linux kernel versions are affected by CVE-2024-27077?

CVE-2024-27077 affects Linux kernel versions ranging from 4.19 to 6.8, including multiple intermediate versions.

4

Is CVE-2024-27077 specific to any Linux distribution?

CVE-2024-27077 is primarily associated with the Linux kernel and impacts various distributions that use affected versions, including Debian.

5

What components of the Linux kernel are impacted by CVE-2024-27077?

CVE-2024-27077 impacts the media subsystem, specifically the v4l2-mem2mem module related to memory management.

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