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.
2019-07-17T13:15:10.687
2025-04-03T20:28:35.577
Analyzed
CVSSv3.1: 7.8 (HIGH)
AV:L/AC:L/Au:N/C:C/I:C/A:C
3.9
10.0
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Operating System | linux | linux_kernel | < 3.16.71 | Yes |
Operating System | linux | linux_kernel | < 4.2 | Yes |
Operating System | linux | linux_kernel | < 4.4.185 | Yes |
Operating System | linux | linux_kernel | < 4.9 | Yes |
Operating System | linux | linux_kernel | < 4.9.185 | Yes |
Operating System | linux | linux_kernel | < 4.14.133 | Yes |
Operating System | linux | linux_kernel | < 4.19.58 | Yes |
Operating System | linux | linux_kernel | < 5.1.17 | Yes |
Operating System | debian | debian_linux | 8.0 | Yes |
Operating System | debian | debian_linux | 9.0 | Yes |
Operating System | debian | debian_linux | 10.0 | Yes |
Operating System | fedoraproject | fedora | 29 | Yes |
Operating System | canonical | ubuntu_linux | 16.04 | Yes |
Operating System | canonical | ubuntu_linux | 18.04 | Yes |
Operating System | canonical | ubuntu_linux | 19.04 | Yes |
Operating System | redhat | enterprise_linux | 7.0 | Yes |
Operating System | redhat | enterprise_linux | 8.0 | Yes |
Operating System | redhat | enterprise_linux_for_arm_64 | 7.0_aarch64 | Yes |
Operating System | redhat | enterprise_linux_for_ibm_z_systems | 7.0_s390x | Yes |
Operating System | redhat | enterprise_linux_for_real_time | 8 | Yes |
Operating System | redhat | enterprise_linux_for_real_time_for_nfv | 8.0 | Yes |
Operating System | redhat | enterprise_linux_for_real_time_for_nfv_tus | 8.2 | Yes |
Operating System | redhat | enterprise_linux_for_real_time_for_nfv_tus | 8.4 | Yes |
Operating System | redhat | enterprise_linux_for_real_time_for_nfv_tus | 8.6 | Yes |
Operating System | redhat | enterprise_linux_for_real_time_for_nfv_tus | 8.8 | Yes |
Operating System | redhat | enterprise_linux_for_real_time_tus | 8.2 | Yes |
Operating System | redhat | enterprise_linux_for_real_time_tus | 8.4 | Yes |
Operating System | redhat | enterprise_linux_for_real_time_tus | 8.6 | Yes |
Operating System | redhat | enterprise_linux_for_real_time_tus | 8.8 | Yes |
Operating System | netapp | aff_a700s_firmware | - | Yes |
Hardware | netapp | aff_a700s | - | No |
Operating System | netapp | h410c_firmware | - | Yes |
Hardware | netapp | h410c | - | No |
Operating System | netapp | h610s_firmware | - | Yes |
Hardware | netapp | h610s | - | No |
Application | netapp | active_iq_unified_manager | - | Yes |
Application | netapp | e-series_performance_analyzer | - | Yes |
Application | netapp | e-series_santricity_os_controller | ≤ 11.60.3 | Yes |
Application | netapp | hci_management_node | - | Yes |
Application | netapp | service_processor | - | Yes |
Application | netapp | solidfire | - | Yes |
Application | netapp | steelstore_cloud_integrated_storage | - | Yes |
Hardware | netapp | hci_compute_node | - | Yes |