Linux kernel system crash in Hantro media driver during removal
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
The Hantro media driver in the Linux kernel can crash the system when it is removed, because runtime power management runs after the hardware has already been torn down. The fix disables runtime power management before the reset lines are asserted.
Written by a model
Original 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.
What to do
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138904 (media: hantro: disable runtime PM before hardware teardown), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138904 (entry last updated 2026-11-30):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 5.17
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-138904 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138904 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/224798229bb0dc6155425fe9cfbbcf453768c4dc
- https://git.kernel.org/stable/c/17d82bf07b4fc8339c91771bc2e8551204c00e99
- https://git.kernel.org/stable/c/94689cf56fe676a1989adb0bdc8405cbd6b74f66
- https://git.kernel.org/stable/c/6c01b58b23f95bd4ce98ff01e1a07b88ecd683f6
- https://git.kernel.org/stable/c/670d40b2461230cece418a87b399d1a2c69f583c
- https://git.kernel.org/stable/c/8e26d4c20ed218db6c3123480a4a4e2545680566
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138904
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138904"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux5.17
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch5/5No patch listed yet
What would change the score
- Would score about 80 if added to CISA KEV
- Would score about 75 if CISA's SSVC rates exploitation active
- Would score about 47 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 8
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138904 |
| Record | NVD · CVE-2026-138904 |
| Other links 6 | |
| Link | git.kernel.org · stable/c/224798229bb0dc6155425fe9cfbbcf453768c4dc |
| Link | git.kernel.org · stable/c/17d82bf07b4fc8339c91771bc2e8551204c00e99 |
| Link | git.kernel.org · stable/c/94689cf56fe676a1989adb0bdc8405cbd6b74f66 |
| Link | git.kernel.org · stable/c/6c01b58b23f95bd4ce98ff01e1a07b88ecd683f6 |
| Link | git.kernel.org · stable/c/670d40b2461230cece418a87b399d1a2c69f583c |
| Link | git.kernel.org · stable/c/8e26d4c20ed218db6c3123480a4a4e2545680566 |
Questions about CVE-2026-138904
Is CVE-2026-138904 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-138904?
Linux: version 5.17.
Source: cve.now feed data
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.