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.
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"include/linux/sched/task.h",
"kernel/fork.c",
"kernel/sched/core.c"
],
"versions": [
{
"version": "3869eecf0504",
"lessThan": "3411613611a5",
"status": "affected",
"versionType": "git"
},
{
"version": "4ef0c5c6b5ba",
"lessThan": "c65cfd89cef6",
"status": "affected",
"versionType": "git"
},
{
"version": "4ef0c5c6b5ba",
"lessThan": "b1e8206582f9",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"include/linux/sched/task.h",
"kernel/fork.c",
"kernel/sched/core.c"
],
"versions": [
{
"version": "5.16",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.16",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.27",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.16.13",
"lessThanOrEqual": "5.16.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.17",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]