sched: Fix yet more sched_fork() races
Published Aug 30, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.21%
Description
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.
Affected products
-
- Version StatusaffectedConstraints-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints-
- Version
-
- Version 5.10.80StatusaffectedConstraints<5.11
- Version 5.14.19StatusaffectedConstraints<5.15
- Version 5.15.3StatusaffectedConstraints<5.15.27
- Version
-
- Version 5.16StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.16
- Version 5.15.27StatusunaffectedConstraints<=5.15.*
- Version 5.16.13StatusunaffectedConstraints<=5.16.*
- Version 5.17StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||
| Linux | Linux | unaffected |
| ||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 5.15.3 · < 5.15.27
- ≥ 5.16 · < 5.16.13
- 5.10.80
- 5.14.19
No data.
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://access.redhat.com/security/cve/CVE-2022-48944 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2308669 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-53823 Advisory
- https://git.kernel.org/stable/c/3411613611a5cddf7e80908010dc87cb527dd13b Patch
- https://git.kernel.org/stable/c/b1e8206582f9d680cff7d04828708c8b6ab32957 Patch
- https://git.kernel.org/stable/c/c65cfd89cef669d90c59f3bf150af6458137a04f Patch
- https://lore.kernel.org/linux-cve-announce/2024083006-CVE-2022-48944-274c@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-48944
- https://www.cve.org/CVERecord?id=CVE-2022-48944
Change history (0)
No recorded changes yet.