{"cve":"CVE-2024-50213","nvd":{"published":"2024-11-09T11:15:06.650","modified":"2026-06-17T08:03:53.373","status":"Modified","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()\n\nmodprobe drm_hdmi_state_helper_test and then rmmod it, the following\nmemory leak occurs.\n\nThe `mode` allocated in drm_mode_duplicate() called by\ndrm_display_mode_from_cea_vic() is not freed, which cause the memory leak:\n\n\tunreferenced object 0xffffff80ccd18100 (size 128):\n\t  comm \"kunit_try_catch\", pid 1851, jiffies 4295059695\n\t  hex dump (first 32 bytes):\n\t    57 62 00 00 80 02 90 02 f0 02 20 03 00 00 e0 01  Wb........ .....\n\t    ea 01 ec 01 0d 02 00 00 0a 00 00 00 00 00 00 00  ................\n\t  backtrace (crc c2f1aa95):\n\t    [<000000000f10b11b>] kmemleak_alloc+0x34/0x40\n\t    [<000000001cd4cf73>] __kmalloc_cache_noprof+0x26c/0x2f4\n\t    [<00000000f1f3cffa>] drm_mode_duplicate+0x44/0x19c\n\t    [<000000008cbeef13>] drm_display_mode_from_cea_vic+0x88/0x98\n\t    [<0000000019daaacf>] 0xffffffedc11ae69c\n\t    [<000000000aad0f85>] kunit_try_run_case+0x13c/0x3ac\n\t    [<00000000a9210bac>] kunit_generic_run_threadfn_adapter+0x80/0xec\n\t    [<000000000a0b2e9e>] kthread+0x2e8/0x374\n\t    [<00000000bd668858>] ret_from_fork+0x10/0x20\n\t......\n\nFree `mode` by using drm_kunit_display_mode_from_cea_vic()\nto fix it.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-401"],"references":["https://git.kernel.org/stable/c/3bc3fae8a0f22e0e713729b50e2111f6a8c64724","https://git.kernel.org/stable/c/add4163aca0d4a86e9fe4aa513865e4237db8aef"],"products":["linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2024-50213","score":0.00202,"percentile":0.1011,"date":"2026-11-01"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}