BLSA-2018:0013 – [重要] kernel的安全警告及修复方法
问题描述
最近 kernel 暴露出安全漏洞(CVE-2017-5754),攻击者可以使用此缺陷对有目标缓存侧向通道攻击来读取特权(内核空间)内存。
影响版本
- BigCloud Enterprise Linux 7.3
- Red Hat Enterprise Linux 7.3
- CentOS Linux 7.3
详细介绍
安全修复
- [CVE-2017-5754 [重要]]
变体CVE-2017-5754被发现,在受影响的微处理器上,在对指令权限错误的推测执行过程中,生成错误访问触发的异常被抑制,直到整个指令块的退出为止,一个没有被授权的本地攻击者可以通过执行有针对性的缓存旁通道来读取特权(内核空间)内存进行发起攻击。
解决方案
目前,BCLinux 的官方源已经提供 kernel 的更新软件包,受影响的 BCLinux 7.3 客户端用户需要升级到 3.10.0-514.48.1.1.el7 版本。
- 检查YUM源设置,确保使用的是 BCLinux 官方YUM源
[root@BCLinux7_3 ~]# ls -l /etc/yum.repos.d/
total 24
-rw-r--r--. 1 root root 970 Mar 29 04:26 BCLinux-Base.repo
-rw-r--r--. 1 root root 1512 Apr 9 2017 BCLinux-CR.repo
-rw-r--r--. 1 root root 676 Apr 9 2017 BCLinux-Debuginfo.repo
-rw-r--r--. 1 root root 1220 Apr 9 2017 BCLinux-Kernel.repo
-rw-r--r--. 1 root root 1027 Apr 9 2017 BCLinux-Source.repo
-rw-r--r--. 1 root root 807 Apr 9 2017 BigCloud.repo
- 安装更新
[root@BCLinux7_3 ~]# yum update kernel-3.10.0-514.48.1.1.el7
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-514.48.1.1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================
Installing:
kernel x86_64 3.10.0-514.48.1.1.el7 updates 38 M
Transaction Summary
====================================================================================================================================================
Install 1 Package
Total download size: 38 M
Installed size: 150 M
Is this ok [y/d/N]:
- 复查
[root@BCLinux7_3 ~]# rpm -q kernel
kernel-3.10.0-514.el7.x86_64
kernel-3.10.0-514.48.1.1.el7.x86_64
- 重启机器
安装升级包以后,重启机器,更新生效。