PT-2017-3324 · Linux+5 · Linux Kernel+5
Mohamed Ghannam
·
Published
2017-10-23
·
Updated
2023-01-19
·
CVE-2017-16939
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 4.13.11
Description
The issue is related to the XFRM dump policy implementation in the Linux kernel, which allows local users to gain privileges or cause a denial of service due to a use-after-free error. This can be achieved by using a crafted SO RCVBUF setsockopt system call in conjunction with XFRM MSG GETPOLICY Netlink messages. The problem is associated with the use of memory after it has been freed.
Recommendations
For Linux kernel versions prior to 4.13.11, update to version 4.13.11 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
setsockopt system call with the SO RCVBUF option to minimize the risk of exploitation. Additionally, limiting access to XFRM MSG GETPOLICY Netlink messages can help reduce the vulnerability to this issue.Exploit
Fix
DoS
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Centos
Linux Kernel
Red Hat
Suse
Ubuntu