CVE-2019-13272
Description
In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to create a ptrace relationship, which allows local users to obtain root access by leveraging certain scenarios with a parent-child process relationship, where a parent drops privileges and calls execve (potentially allowing control by an attacker). One contributing factor is an object lifetime issue (which can also cause a panic). Another contributing factor is incorrect marking of a ptrace relationship as privileged, which is exploitable through (for example) Polkit's pkexec helper with PTRACE_TRACEME. NOTE: SELinux deny_ptrace might be a usable workaround in some environments.
How to fix
Apply updates per vendor instructions.
CISA due date: Jun 10, 2022- linux linux_kernel3.16.71, 4.2, 4.4.185, 4.9, 4.9.185, 4.14.133, 4.19.58, 5.1.17 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGRK5LYWBJ4E4SRI4DKX367NHYSI3VOH/
- debian.org/security/2019/dsa-4484
- access.redhat.com/errata/RHSA-2019:2405
- access.redhat.com/errata/RHSA-2019:2411
- usn.ubuntu.com/4093-1/
- usn.ubuntu.com/4094-1/
- usn.ubuntu.com/4095-1/
- usn.ubuntu.com/4117-1/
- usn.ubuntu.com/4118-1/
- access.redhat.com/errata/RHSA-2019:2809
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 3.16.52 ≤ v < 3.16.71, 4.1.39 ≤ v < 4.2, 4.4.40 ≤ v < 4.4.185, 4.8.16 ≤ v < 4.9, 4.9.1 ≤ v < 4.9.185, 4.10 ≤ v < 4.14.133, 4.15 ≤ v < 4.19.58, 4.20 ≤ v < 5.1.17 | 3.16.71, 4.2, 4.4.185, 4.9, 4.9.185, 4.14.133, 4.19.58, 5.1.17 |
| debian debian_linux | 8.0, 9.0, 10.0 | — |
| fedoraproject fedora | 29 | — |
| canonical ubuntu_linux | 16.04, 18.04, 19.04 | — |
| redhat enterprise_linux | 7.0, 8.0 | — |
| redhat enterprise_linux_for_arm_64 | 7.0_aarch64 | — |
| redhat enterprise_linux_for_ibm_z_systems | 7.0_s390x | — |
| redhat enterprise_linux_for_real_time | 8 | — |
| redhat enterprise_linux_for_real_time_for_nfv | 8.0 | — |
| redhat enterprise_linux_for_real_time_for_nfv_tus | 8.2, 8.4, 8.6, 8.8 | — |
| redhat enterprise_linux_for_real_time_tus | 8.2, 8.4, 8.6, 8.8 | — |
| netapp aff_a700s_firmware | No range specified | — |
| netapp h410c_firmware | No range specified | — |
| netapp h610s_firmware | No range specified | — |
| netapp active_iq_unified_manager | No range specified | — |
| netapp e-series_performance_analyzer | No range specified | — |
| netapp e-series_santricity_os_controller | 11.0.0 ≤ v ≤ 11.60.3 | — |
| netapp hci_management_node | No range specified | — |
| netapp service_processor | No range specified | — |
| netapp solidfire | No range specified | — |
| netapp steelstore_cloud_integrated_storage | No range specified | — |
| netapp hci_compute_node | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.