Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48944
HistoryAug 30, 2024 - 10:46 a.m.

CVE-2022-48944 sched: Fix yet more sched_fork() races

2024-08-3010:46:00
Linux
www.cve.org
5
linux kernel
vulnerability
resolved
sched_fork() races
commit
syscalls
pidhash
cgroup
sched_task_group
reweight_entity

EPSS

0

Percentile

5.1%

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.

CNA Affected

[
  {
    "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"
      }
    ]
  }
]

EPSS

0

Percentile

5.1%