Back

MEDIUM

Kernel: filter: prevent nla extensions to peek beyond the end of the message

Published May 11, 2014

Description

The (1) BPF_S_ANC_NLATTR and (2) BPF_S_ANC_NLATTR_NEST extension implementations in the sk_run_filter function in net/core/filter.c in the Linux kernel through 3.14.3 do not check whether a certain length value is sufficiently large, which allows local users to cause a denial of service (integer underflow and system crash) via crafted BPF instructions. NOTE: the affected code was moved to the __skb_get_nlattr and __skb_get_nlattr_nest functions before the vulnerability was announced.

Affected products

Remediation

Red Hat statement

This issue does not affect the version of the kernel package as shipped with Red Hat Enterprise Linux 5.

Metrics

References (21)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published May 11, 2014
Updated Aug 6, 2024
Reserved May 2, 2014
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Apr 13, 2014