{"id":"CVE-2026-89900","summary":"media: cec: core: Fix kmemleak due to missed rc_free_device() call","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cec: core: Fix kmemleak due to missed rc_free_device() call\n\nThe commit dccc0c3ddf8f (\"media: rc: fix race between unregister and\nurb/irq callbacks\") removed the implicit call to rc_free_device() from\nrc_unregister_device(). However, the commit missed to remove the NULL\nassignment of adap-\u003erc that is now causing rc_free_device() to never be\ncalled on an allocated rc device.\n\nkmemleak reports following after e.g. dw-hdmi unbind:\n\nunreferenced object 0xffff00010ac10000 (size 4096):\n  comm \"kworker/u16:1\", pid 39, jiffies 4294897739\n  hex dump (first 32 bytes):\n    20 23 4b 0a 01 00 ff ff 08 00 c1 0a 01 00 ff ff   #K.............\n    08 00 c1 0a 01 00 ff ff 00 00 00 00 00 00 00 00  ................\n  backtrace (crc e11baccc):\n    kmemleak_alloc+0x38/0x44\n    __kmalloc_cache_noprof+0x4a8/0x5e0\n    rc_allocate_device+0x48/0x2a0\n    cec_allocate_adapter+0x3ac/0x800\n    dw_hdmi_cec_probe+0x264/0x634\n    platform_probe+0xc0/0x188\n    really_probe+0x4a4/0x8e0\n    __driver_probe_device+0x2f8/0x440\n    driver_probe_device+0x60/0x160\n    __device_attach_driver+0x1a0/0x2a0\n    bus_for_each_drv+0x100/0x1a0\n    __device_attach+0x174/0x350\n    device_initial_probe+0x90/0xb0\n    bus_probe_device+0x4c/0x120\n    device_add+0xdec/0x116c\n    platform_device_add+0x354/0x598\n\nRemove the assignment of adap-\u003erc to NULL to let cec_delete_adapter()\nfree the allocated rc device after last user of the cec device exits to\nfix the kmemleak.","modified":"2026-09-18T03:48:33.907840484Z","published":"2026-09-16T10:32:00.289Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89900.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/695063fc57574dd117b1bc750ca189cf03a2caad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/954ee95a03b4d31d4505591bfaba02c24b75776b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a24ba0653f7154e671dc8d2bf64682ab2d042792"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cca2407794795cecff7f8e5f5a79f4ef6b1d6f6c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f28a8e1ba4d67a18e4662e5acefd5a4389322366"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89900.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89900"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a7becb58f6b8a3a3efe5d3acfd52e2c107de6772"},{"fixed":"954ee95a03b4d31d4505591bfaba02c24b75776b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"75977f5f5c4974c72bbedefbf09ad33ebbaa36f1"},{"fixed":"f28a8e1ba4d67a18e4662e5acefd5a4389322366"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e250b672d40a9e0d97a8895cbb301248bea0fce6"},{"fixed":"695063fc57574dd117b1bc750ca189cf03a2caad"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dccc0c3ddf8f16071736f98a7d6dd46a2d43e037"},{"fixed":"cca2407794795cecff7f8e5f5a79f4ef6b1d6f6c"},{"fixed":"a24ba0653f7154e671dc8d2bf64682ab2d042792"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.6.143"},{"fixed":"6.6.157"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.12.93"},{"fixed":"6.12.110"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.18.35"},{"fixed":"6.18.51"}]}],"versions":["v6.6.156","v6.6.155","v6.6.154","v6.6.153","v6.6.152","v6.6.151","v6.6.150","v6.6.149","v6.6.148","v6.6.147","v6.6.146","v6.6.145","v6.6.144","v6.6.143","v6.12.109","v6.12.108","v6.12.107","v6.12.106","v6.12.105","v6.12.104","v6.12.103","v6.12.102","v6.12.101","v6.12.100","v6.12.99","v6.12.98","v6.12.97","v6.12.96","v6.12.95","v6.12.94","v6.12.93","v6.18.50","v6.18.49","v6.18.48","v6.18.47","v6.18.46","v6.18.45","v6.18.44","v6.18.43","v6.18.42","v6.18.41","v6.18.40","v6.18.39","v6.18.38","v6.18.37","v6.18.36","v6.18.35"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89900.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89900.json"}}],"schema_version":"1.9.0"}