Amazon Linux 2:内核 (ALASKERNEL-5.4-2025-093)

high Nessus 插件 ID 214927

简介

远程 Amazon Linux 2 主机缺少安全更新。

描述

远程主机上安装的内核版本低于 5.4.162-86.275。因此,会受到 ALAS2KERNEL-5.4-2025-093 公告中提及的多个漏洞影响。

在 Linux 内核中发现一个漏洞,即如果删除设备,则 nouveau 的 postclose() 处理程序中可能发生释放后使用错误(不关机即物理移除视频卡的情况并不常见,但在解除绑定驱动程序时也会发生)。(CVE-2020-27820)

在用户调用 ioct UFFDIO_REGISTER 的方式或其他触发争用条件(使用预期可控的错误内存页面调用 sco_conn_del() together 以及调用 sco_sock_sendmsg())的方式中,发现 Linux 内核 HCI 子系统的函数 sco_sock_sendmsg() 中存在一个释放后使用缺陷。特权本地用户可利用此缺陷造成系统崩溃,或提升其在系统中的特权。
(CVE-2021-3640)

在 Linux SCTP 堆栈中发现一个缺陷。如果攻击者知道正在使用的 IP 地址和端口号,并且可以发送含伪造 IP 地址的数据包,就有可能通过无效区块终止现有 SCTP 关联。(CVE-2021-3772)

在 Linux 内核的 ebpf 验证器中发现 bpf_map_update_elem 与 bpf_map_freeze 之间存在争用条件,原因是 kernel/bpf/syscall.c 中缺少锁定。在此缺陷中,具有特殊权限(cap_sys_admin 或 cap_bpf)的本地用户可修改已冻结的映射地址空间。(CVE-2021-4001)

在用户使用 shmget() 两次映射某些内存区域(与某些内存页的故障一起对齐到 PUD 对齐)的方式中,发现 Linux 内核的 hugetlbfs 在使用内存时出现内存泄漏缺陷。本地用户可利用此缺陷,在未经授权的情况下访问某些数据。(CVE-2021-4002)

在 Linux 内核中,以下漏洞已修复:

i40e:修复 VSI 过滤器同步上的空 ptr 取消引用 (CVE-2021-47184)

在 Linux 内核中,以下漏洞已修复:

tty:tty_buffer:修复 flush_to_ldisc 中的 softlockup (CVE-2021-47185)

在 Linux 内核中,以下漏洞已修复:

btrfs:修复正常工作功能和有序工作功能之间的内存排序 (CVE-2021-47189)

在 Linux 内核中,以下漏洞已修复:

perf bpf:避免 perf_env__insert_btf() 发生内存泄漏 (CVE-2021-47190)

在 Linux 内核中,以下漏洞已修复:

scsi:core:sysfs:修复通过 sysfs 设置设备状态时的挂起 (CVE-2021-47192)

在 Linux 内核中,以下漏洞已修复:

iavf:在 iavf_disable_vf 中的队列之前释放 q_vectors(CVE-2021-47201)

在 Linux 内核中,以下漏洞已修复:

scsi:lpfc:修复 lpfc_drain_txq() 中的 list_add() 损坏 (CVE-2021-47203)

在 Linux 内核中,以下漏洞已修复:

x86/hyperv:修复 Hyper-V 设置失败时 set_hv_tschange_cb() 中的空取消引用 (CVE-2021-47217)

在 Linux 内核中,以下漏洞已修复:

isofs修复已损坏 isofs 图像的越界访问 (CVE-2021-47478)

在 Linux 内核中,以下漏洞已修复:

scsicore在 SCSI 设备发布后放置 LLD 模块 refcnt (CVE-2021-47480)

在 Linux 内核中,以下漏洞已修复:

regmap:修复 regcache_rbtree_exit() 中可能包含的双重释放漏洞 (CVE-2021-47483)

在 Linux 内核中,以下漏洞已修复:

drm/ttm修复 ttm_transfered_destroy 中的内存泄漏 (CVE-2021-47490)

在 Linux 内核中,以下漏洞已修复:

usbnetmaxpacket 的健全性检查 (CVE-2021-47495)

在 Linux 内核中,以下漏洞已修复:

net/tls:修复 tls_err_abort() 调用中的翻转登录 (CVE-2021-47496)

Tenable 已直接从测试产品的安全公告中提取上述描述块。

请注意,Nessus 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

运行“yum update kernel”以更新系统。

另见

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.4-2025-093.html

https://alas.aws.amazon.com/faqs.html

https://alas.aws.amazon.com/cve/html/CVE-2020-27820.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3640.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3772.html

https://alas.aws.amazon.com/cve/html/CVE-2021-4001.html

https://alas.aws.amazon.com/cve/html/CVE-2021-4002.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47184.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47185.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47189.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47190.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47192.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47201.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47203.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47217.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47478.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47480.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47483.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47490.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47495.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47496.html

插件详情

严重性: High

ID: 214927

文件名: al2_ALASKERNEL-5_4-2025-093.nasl

版本: 1.7

类型: local

代理: unix

发布时间: 2025/2/4

最近更新时间: 2025/5/23

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

风险信息

VPR

风险因素: High

分数: 7.4

CVSS v2

风险因素: Medium

基本分数: 6.9

时间分数: 5.4

矢量: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

CVSS 分数来源: CVE-2021-3640

CVSS v3

风险因素: High

基本分数: 7.8

时间分数: 7

矢量: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

时间矢量: CVSS:3.0/E:P/RL:O/RC:C

CVSS 分数来源: CVE-2021-47483

漏洞信息

CPE: p-cpe:/a:amazon:linux:python-perf, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-debuginfo

必需的 KB 项: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

可利用: true

易利用性: Exploits are available

补丁发布日期: 2025/1/31

漏洞发布日期: 2021/7/21

参考资料信息

CVE: CVE-2020-27820, CVE-2021-3640, CVE-2021-3772, CVE-2021-4001, CVE-2021-4002, CVE-2021-47184, CVE-2021-47185, CVE-2021-47189, CVE-2021-47190, CVE-2021-47192, CVE-2021-47201, CVE-2021-47203, CVE-2021-47217, CVE-2021-47478, CVE-2021-47480, CVE-2021-47483, CVE-2021-47490, CVE-2021-47495, CVE-2021-47496