← Back to CVE Explorer

CVE-2026-99058

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: workqueue: Fix NULL current_pwq deref in chained work check current_wq_worker() only tells us that %current is a kworker. It does not guarantee that the worker is currently executing a work item, as worker->current_pwq is populated only while process_one_work() is running the work function. is_chained_work() can be reached while queueing on a draining or destroying workqueue. If a kworker outside work-item execution reaches that path, current_wq_worker() returns a worker but worker->current_pwq is NULL, and the chained-work test can fault before it emits the intended warning. Guard the chained-work test with worker->current_pwq. A kworker without current_pwq is not executing work on the target workqueue, so the helper should return false and let the draining/destroying warning fire.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-23 13:17:29.503000
Last modified
2026-10-30 13:21:42.603000
View original CVE JSON
{
  "id": "CVE-2026-99058",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-23T13:17:29.503",
  "lastModified": "2026-10-30T13:21:42.603",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nworkqueue: Fix NULL current_pwq deref in chained work check\n\ncurrent_wq_worker() only tells us that %current is a kworker. It does\nnot guarantee that the worker is currently executing a work item, as\nworker->current_pwq is populated only while process_one_work() is running\nthe work function.\n\nis_chained_work() can be reached while queueing on a draining or\ndestroying workqueue. If a kworker outside work-item execution reaches\nthat path, current_wq_worker() returns a worker but worker->current_pwq is\nNULL, and the chained-work test can fault before it emits the intended\nwarning.\n\nGuard the chained-work test with worker->current_pwq. A kworker without\ncurrent_pwq is not executing work on the target workqueue, so the helper\nshould return false and let the draining/destroying warning fire."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "kernel/workqueue.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "8d03ecfe471802d6afe97da97722b6924533aa82",
              "lessThan": "73bec442f913855907b63225306dd162c18e5c71",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8d03ecfe471802d6afe97da97722b6924533aa82",
              "lessThan": "6877de2c75f0dd342099a1357856e6c8d474abc3",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8d03ecfe471802d6afe97da97722b6924533aa82",
              "lessThan": "54361e4924c2c52a501b74ef10217c32f45fccfa",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8d03ecfe471802d6afe97da97722b6924533aa82",
              "lessThan": "3dc61af2998cfc7312d6e59bbdcd5eed074483f2",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8d03ecfe471802d6afe97da97722b6924533aa82",
              "lessThan": "729d576df89c7e4341e58c452f8890620a610ac2",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8d03ecfe471802d6afe97da97722b6924533aa82",
              "lessThan": "b12a25fb2b9d5dac80e419d695450cc17a51fdfd",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8d03ecfe471802d6afe97da97722b6924533aa82",
              "lessThan": "1a2668682e998039a027796b236319b380078a6a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8d03ecfe471802d6afe97da97722b6924533aa82",
              "lessThan": "980db94e3eeefdd8a1c46f86412c33a7f7806f51",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "kernel/workqueue.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "3.9",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "3.9",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.57",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.11",
              "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/1a2668682e998039a027796b236319b380078a6a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3dc61af2998cfc7312d6e59bbdcd5eed074483f2",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/54361e4924c2c52a501b74ef10217c32f45fccfa",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/6877de2c75f0dd342099a1357856e6c8d474abc3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/729d576df89c7e4341e58c452f8890620a610ac2",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/73bec442f913855907b63225306dd162c18e5c71",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/980db94e3eeefdd8a1c46f86412c33a7f7806f51",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b12a25fb2b9d5dac80e419d695450cc17a51fdfd",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}