Bug 1715436

Summary: [Hardening] Prevent ptrace working in seccomp sandbox
Product: Red Hat Enterprise Linux 8 Reporter: Wade Mealing <wmealing>
Component: kernelAssignee: Oleg Nesterov <onestero>
kernel sub component: Security QA Contact: Linqing Lu <lilu>
Status: CLOSED INSUFFICIENT_DATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: kernel-mgr, kernel-qe, lilu, smeisner
Version: 8.1   
Target Milestone: rc   
Target Release: 8.0   
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-06-09 14:49:27 UTC Type: Bug
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    
Bug Blocks: 1715271, 1715272    

Description Wade Mealing 2019-05-30 11:03:21 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).