cbcvebase.
CVE-2024-35985
published 2024-05-20

CVE-2024-35985: 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…

PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.22%
13.3th percentile
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.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.8.9-1 (forky)linux 6.8.9-1 (forky)
linuxlinux
linuxlinux>= 14204acc09f652169baed1141c671429047b1313 < 470d347b14b0ecffa9b39cf8f644fa2351db3efb470d347b14b0ecffa9b39cf8f644fa2351db3efb
linuxlinux>= 6.6.4 < 6.6.306.6.30
linuxlinux>= eab03c23c2a162085b13200d7942fc5a00b5ccc8 < 06f27e6d7bf0abf54488259ef36bbf0e1fccb35c06f27e6d7bf0abf54488259ef36bbf0e1fccb35c
linuxlinux>= eab03c23c2a162085b13200d7942fc5a00b5ccc8 < 1560d1f6eb6b398bddd80c16676776c0325fe5fe1560d1f6eb6b398bddd80c16676776c0325fe5fe
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.8.9-16.8.9-1
linuxlinux_kernel>= 0 < 6.8.9-16.8.9-1
linuxlinux_kernel>= 0 < 6.8.0-38.386.8.0-38.38
linuxlinux_kernel>= 6.6.4 < 6.6.306.6.30
linuxlinux_kernel>= 6.7 < 6.8.96.8.9

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv6.8MEDIUM
vendor_debian5.5LOW
vendor_redhat5.5MEDIUM
vendor_ubuntu4.6MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.