Bug 1715271

Summary: [Hardening] Prevent ptrace working in seccomp sandbox
Product: Red Hat Enterprise Linux 7 Reporter: Wade Mealing <wmealing>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
kernel sub component: Security QA Contact: Linqing Lu <lilu>
Status: CLOSED WONTFIX Docs Contact:
Severity: unspecified    
Priority: unspecified CC: kernel-mgr, kernel-qe, lilu
Version: 7.7   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1715268 Environment:
Last Closed: 2020-01-17 15:45:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1715268, 1715272, 1715436    
Bug Blocks:    

Description Wade Mealing 2019-05-30 01:36:34 UTC
+++ This bug was initially created as a clone of Bug #1715268 +++

Description of problem:

In the seccomp implementation prior to kernel version 4.8, there is a possible seccomp bypass due to seccomp policies that allow the use of ptrace. This could lead to local escalation of privilege with no additional execution privileges needed. 

Additional info:

This is a behavioural change that some applications may rely on (I don't expect that it will).