CVE-2026-89900
media: cec: core: Fix kmemleak due to missed rc_free_device() call
Check your servers for CVE-2026-89900
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89900 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
media: cec: core: Fix kmemleak due to missed rc_free_device() call
The commit dccc0c3ddf8f ("media: rc: fix race between unregister and urb/irq callbacks") removed the implicit call to rc_free_device() from rc_unregister_device(). However, the commit missed to remove the NULL assignment of adap->rc that is now causing rc_free_device() to never be called on an allocated rc device.
kmemleak reports following after e.g. dw-hdmi unbind:
unreferenced object 0xffff00010ac10000 (size 4096): comm "kworker/u16:1", pid 39, jiffies 4294897739 hex dump (first 32 bytes): 20 23 4b 0a 01 00 ff ff 08 00 c1 0a 01 00 ff ff #K............. 08 00 c1 0a 01 00 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc e11baccc): kmemleak_alloc+0x38/0x44 __kmalloc_cache_noprof+0x4a8/0x5e0 rc_allocate_device+0x48/0x2a0 cec_allocate_adapter+0x3ac/0x800 dw_hdmi_cec_probe+0x264/0x634 platform_probe+0xc0/0x188 really_probe+0x4a4/0x8e0 __driver_probe_device+0x2f8/0x440 driver_probe_device+0x60/0x160 __device_attach_driver+0x1a0/0x2a0 bus_for_each_drv+0x100/0x1a0 __device_attach+0x174/0x350 device_initial_probe+0x90/0xb0 bus_probe_device+0x4c/0x120 device_add+0xdec/0x116c platform_device_add+0x354/0x598
Remove the assignment of adap->rc to NULL to let cec_delete_adapter() free the allocated rc device after last user of the cec device exits to fix the kmemleak.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.27% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a7becb58f6b8a3a3efe5d3acfd52e2c107de6772, before 954ee95a03b4d31d4505591bfaba02c24b75776b affected from 75977f5f5c4974c72bbedefbf09ad33ebbaa36f1, before f28a8e1ba4d67a18e4662e5acefd5a4389322366 affected from e250b672d40a9e0d97a8895cbb301248bea0fce6, before 695063fc57574dd117b1bc750ca189cf03a2caad affected from dccc0c3ddf8f16071736f98a7d6dd46a2d43e037, before cca2407794795cecff7f8e5f5a79f4ef6b1d6f6c affected from dccc0c3ddf8f16071736f98a7d6dd46a2d43e037, before a24ba0653f7154e671dc8d2bf64682ab2d042792 affected from 6.6.143, before 6.6.157 affected from 6.12.93, before 6.12.110 affected from 6.18.35, before 6.18.51
Other versions: unaffected
|
| Linux |
affected 7.1 unaffected before 7.1 unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.51 up to and including 6.18.* unaffected from 7.2.5 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89900 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89900
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89900
trivy image --scanners vuln IMAGE | grep CVE-2026-89900
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/954ee95a03b4d31d4505591bfaba02c24b75776b git.kernel.org
- https://git.kernel.org/stable/c/f28a8e1ba4d67a18e4662e5acefd5a4389322366 git.kernel.org
- https://git.kernel.org/stable/c/695063fc57574dd117b1bc750ca189cf03a2caad git.kernel.org
- https://git.kernel.org/stable/c/cca2407794795cecff7f8e5f5a79f4ef6b1d6f6c git.kernel.org
- https://git.kernel.org/stable/c/a24ba0653f7154e671dc8d2bf64682ab2d042792 git.kernel.org
Source: the record CVE-2026-89900 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse