CVE-2024-50214: drm/connector: hdmi: Fix memory leak in drm_display_mode_from_cea_vic()

Published Nov 9, 2024
·
Updated

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

drm/connector: hdmi: Fix memory leak in drmdisplaymodefromceavic()

modprobe drmconnectortest and then rmmod drmconnectortest, the following memory leak occurs.

The mode allocated in drmmodeduplicate() called by drmdisplaymodefromceavic() is not freed, which cause the memory leak:

unreferenced object 0xffffff80cb0ee400 (size 128): comm "kunittrycatch", pid 1948, jiffies 4294950339 hex dump (first 32 bytes): 14 44 02 00 80 07 d8 07 04 08 98 08 00 00 38 04 .D............8. 3c 04 41 04 65 04 00 00 05 00 00 00 00 00 00 00 <.A.e........... backtrace (crc 90e9585c): [<00000000ec42e3d7>] kmemleakalloc+0x34/0x40 [<00000000d0ef055a>] kmalloccachenoprof+0x26c/0x2f4 [<00000000c2062161>] drmmodeduplicate+0x44/0x19c [<00000000f96c74aa>] drmdisplaymodefromceavic+0x88/0x98 [<00000000d8f2c8b4>] 0xffffffdc982a4868 [<000000005d164dbc>] kunittryruncase+0x13c/0x3ac [<000000006fb23398>] kunitgenericrunthreadfnadapter+0x80/0xec [<000000006ea56ca0>] kthread+0x2e8/0x374 [<000000000676063f>] retfromfork+0x10/0x20 ......

Free mode by using drmkunitdisplaymodefromceavic() to fix it.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=6.11<6.11.7
Linux Linux kernel=6.12-rc1
Linux Linux kernel=6.12-rc2
Linux Linux kernel=6.12-rc3
Linux Linux kernel=6.12-rc4
Linux Linux kernel=6.12-rc5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

Nov 9, 2024
CVE Published
via MITRE·10:14 AM
Data Sourced
via MITRE·10:14 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 20, 2025
Data Sourced
via Launchpad·12:49 AM
Description
Apr 1, 2025
Data Sourced
via Ubuntu·12:59 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-50214?

CVE-2024-50214 has been classified with a severity rating that indicates it could lead to a significant memory leak in the Linux kernel.

2

How do I fix CVE-2024-50214?

To fix CVE-2024-50214, upgrade to a patched version of the Linux kernel that addresses this specific vulnerability.

3

What versions of the Linux kernel are affected by CVE-2024-50214?

CVE-2024-50214 affects Linux kernel versions from 6.11 to 6.12-rc5.

4

Is there a workaround for CVE-2024-50214?

Currently, there are no recommended workarounds for CVE-2024-50214 besides updating to a fixed version of the kernel.

5

What components are involved in the CVE-2024-50214 vulnerability?

CVE-2024-50214 involves the DRM (Direct Rendering Manager) components of the Linux kernel related to HDMI connectivity.

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