← Back to CVE Explorer

CVE-2026-90431

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: remoteproc: Prevent crash handling to race with rproc_del() There's no synchronization between rproc_crash_handler_work() and rproc_del(), as such it's possible for a driver to be removed while crash-handler work is scheduled, or even executing - resulting in use-after-free issues. To avoid this the scheduled work need to be cancelled and synchronized against before the removal proceeds. In order to ensure that this doesn't race with the reporting, and thereby scheduling new work, a "deleting" flag is introduced. This is similar to the RPROC_DELETE state that was introduced to ensure that "start" didn't race with rproc_del(), but the existing mechanism can not be used as it's valid to call rproc_report_crash() in atomic context - and the "state" is protected by a mutex. In the event that work is cancelled the pm_stay_awake() is left unbalanced and need to be unrolled. The blocking and cancelling of crash-handler work prior to the actual rproc_shutdown() call does have the explicit side-effect that crashes resulting from the shutdown process will not enter the crash-handling path, and as such will not generate devcoredumps etc. Due to the existing mutual exclusion between these code paths there's no concrete reduction in functionality, but further work would be needed to handle this case.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:17:48.110000
Last modified
2026-10-19 09:19:37.400000
View original CVE JSON
{
  "id": "CVE-2026-90431",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-17T17:17:48.110",
  "lastModified": "2026-10-19T09:19:37.400",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: Prevent crash handling to race with rproc_del()\n\nThere's no synchronization between rproc_crash_handler_work() and\nrproc_del(), as such it's possible for a driver to be removed while\ncrash-handler work is scheduled, or even executing - resulting in\nuse-after-free issues.\n\nTo avoid this the scheduled work need to be cancelled and synchronized\nagainst before the removal proceeds.\n\nIn order to ensure that this doesn't race with the reporting, and\nthereby scheduling new work, a \"deleting\" flag is introduced. This is\nsimilar to the RPROC_DELETE state that was introduced to ensure that\n\"start\" didn't race with rproc_del(), but the existing mechanism can not\nbe used as it's valid to call rproc_report_crash() in atomic context -\nand the \"state\" is protected by a mutex.\n\nIn the event that work is cancelled the pm_stay_awake() is left\nunbalanced and need to be unrolled.\n\nThe blocking and cancelling of crash-handler work prior to the actual\nrproc_shutdown() call does have the explicit side-effect that crashes\nresulting from the shutdown process will not enter the crash-handling\npath, and as such will not generate devcoredumps etc. Due to the\nexisting mutual exclusion between these code paths there's no concrete\nreduction in functionality, but further work would be needed to handle\nthis case."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/remoteproc/remoteproc_core.c",
            "drivers/remoteproc/remoteproc_sysfs.c",
            "include/linux/remoteproc.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "8afd519c3470f685f964deebd61aa51d83cde90a",
              "lessThan": "50f232c26298923d39a48dc8e03d1732e5a5dcf1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8afd519c3470f685f964deebd61aa51d83cde90a",
              "lessThan": "69af36f1fb7d24d287662fef6b2093bcf847a9db",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8afd519c3470f685f964deebd61aa51d83cde90a",
              "lessThan": "a8a62cb4d2f3fd6aa06e86f1711c62d2a4cf17d5",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8afd519c3470f685f964deebd61aa51d83cde90a",
              "lessThan": "47de033918cd772146f7438aa04471c020b2dedc",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8afd519c3470f685f964deebd61aa51d83cde90a",
              "lessThan": "a31d9562eeec5c4103c202fc87651f6e7d3d0035",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8afd519c3470f685f964deebd61aa51d83cde90a",
              "lessThan": "f15cde11298402f803d5dda9cb9f95eea3d2ca40",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8afd519c3470f685f964deebd61aa51d83cde90a",
              "lessThan": "61862ed651b2493573e6d2192d5640bc6616f5d0",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8afd519c3470f685f964deebd61aa51d83cde90a",
              "lessThan": "74ee3b2f5767447c57959994341e5b95f1079977",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/remoteproc/remoteproc_core.c",
            "drivers/remoteproc/remoteproc_sysfs.c",
            "include/linux/remoteproc.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "3.7",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "3.7",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.270",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.221",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.188",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.157",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.110",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.52",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.6",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/47de033918cd772146f7438aa04471c020b2dedc",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/50f232c26298923d39a48dc8e03d1732e5a5dcf1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/61862ed651b2493573e6d2192d5640bc6616f5d0",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/69af36f1fb7d24d287662fef6b2093bcf847a9db",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/74ee3b2f5767447c57959994341e5b95f1079977",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a31d9562eeec5c4103c202fc87651f6e7d3d0035",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a8a62cb4d2f3fd6aa06e86f1711c62d2a4cf17d5",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f15cde11298402f803d5dda9cb9f95eea3d2ca40",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}