# CVE-2026-52980: sched/fair: Clear rel\_deadline when initializing forked entities

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-06-24T16:28:56.457Z
- **Modified:** 2026-07-14T16:51:26.420Z

## Who should check

- Anyone running Linux \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< c71bf35caba12bfd9bc23e32b0bcd9e02d1cf1ac; \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< f3c16e1f4a314a20717ab90a41885f8111a242ab; \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< 8f4a16200785f49cf02c5b71bdfe7a9dab63f23a; \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< 3da56dc063cd77b9c0b40add930767fab4e389f3
- Anyone running Linux 6.12

## Description

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

sched/fair: Clear rel\_deadline when initializing forked entities

A yield-triggered crash can happen when a newly forked sched\_entity
enters the fair class with se-\>rel\_deadline unexpectedly set.

The failing sequence is:

  1. A task is forked while se-\>rel\_deadline is still set.
  2. \_\_sched\_fork() initializes vruntime, vlag and other sched\_entity
     state, but does not clear rel\_deadline.
  3. On the first enqueue, enqueue\_entity() calls place\_entity().
  4. Because se-\>rel\_deadline is set, place\_entity() treats se-\>deadline
     as a relative deadline and converts it to an absolute deadline by
     adding the current vruntime.
  5. However, the forked entity's deadline is not a valid inherited
     relative deadline for this new scheduling instance, so the conversion
     produces an abnormally large deadline.
  6. If the task later calls sched\_yield(), yield\_task\_fair() advances
     se-\>vruntime to se-\>deadline.
  7. The inflated vruntime is then used by the following enqueue path,
     where the vruntime-derived key can overflow when multiplied by the
     entity weight.
  8. This corrupts cfs\_rq-\>sum\_w\_vruntime, breaks EEVDF eligibility
     calculation, and can eventually make all entities appear ineligible.
     pick\_next\_entity() may then return NULL unexpectedly, leading to a
     later NULL dereference.

A captured trace shows the effect clearly. Before yield, the entity's
vruntime was around:

  9834017729983308

After yield\_task\_fair() executed:

  se-\>vruntime = se-\>deadline

the vruntime jumped to:

  19668035460670230

and the deadline was later advanced further to:

  19668035463470230

This shows that the deadline had already become abnormally large before
yield\_task\_fair() copied it into vruntime.

rel\_deadline is only meaningful when se-\>deadline really carries a
relative deadline that still needs to be placed against vruntime. A
freshly forked sched\_entity should not inherit or retain this state.
Clear se-\>rel\_deadline in \_\_sched\_fork(), together with the other
sched\_entity runtime state, so that the first enqueue does not interpret
the new entity's deadline as a stale relative deadline.

## Affected and fixed versions

- Linux: \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< c71bf35caba12bfd9bc23e32b0bcd9e02d1cf1ac; \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< f3c16e1f4a314a20717ab90a41885f8111a242ab; \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< 8f4a16200785f49cf02c5b71bdfe7a9dab63f23a; \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< 3da56dc063cd77b9c0b40add930767fab4e389f3 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 3da56dc063cd77b9c0b40add930767fab4e389f3 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-52980.md
Affected: Linux >= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, < c71bf35caba12bfd9bc23e32b0bcd9e02d1cf1ac; >= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, < f3c16e1f4a314a20717ab90a41885f8111a242ab; >= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, < 8f4a16200785f49cf02c5b71bdfe7a9dab63f23a; >= 82e9d0456e06cebe2c89f3c…
Fixed in: Linux 8f4a16200785f49cf02c5b71bdfe7a9dab63f23a, Linux 3da56dc063cd77b9c0b40add930767fab4e389f3

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-2026-52980 being exploited?

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

### How serious is CVE-2026-52980?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-52980?

Linux \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< c71bf35caba12bfd9bc23e32b0bcd9e02d1cf1ac; \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< f3c16e1f4a314a20717ab90a41885f8111a242ab; \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< 8f4a16200785f49cf02c5b71bdfe7a9dab63f23a; \>= 82e9d0456e06cebe2c89f3c73cdbc9e3805e9437, \< 3da56dc063cd77b9c0b40add930767fab4e389f3; Linux 6.12.

### Is there a fix for CVE-2026-52980?

Yes. Fixed in Linux 8f4a16200785f49cf02c5b71bdfe7a9dab63f23a, Linux 3da56dc063cd77b9c0b40add930767fab4e389f3. Upgrade Linux to 3da56dc063cd77b9c0b40add930767fab4e389f3 or later.

### How do I check if I'm affected by CVE-2026-52980?

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/c71bf35caba12bfd9bc23e32b0bcd9e02d1cf1ac>
- patch: <https://git.kernel.org/stable/c/f3c16e1f4a314a20717ab90a41885f8111a242ab>
- patch: <https://git.kernel.org/stable/c/8f4a16200785f49cf02c5b71bdfe7a9dab63f23a>
- patch: <https://git.kernel.org/stable/c/3da56dc063cd77b9c0b40add930767fab4e389f3>

## 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-2026-52980>

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