sched: Fix yet more sched_fork() races (Linux Linux)

CVE-2022-48944
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: sched: Fix yet more sched_fork() races Where commit 4ef0c5c6b5ba ("kernel/sched: Fix sched_fork() access an invalid sched_task_group") fixed a fork race vs cgroup, it opened up a race vs syscalls by not placing the task on the runqueue before it gets exposed through the pidhash. Commit 13765de8148f ("sched/fair: Fix fault in reweight_entity") is trying to fix a single instance of this, instead fix the whole class of issues, effectively reverting this commit.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 3869eecf050416a1d19bac60926f6b5d64b0aa58 < 3411613611a5cddf7e80908010dc87cb527dd13b ; affected 4ef0c5c6b5ba1f38f0ea1cedad0cad722f00c14a < c65cfd89cef669d90c59f3bf150af6458137a04f ; affected 4ef0c5c6b5ba1f38f0ea1cedad0cad722f00c14a < b1e8206582f9d680cff7d04828708c8b6ab32957 ; affected c85c6fadbef0a3eab41540ea628fa8fe8928c820 ; affected 25d40b828fb855ee62e1039c65a666c9afd60786 ; affected 5.15.3 < 5.15.27
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 5.15.27 ≤ 5.15.* ; unaffected 5.16.13 ≤ 5.16.* ; unaffected 5.17 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD