{"id":"CVE-2026-138904","aliases":["CVE-2026-138904"],"related":[],"kind":"vulnerability","state":"published","title":"media: hantro: disable runtime PM before hardware teardown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: hantro: disable runtime PM before hardware teardown\n\nRemoving the Hantro driver may trigger an SError on RK3588:\n\tSError Interrupt on CPU6, code 0x00000000be000011 -- SError\n\t...\n\tdo_serror+0x5c/0x74\n\tel1h_64_error_handler+0x34/0x50\n\tel1h_64_error+0x6c/0x70\n\tregmap_mmio_read32le+0x10/0x20 (P)\n\t_regmap_bus_reg_read+0x6c/0xb4\n\t_regmap_read+0x60/0xdc\n\tregmap_read+0x4c/0x80\n\trockchip_pd_power+0xe4/0x600\n\trockchip_pd_power_off+0x1c/0x60\n\t_genpd_power_off+0x98/0x198\n\tgenpd_power_off.part.0+0x178/0x288\n\tgenpd_runtime_suspend+0x210/0x300\n\t__rpm_callback+0x48/0x1e0\n\trpm_callback+0x74/0x80\n\trpm_suspend+0x10c/0x580\n\trpm_idle+0x134/0x1b8\n\tupdate_autosuspend+0x30/0xc4\n\t__pm_runtime_use_autosuspend+0x48/0x64\n\thantro_remove+0x8c/0xa8 [hantro_vpu]\n\t...\n\nhantro_remove() currently asserts the device resets before disabling\nruntime PM.\n\nCalling pm_runtime_dont_use_autosuspend() causes an idle device to be\nruntime-suspended immediately. At that point the Hantro hardware has\nalready been torn down, while the generic power-domain genpd code\nstill performs the power-off sequence. genpd regmap_mmio_read causes panic\nsubsequently because the reset lines were asserted.\n\nDisable runtime PM before asserting the reset lines so that no runtime-PM\ntransition can race with hardware teardown.\n\nApply the same ordering to the probe error paths as well.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: hantro: disable runtime PM before hardware teardown\n\nRemoving the Hantro driver may trigger an SError on RK3588:\n\tSError Interrupt on CPU6, code 0x00000000be000011 -- SError\n\t...\n\tdo_serror+0x5c/0x74\n\tel1h_64_error_handler+0x34/0x50\n\tel1h_64_error+0x6c/0x70\n\tregmap_mmio_read32le+0x10/0x20 (P)\n\t_regmap_bus_reg_read+0x6c/0xb4\n\t_regmap_read+0x60/0xdc\n\tregmap_read+0x4c/0x80\n\trockchip_pd_power+0xe4/0x600\n\trockchip_pd_power_off+0x1c/0x60\n\t_genpd_power_off+0x98/0x198\n\tgenpd_power_off.part.0+0x178/0x288\n\tgenpd_runtime_suspend+0x210/0x300\n\t__rpm_callback+0x48/0x1e0\n\trpm_callback+0x74/0x80\n\trpm_suspend+0x10c/0x580\n\trpm_idle+0x134/0x1b8\n\tupdate_autosuspend+0x30/0xc4\n\t__pm_runtime_use_autosuspend+0x48/0x64\n\thantro_remove+0x8c/0xa8 [hantro_vpu]\n\t...\n\nhantro_remove() currently asserts the device resets before disabling\nruntime PM.\n\nCalling pm_runtime_dont_use_autosuspend() causes an idle device to be\nruntime-suspended immediately. At that point the Hantro hardware has\nalready been torn down, while the generic power-domain genpd code\nstill performs the power-off sequence. genpd regmap_mmio_read causes panic\nsubsequently because the reset lines were asserted.\n\nDisable runtime PM before asserting the reset lines so that no runtime-PM\ntransition can race with hardware teardown.\n\nApply the same ordering to the probe error paths as well.","source":"cvelist"}],"published":"2026-11-30T13:26:04.138Z","modified":"2026-11-30T14:17:48.803Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ea71631b7129828c0da4f9d40ec172b7b2c24105","fixed":"224798229bb0dc6155425fe9cfbbcf453768c4dc","status":"affected"},{"type":"git","introduced":"ea71631b7129828c0da4f9d40ec172b7b2c24105","fixed":"17d82bf07b4fc8339c91771bc2e8551204c00e99","status":"affected"},{"type":"git","introduced":"ea71631b7129828c0da4f9d40ec172b7b2c24105","fixed":"94689cf56fe676a1989adb0bdc8405cbd6b74f66","status":"affected"},{"type":"git","introduced":"ea71631b7129828c0da4f9d40ec172b7b2c24105","fixed":"6c01b58b23f95bd4ce98ff01e1a07b88ecd683f6","status":"affected"},{"type":"git","introduced":"ea71631b7129828c0da4f9d40ec172b7b2c24105","fixed":"670d40b2461230cece418a87b399d1a2c69f583c","status":"affected"},{"type":"git","introduced":"ea71631b7129828c0da4f9d40ec172b7b2c24105","fixed":"8e26d4c20ed218db6c3123480a4a4e2545680566","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/224798229bb0dc6155425fe9cfbbcf453768c4dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/17d82bf07b4fc8339c91771bc2e8551204c00e99","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94689cf56fe676a1989adb0bdc8405cbd6b74f66","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c01b58b23f95bd4ce98ff01e1a07b88ecd683f6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/670d40b2461230cece418a87b399d1a2c69f583c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e26d4c20ed218db6c3123480a4a4e2545680566","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138904","url":"https://www.cve.org/CVERecord?id=CVE-2026-138904","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:04.138Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138904","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138904","licence":"Public domain","modified":"2026-11-30T14:17:48.803Z"}],"updatedAt":"2026-11-30T14:32:24.128Z","epss":{"score":0.00168,"percentile":0.06461,"date":"2026-12-01T12:00:22.000Z"}}