製品・ソフトウェアに関する情報
Linux Kernel の kernel/bpf/verifier.c の replace_map_fd_with_map_ptr 関数における権限を取得される脆弱性
Title Linux Kernel の kernel/bpf/verifier.c の replace_map_fd_with_map_ptr 関数における権限を取得される脆弱性
Summary

Linux Kernel の kernel/bpf/verifier.c の replace_map_fd_with_map_ptr 関数は、fd データ構造を適切に保持しないため、権限を取得される、またはサービス運用妨害 (解放済みメモリの使用 (Use-after-free)) 状態にされる脆弱性が存在します。 補足情報 : CWE による脆弱性タイプは、CWE-416: Use-after-free (解放済みメモリの使用) と識別されています。 http://cwe.mitre.org/data/definitions/416.html

Possible impacts ローカルユーザにより、不正なファイル記述子を参照する巧妙に細工された BPF 命令を介して、権限を取得される、またはサービス運用妨害 (解放済みメモリの使用 (Use-after-free)) 状態にされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 18, 2016, midnight
Registration Date May 26, 2016, 3:22 p.m.
Last Update May 26, 2016, 3:22 p.m.
CVSS3.0 : 重要
Score 7.8
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
Score 7.2
Vector AV:L/AC:L/Au:N/C:C/I:C/A:C
Affected System
Linux
Linux Kernel 4.5.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2016年05月26日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2016-4557
Summary

The replace_map_fd_with_map_ptr function in kernel/bpf/verifier.c in the Linux kernel before 4.5.5 does not properly maintain an fd data structure, which allows local users to gain privileges or cause a denial of service (use-after-free) via crafted BPF instructions that reference an incorrect file descriptor.

Publication Date May 23, 2016, 7:59 p.m.
Registration Date Jan. 26, 2021, 2:12 p.m.
Last Update Nov. 21, 2024, 11:52 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.4 4.4.11
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.5 4.5.5
Related information, measures and tools
Common Vulnerabilities List