# CVE-2023-53215: sched/fair: Don't balance task to its current running CPU

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-28)
- **Published:** 2025-09-15T14:21:43.107Z
- **Modified:** 2026-06-17T06:44:31.700Z

## Who should check

- Anyone running Linux \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 32d937f94b7805d4c9028b8727a7d6241547da54; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< a5286f4655ce2fa28f477c0b957ea7f323fe2fab; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< cec1857b1ea5cc3ea2b600564f1c95d1a6f27ad1; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 6b0c79aa33075b34c3cdcea4132c0afb3fc42d68; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 3cb43222bab8ab328fc91ed30899b3df2efbccfd; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 78a5f711efceb37e32c48cd6b40addb671fea9cc; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 34eb902050d473bb2befa15714fb1d30a0991c15; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 0dd37d6dd33a9c23351e6115ae8cdac7863bc7de
- Anyone running Linux 3.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

sched/fair: Don't balance task to its current running CPU

We've run into the case that the balancer tries to balance a migration
disabled task and trigger the warning in set\_task\_cpu() like below:

 ------------\[ cut here \]------------
 WARNING: CPU: 7 PID: 0 at kernel/sched/core.c:3115 set\_task\_cpu+0x188/0x240
 Modules linked in: hclgevf xt\_CHECKSUM ipt\_REJECT nf\_reject\_ipv4 \<...snip\>
 CPU: 7 PID: 0 Comm: swapper/7 Kdump: loaded Tainted: G           O       6.1.0-rc4+ \#1
 Hardware name: Huawei TaiShan 2280 V2/BC82AMDC, BIOS 2280-V2 CS V5.B221.01 12/09/2021
 pstate: 604000c9 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
 pc : set\_task\_cpu+0x188/0x240
 lr : load\_balance+0x5d0/0xc60
 sp : ffff80000803bc70
 x29: ffff80000803bc70 x28: ffff004089e190e8 x27: ffff004089e19040
 x26: ffff007effcabc38 x25: 0000000000000000 x24: 0000000000000001
 x23: ffff80000803be84 x22: 000000000000000c x21: ffffb093e79e2a78
 x20: 000000000000000c x19: ffff004089e19040 x18: 0000000000000000
 x17: 0000000000001fad x16: 0000000000000030 x15: 0000000000000000
 x14: 0000000000000003 x13: 0000000000000000 x12: 0000000000000000
 x11: 0000000000000001 x10: 0000000000000400 x9 : ffffb093e4cee530
 x8 : 00000000fffffffe x7 : 0000000000ce168a x6 : 000000000000013e
 x5 : 00000000ffffffe1 x4 : 0000000000000001 x3 : 0000000000000b2a
 x2 : 0000000000000b2a x1 : ffffb093e6d6c510 x0 : 0000000000000001
 Call trace:
  set\_task\_cpu+0x188/0x240
  load\_balance+0x5d0/0xc60
  rebalance\_domains+0x26c/0x380
  \_nohz\_idle\_balance.isra.0+0x1e0/0x370
  run\_rebalance\_domains+0x6c/0x80
  \_\_do\_softirq+0x128/0x3d8
  \_\_\_\_do\_softirq+0x18/0x24
  call\_on\_irq\_stack+0x2c/0x38
  do\_softirq\_own\_stack+0x24/0x3c
  \_\_irq\_exit\_rcu+0xcc/0xf4
  irq\_exit\_rcu+0x18/0x24
  el1\_interrupt+0x4c/0xe4
  el1h\_64\_irq\_handler+0x18/0x2c
  el1h\_64\_irq+0x74/0x78
  arch\_cpu\_idle+0x18/0x4c
  default\_idle\_call+0x58/0x194
  do\_idle+0x244/0x2b0
  cpu\_startup\_entry+0x30/0x3c
  secondary\_start\_kernel+0x14c/0x190
  \_\_secondary\_switched+0xb0/0xb4
 ---\[ end trace 0000000000000000 \]---

Further investigation shows that the warning is superfluous, the migration
disabled task is just going to be migrated to its current running CPU.
This is because that on load balance if the dst\_cpu is not allowed by the
task, we'll re-select a new\_dst\_cpu as a candidate. If no task can be
balanced to dst\_cpu we'll try to balance the task to the new\_dst\_cpu
instead. In this case when the migration disabled task is not on CPU it
only allows to run on its current CPU, load balance will select its
current CPU as new\_dst\_cpu and later triggers the warning above.

