Security mailing lists by PureSourceCode

CVE-2024-35985

MEDIUM 5.5CVSS 3.1

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

sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()

It was possible to have pick_eevdf() return NULL, which then causes a
NULL-deref. This turned out to be due to entity_eligible() returning
falsely negative because of a s64 multiplcation overflow.

Specifically, reweight_eevdf() computes the vlag without considering
the limit placed upon vlag as update_entity_lag() does, and then the
scaling multiplication (remember that weight is 20bit fixed point) can
overflow. This then leads to the new vruntime being weird which then
causes the above entity_eligible() to go side-ways and claim nothing
is eligible.

Thus limit the range of vlag accordingly.

All this was quite rare, but fatal when it does happen.

Published
20 May 2024
Last modified
17 Jun 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Analyzed
Weakness
CWE-476
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.6.4, < 6.6.30 6.6.30
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, < 6.8.9 6.8.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
= 6.9

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.