GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2025-40163 (GCVE-0-2025-40163)

Vulnerability from cvelistv5 – Published: 2025-11-12 10:26 – Updated: 2026-06-01 16:05
VLAI
Title
sched/deadline: Stop dl_server before CPU goes offline
Summary
In the Linux kernel, the following vulnerability has been resolved: sched/deadline: Stop dl_server before CPU goes offline IBM CI tool reported kernel warning[1] when running a CPU removal operation through drmgr[2]. i.e "drmgr -c cpu -r -q 1" WARNING: CPU: 0 PID: 0 at kernel/sched/cpudeadline.c:219 cpudl_set+0x58/0x170 NIP [c0000000002b6ed8] cpudl_set+0x58/0x170 LR [c0000000002b7cb8] dl_server_timer+0x168/0x2a0 Call Trace: [c000000002c2f8c0] init_stack+0x78c0/0x8000 (unreliable) [c0000000002b7cb8] dl_server_timer+0x168/0x2a0 [c00000000034df84] __hrtimer_run_queues+0x1a4/0x390 [c00000000034f624] hrtimer_interrupt+0x124/0x300 [c00000000002a230] timer_interrupt+0x140/0x320 Git bisects to: commit 4ae8d9aa9f9d ("sched/deadline: Fix dl_server getting stuck") This happens since: - dl_server hrtimer gets enqueued close to cpu offline, when kthread_park enqueues a fair task. - CPU goes offline and drmgr removes it from cpu_present_mask. - hrtimer fires and warning is hit. Fix it by stopping the dl_server before CPU is marked dead. [1]: https://lore.kernel.org/all/8218e149-7718-4432-9312-f97297c352b9@linux.ibm.com/ [2]: https://github.com/ibm-power-utilities/powerpc-utils/tree/next/src/drmgr [sshegde: wrote the changelog and tested it]
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 030167dcadf50a9f9dac4de6fa4c34f4f7afeed7 , < d7fd56ed5e07e053a5eea6112d61fcaded653b87 (git)
Affected: 4ae8d9aa9f9dc7137ea5e564d79c5aa5af1bc45c , < ab6c0f158508bb16d483add70b73a73f95651c33 (git)
Affected: 4ae8d9aa9f9dc7137ea5e564d79c5aa5af1bc45c , < ee6e44dfe6e50b4a5df853d933a96bdff5309e6e (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.17
Unaffected: 0 , < 6.17 (semver)
Unaffected: 6.17.5 , ≤ 6.17.* (semver)
Unaffected: 6.18 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/sched/core.c",
            "kernel/sched/deadline.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d7fd56ed5e07e053a5eea6112d61fcaded653b87",
              "status": "affected",
              "version": "030167dcadf50a9f9dac4de6fa4c34f4f7afeed7",
              "versionType": "git"
            },
            {
              "lessThan": "ab6c0f158508bb16d483add70b73a73f95651c33",
              "status": "affected",
              "version": "4ae8d9aa9f9dc7137ea5e564d79c5aa5af1bc45c",
              "versionType": "git"
            },
            {
              "lessThan": "ee6e44dfe6e50b4a5df853d933a96bdff5309e6e",
              "status": "affected",
              "version": "4ae8d9aa9f9dc7137ea5e564d79c5aa5af1bc45c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/sched/core.c",
            "kernel/sched/deadline.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.17"
            },
            {
              "lessThan": "6.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.17.*",
              "status": "unaffected",
              "version": "6.17.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.5",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsched/deadline: Stop dl_server before CPU goes offline\n\nIBM CI tool reported kernel warning[1] when running a CPU removal\noperation through drmgr[2]. i.e \"drmgr -c cpu -r -q 1\"\n\nWARNING: CPU: 0 PID: 0 at kernel/sched/cpudeadline.c:219 cpudl_set+0x58/0x170\nNIP [c0000000002b6ed8] cpudl_set+0x58/0x170\nLR [c0000000002b7cb8] dl_server_timer+0x168/0x2a0\nCall Trace:\n[c000000002c2f8c0] init_stack+0x78c0/0x8000 (unreliable)\n[c0000000002b7cb8] dl_server_timer+0x168/0x2a0\n[c00000000034df84] __hrtimer_run_queues+0x1a4/0x390\n[c00000000034f624] hrtimer_interrupt+0x124/0x300\n[c00000000002a230] timer_interrupt+0x140/0x320\n\nGit bisects to: commit 4ae8d9aa9f9d (\"sched/deadline: Fix dl_server getting stuck\")\n\nThis happens since:\n- dl_server hrtimer gets enqueued close to cpu offline, when\n  kthread_park enqueues a fair task.\n- CPU goes offline and drmgr removes it from cpu_present_mask.\n- hrtimer fires and warning is hit.\n\nFix it by stopping the dl_server before CPU is marked dead.\n\n[1]: https://lore.kernel.org/all/8218e149-7718-4432-9312-f97297c352b9@linux.ibm.com/\n[2]: https://github.com/ibm-power-utilities/powerpc-utils/tree/next/src/drmgr\n\n[sshegde: wrote the changelog and tested it]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-01T16:05:34.972Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d7fd56ed5e07e053a5eea6112d61fcaded653b87"
        },
        {
          "url": "https://git.kernel.org/stable/c/ab6c0f158508bb16d483add70b73a73f95651c33"
        },
        {
          "url": "https://git.kernel.org/stable/c/ee6e44dfe6e50b4a5df853d933a96bdff5309e6e"
        }
      ],
      "title": "sched/deadline: Stop dl_server before CPU goes offline",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-40163",
    "datePublished": "2025-11-12T10:26:23.199Z",
    "dateReserved": "2025-04-16T07:20:57.176Z",
    "dateUpdated": "2026-06-01T16:05:34.972Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-40163",
      "date": "2026-09-17",
      "epss": "0.00184",
      "percentile": "0.08228"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-40163\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-11-12T11:15:46.517\",\"lastModified\":\"2026-06-17T09:21:23.187\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsched/deadline: Stop dl_server before CPU goes offline\\n\\nIBM CI tool reported kernel warning[1] when running a CPU removal\\noperation through drmgr[2]. i.e \\\"drmgr -c cpu -r -q 1\\\"\\n\\nWARNING: CPU: 0 PID: 0 at kernel/sched/cpudeadline.c:219 cpudl_set+0x58/0x170\\nNIP [c0000000002b6ed8] cpudl_set+0x58/0x170\\nLR [c0000000002b7cb8] dl_server_timer+0x168/0x2a0\\nCall Trace:\\n[c000000002c2f8c0] init_stack+0x78c0/0x8000 (unreliable)\\n[c0000000002b7cb8] dl_server_timer+0x168/0x2a0\\n[c00000000034df84] __hrtimer_run_queues+0x1a4/0x390\\n[c00000000034f624] hrtimer_interrupt+0x124/0x300\\n[c00000000002a230] timer_interrupt+0x140/0x320\\n\\nGit bisects to: commit 4ae8d9aa9f9d (\\\"sched/deadline: Fix dl_server getting stuck\\\")\\n\\nThis happens since:\\n- dl_server hrtimer gets enqueued close to cpu offline, when\\n  kthread_park enqueues a fair task.\\n- CPU goes offline and drmgr removes it from cpu_present_mask.\\n- hrtimer fires and warning is hit.\\n\\nFix it by stopping the dl_server before CPU is marked dead.\\n\\n[1]: https://lore.kernel.org/all/8218e149-7718-4432-9312-f97297c352b9@linux.ibm.com/\\n[2]: https://github.com/ibm-power-utilities/powerpc-utils/tree/next/src/drmgr\\n\\n[sshegde: wrote the changelog and tested it]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/sched/core.c\",\"kernel/sched/deadline.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"030167dcadf50a9f9dac4de6fa4c34f4f7afeed7\",\"lessThan\":\"d7fd56ed5e07e053a5eea6112d61fcaded653b87\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4ae8d9aa9f9dc7137ea5e564d79c5aa5af1bc45c\",\"lessThan\":\"ab6c0f158508bb16d483add70b73a73f95651c33\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4ae8d9aa9f9dc7137ea5e564d79c5aa5af1bc45c\",\"lessThan\":\"ee6e44dfe6e50b4a5df853d933a96bdff5309e6e\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/sched/core.c\",\"kernel/sched/deadline.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.17\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.17\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.17.5\",\"lessThanOrEqual\":\"6.17.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/ab6c0f158508bb16d483add70b73a73f95651c33\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d7fd56ed5e07e053a5eea6112d61fcaded653b87\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ee6e44dfe6e50b4a5df853d933a96bdff5309e6e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-30T10:13:13+00:00",
      "cve": "CVE-2025-40163",
      "id": "CVE-2025-40163",
      "initial_release_date": "2025-11-12T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: sched/deadline: Stop dl_server before CPU goes offline",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-40163.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…