kernel: fork: fix copy_process(CLONE_PARENT) race with the exiting ->real_parent
Published Mar 26, 2021
4.5
MEDIUMCVSS 3.1
EPSS 0.22%
Description
A flaw possibility of race condition and incorrect initialization of the process id was found in the Linux kernel child/parent process identification handling while filtering signal handlers. A local attacker is able to abuse this flaw to bypass checks to send any signal to a privileged process.
Affected products
- Vendor n/a Product Kernel Defaultn/a
- Version kernel 5.12StatusaffectedConstraints-
- 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 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Kernel | n/a |
|
Configuration 1
- < 5.12
- 5.12
- 5.12
- 5.12
- 5.12
- 5.12
Configuration 2
- 8.0
Configuration 3
- n/a
Configuration 4
Configuration 5
- n/a
Configuration 6
- n/a
Configuration 7
- n/a
Configuration 8
- n/a
Configuration 9
- n/a
Configuration 10
- n/a
Configuration 11
- n/a
Configuration 12
- n/a
Configuration 13
- n/a
Configuration 14
- n/a
Configuration 15
- n/a
Configuration 16
- n/a
Configuration 17
- n/a
Configuration 18
- n/a
No data.
Red Hat Enterprise Linux 8
kernel-0:4.18.0-305.el8
Fixed · RHSA-2021:1578
Red Hat Enterprise Linux 8
kernel-rt-0:4.18.0-305.rt7.72.el8
Fixed · RHSA-2021:1739
Red Hat Enterprise Linux 8.2 Extended Update Support
kernel-0:4.18.0-193.60.2.el8_2
Fixed · RHSA-2021:2718
Red Hat Enterprise Linux 8.2 Extended Update Support
kernel-rt-0:4.18.0-193.60.2.rt13.112.el8_2
Fixed · RHSA-2021:2719
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-alt
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise MRG 2
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-305.el8 | Fixed | RHSA-2021:1578 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-305.rt7.72.el8 | Fixed | RHSA-2021:1739 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | kernel-0:4.18.0-193.60.2.el8_2 | Fixed | RHSA-2021:2718 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | kernel-rt-0:4.18.0-193.60.2.rt13.112.el8_2 | Fixed | RHSA-2021:2719 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise MRG 2 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The incorrect initialization of the process id affects Red Hat Enterprise Linux only.
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (6)
- https://access.redhat.com/security/cve/CVE-2020-35508 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1902724 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://github.com/torvalds/linux/commit/b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-35508
- https://security.netapp.com/advisory/ntap-20210513-0006/ x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2020-35508
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2020-35508 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1902724 | x_refsource_MISCIssue TrackingPatchThird Party Advisory | |
| https://github.com/torvalds/linux/commit/b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948 | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-35508 | ||
| https://security.netapp.com/advisory/ntap-20210513-0006/ | x_refsource_CONFIRMThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2020-35508 |
Change history (0)
No recorded changes yet.