CVE-2017-16939

high
Published 2017-11-24 ยท Modified 2026-05-13
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.8

Description

The XFRM dump policy implementation in net/xfrm/xfrm_user.c in the Linux kernel before 4.13.11 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted SO_RCVBUF setsockopt system call in conjunction with XFRM_MSG_GETPOLICY Netlink messages.

Predictions

Exploit likelihood
75%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-44049 local linux
SecuriTeam ยท 2017-11-23

Linux Kernel (Ubuntu 17.04) - 'XFRM' Local Privilege Escalation

Source code queued for fetch โ€” refresh in a moment.

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed4.13.13-1
debian debianbullseyefixed4.13.13-1
debian debianforkyfixed4.13.13-1
debian debiansidfixed4.13.13-1
debian debiantrixiefixed4.13.13-1
debian debian8.0affected
linux linux-kernelaffected3.2.97

References

CWEs

CWE-416

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.