{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ea71631b7129828c0da4f9d40ec172b7b2c24105"
            },
            {
              "fixed": "224798229bb0dc6155425fe9cfbbcf453768c4dc"
            },
            {
              "fixed": "17d82bf07b4fc8339c91771bc2e8551204c00e99"
            },
            {
              "fixed": "94689cf56fe676a1989adb0bdc8405cbd6b74f66"
            },
            {
              "fixed": "6c01b58b23f95bd4ce98ff01e1a07b88ecd683f6"
            },
            {
              "fixed": "670d40b2461230cece418a87b399d1a2c69f583c"
            },
            {
              "fixed": "8e26d4c20ed218db6c3123480a4a4e2545680566"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.17.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138904.json"
  },
  "details": "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.",
  "id": "CVE-2026-138904",
  "modified": "2026-12-01T20:46:08.776989771Z",
  "published": "2026-11-30T13:26:04.138Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/17d82bf07b4fc8339c91771bc2e8551204c00e99"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/224798229bb0dc6155425fe9cfbbcf453768c4dc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/670d40b2461230cece418a87b399d1a2c69f583c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6c01b58b23f95bd4ce98ff01e1a07b88ecd683f6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8e26d4c20ed218db6c3123480a4a4e2545680566"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/94689cf56fe676a1989adb0bdc8405cbd6b74f66"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138904.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138904"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "media: hantro: disable runtime PM before hardware teardown"
}