The new\_dst\_cpu is chosen from the env-\>dst\_grpmask. Currently it
contains CPUs in sched\_group\_span() and if we have overlapped groups it's
possible to run into this case. This patch makes env-\>dst\_grpmask of
group\_balance\_mask() which exclude any CPUs from the busiest group and
solve the issue. For balancing in a domain with no overlapped groups
the behaviour keeps same as before.

## Affected and fixed versions

- Linux: \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 32d937f94b7805d4c9028b8727a7d6241547da54; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< a5286f4655ce2fa28f477c0b957ea7f323fe2fab; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< cec1857b1ea5cc3ea2b600564f1c95d1a6f27ad1; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 6b0c79aa33075b34c3cdcea4132c0afb3fc42d68; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 3cb43222bab8ab328fc91ed30899b3df2efbccfd; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 78a5f711efceb37e32c48cd6b40addb671fea9cc; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 34eb902050d473bb2befa15714fb1d30a0991c15; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 0dd37d6dd33a9c23351e6115ae8cdac7863bc7de (cvelist)
- Linux: 3.6 (cvelist)

## Mitigation

- Upgrade Linux to 0dd37d6dd33a9c23351e6115ae8cdac7863bc7de or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53215. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53215.md
Affected: Linux >= 88b8dac0a14c511ff41486b83a8c3d688936eec0, < 32d937f94b7805d4c9028b8727a7d6241547da54; >= 88b8dac0a14c511ff41486b83a8c3d688936eec0, < a5286f4655ce2fa28f477c0b957ea7f323fe2fab; >= 88b8dac0a14c511ff41486b83a8c3d688936eec0, < cec1857b1ea5cc3ea2b600564f1c95d1a6f27ad1; >= 88b8dac0a14c511ff41486b…
Fixed in: Linux 32d937f94b7805d4c9028b8727a7d6241547da54, Linux 6b0c79aa33075b34c3cdcea4132c0afb3fc42d68, Linux 3cb43222bab8ab328fc91ed30899b3df2efbccfd, Linux 78a5f711efceb37e32c48cd6b40addb671fea9cc, Linux 34eb902050d473bb2befa15714fb1d30a0991c15, Linux 0dd37d6dd33a9c23351e6115ae8cdac7863bc7de

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53215 being exploited?

There is no confirmed exploitation: CVE-2023-53215 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-53215?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53215?

Linux \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 32d937f94b7805d4c9028b8727a7d6241547da54; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< a5286f4655ce2fa28f477c0b957ea7f323fe2fab; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< cec1857b1ea5cc3ea2b600564f1c95d1a6f27ad1; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 6b0c79aa33075b34c3cdcea4132c0afb3fc42d68; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 3cb43222bab8ab328fc91ed30899b3df2efbccfd; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 78a5f711efceb37e32c48cd6b40addb671fea9cc; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 34eb902050d473bb2befa15714fb1d30a0991c15; \>= 88b8dac0a14c511ff41486b83a8c3d688936eec0, \< 0dd37d6dd33a9c23351e6115ae8cdac7863bc7de; Linux 3.6.

### Is there a fix for CVE-2023-53215?

Yes. Fixed in Linux 32d937f94b7805d4c9028b8727a7d6241547da54, Linux 6b0c79aa33075b34c3cdcea4132c0afb3fc42d68, Linux 3cb43222bab8ab328fc91ed30899b3df2efbccfd, Linux 78a5f711efceb37e32c48cd6b40addb671fea9cc, Linux 34eb902050d473bb2befa15714fb1d30a0991c15, Linux 0dd37d6dd33a9c23351e6115ae8cdac7863bc7de. Upgrade Linux to 0dd37d6dd33a9c23351e6115ae8cdac7863bc7de or later.

### How do I check if I'm affected by CVE-2023-53215?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/32d937f94b7805d4c9028b8727a7d6241547da54>
- patch: <https://git.kernel.org/stable/c/a5286f4655ce2fa28f477c0b957ea7f323fe2fab>
- patch: <https://git.kernel.org/stable/c/cec1857b1ea5cc3ea2b600564f1c95d1a6f27ad1>
- patch: <https://git.kernel.org/stable/c/6b0c79aa33075b34c3cdcea4132c0afb3fc42d68>
- patch: <https://git.kernel.org/stable/c/3cb43222bab8ab328fc91ed30899b3df2efbccfd>
- patch: <https://git.kernel.org/stable/c/78a5f711efceb37e32c48cd6b40addb671fea9cc>
- patch: <https://git.kernel.org/stable/c/34eb902050d473bb2befa15714fb1d30a0991c15>
- patch: <https://git.kernel.org/stable/c/0dd37d6dd33a9c23351e6115ae8cdac7863bc7de>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53215>

HTML: <https://flawdb.com/CVE-2023-53215> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53215>
