Reverse Order Subtraction Vulnerability in Linux Kernel's BPF_S_ANC_NLATTR_NEST Extension Implementation

Reverse Order Subtraction Vulnerability in Linux Kernel's BPF_S_ANC_NLATTR_NEST Extension Implementation

CVE-2014-3145 · MEDIUM Severity

AV:L/AC:L/AU:N/C:N/I:N/A:C

The BPF_S_ANC_NLATTR_NEST extension implementation in the sk_run_filter function in net/core/filter.c in the Linux kernel through 3.14.3 uses the reverse order in a certain subtraction, which allows local users to cause a denial of service (over-read and system crash) via crafted BPF instructions. NOTE: the affected code was moved to the __skb_get_nlattr_nest function before the vulnerability was announced.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.