CVE-2026-138904
media: hantro: disable runtime PM before hardware teardown
Check your servers for CVE-2026-138904
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-138904 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: hantro: disable runtime PM before hardware teardown
Removing the Hantro driver may trigger an SError on RK3588: SError Interrupt on CPU6, code 0x00000000be000011 -- SError ... do_serror+0x5c/0x74 el1h_64_error_handler+0x34/0x50 el1h_64_error+0x6c/0x70 regmap_mmio_read32le+0x10/0x20 (P) _regmap_bus_reg_read+0x6c/0xb4 _regmap_read+0x60/0xdc regmap_read+0x4c/0x80 rockchip_pd_power+0xe4/0x600 rockchip_pd_power_off+0x1c/0x60 _genpd_power_off+0x98/0x198 genpd_power_off.part.0+0x178/0x288 genpd_runtime_suspend+0x210/0x300 __rpm_callback+0x48/0x1e0 rpm_callback+0x74/0x80 rpm_suspend+0x10c/0x580 rpm_idle+0x134/0x1b8 update_autosuspend+0x30/0xc4 __pm_runtime_use_autosuspend+0x48/0x64 hantro_remove+0x8c/0xa8 [hantro_vpu] ...
hantro_remove() currently asserts the device resets before disabling runtime PM.
Calling pm_runtime_dont_use_autosuspend() causes an idle device to be runtime-suspended immediately. At that point the Hantro hardware has already been torn down, while the generic power-domain genpd code still performs the power-off sequence. genpd regmap_mmio_read causes panic subsequently because the reset lines were asserted.
Disable runtime PM before asserting the reset lines so that no runtime-PM transition can race with hardware teardown.
Apply the same ordering to the probe error paths as well.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.46% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ea71631b7129828c0da4f9d40ec172b7b2c24105, before 224798229bb0dc6155425fe9cfbbcf453768c4dc affected from ea71631b7129828c0da4f9d40ec172b7b2c24105, before 17d82bf07b4fc8339c91771bc2e8551204c00e99 affected from ea71631b7129828c0da4f9d40ec172b7b2c24105, before 94689cf56fe676a1989adb0bdc8405cbd6b74f66 affected from ea71631b7129828c0da4f9d40ec172b7b2c24105, before 6c01b58b23f95bd4ce98ff01e1a07b88ecd683f6 affected from ea71631b7129828c0da4f9d40ec172b7b2c24105, before 670d40b2461230cece418a87b399d1a2c69f583c affected from ea71631b7129828c0da4f9d40ec172b7b2c24105, before 8e26d4c20ed218db6c3123480a4a4e2545680566
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 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-138904 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138904
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-138904
trivy image --scanners vuln IMAGE | grep CVE-2026-138904
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/224798229bb0dc6155425fe9cfbbcf453768c4dc git.kernel.org
- https://git.kernel.org/stable/c/17d82bf07b4fc8339c91771bc2e8551204c00e99 git.kernel.org
- https://git.kernel.org/stable/c/94689cf56fe676a1989adb0bdc8405cbd6b74f66 git.kernel.org
- https://git.kernel.org/stable/c/6c01b58b23f95bd4ce98ff01e1a07b88ecd683f6 git.kernel.org
- https://git.kernel.org/stable/c/670d40b2461230cece418a87b399d1a2c69f583c git.kernel.org
- https://git.kernel.org/stable/c/8e26d4c20ed218db6c3123480a4a4e2545680566 git.kernel.org
Source: the record CVE-2026-138904 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