Amazon Linux 2023:bpftool、kernel、kernel-devel (ALAS2023-2023-148)

high Nessus 插件 ID 173854

简介

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

描述

因此,该软件受到 ALAS2023-2023-148 公告中提及的多个漏洞影响。

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

KVMVMX将 /dev/kvm 暴露给用户空间之前进行 _all_ 初始化 (CVE-2022-49932)

Linux 内核性能事件系统中存在一个释放后使用漏洞,攻击者可利用此漏洞实现本地特权提升。

perf_group_detach 函数在调用 add_event_to_groups() 前未检查事件同级组件的 attach_state,但是 remove_on_exec 可以在从其群组分离之前调用 list_del_event(),从而可以使用悬摆指针造成释放后使用漏洞。

我们建议升级过去的提交 fd0815f632c24878e325821943edccc7fde947a2。(CVE-2023-2235)

在 Linux 内核 6.2.6 及其之前所有版本中,net/tls/tls_main.c 的 do_tls_getsockopt 缺少 lock_sock 调用,从而导致争用条件(造成释放后使用或空指针取消引用)。(CVE-2023-28466)

在 6.2.8 及之前版本的 Linux 内核的 arch/x86/kvm/vmx/nested.c 中发现了一个问题。x86_64 上的 nVMX 缺少对 CR0 和 CR4 的一致性检查。(CVE-2023-30456)

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

ACPIPPTT修复以避免缺少 PPTT 时 atomic 上下文中的休眠 (CVE-2023-53070)

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

ftrace:修复索引为 0 时 lookup_rec() 中的无效地址访问 (CVE-2023-53075)

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

ocfs2修复写入失败后的数据损坏 (CVE-2023-53081)

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

drm/shmem-helper删除错误路径中另一个错误的放置 (CVE-2023-53084)

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

drm/i915/active修复将非空闲屏障误用为屏障跟踪器 (CVE-2023-53087)

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

ext4:修复 ext4_xattr_delete_inode 中任务挂起(CVE-2023-53089)

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

ext4如果 s_journal_inum 在日志重播后发生更改则更新 s_journal_inum (CVE-2023-53091)

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

drm/ttm修复空指针取消引用 (CVE-2023-53095)

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

互连修复释放节点时的内存泄漏 (CVE-2023-53096)

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

ext4:修复 ext4_update_inline_data 中的警告 (CVE-2023-53100)

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

ext4:初始化 bootloader inode 时,i_disksize 为零 (CVE-2023-53101)

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

bonding如果 non-eth dev enslave 失败则还原绑定的 IFF_SLAVE 标记 (CVE-2023-53103)

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

veth修复 XDP_REDIRECT 中的释放后使用 (CVE-2023-53107)

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

net:tunnels:对 dev->needed_headroom 的无锁访问进行注解 (CVE-2023-53109)

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

loop修复释放后使用问题 (CVE-2023-53111)

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

drm/i915/sseu修复 max_subslices array-index-out-of-bounds 访问 (CVE-2023-53112)

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

fs关闭文件描述符时防止越界数组推测 (CVE-2023-53117)

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

tcp可从进程上下文调用 tcp_make_synack() (CVE-2023-53121)

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

PCIs390通过按功能热插拔修复 PCI 资源的释放后使用 (CVE-2023-53123)

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

SUNRPC修复服务器关闭泄漏 (CVE-2023-53131)

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

bpfsockmap修复当 len 为 tcp_bpf_recvmsg_parser() 中的 0 时出现的无限循环错误 (CVE-2023-53133)

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

af_unix修复 OOB 支持中的结构 pid 泄漏 (CVE-2023-53136)

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

ext4:修复移动目录时可能发生损坏的问题 (CVE-2023-53137)

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

scsicore提前删除 /proc/scsi/${proc_name} 目录 (CVE-2023-53140)

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

ila不在 ila_xlat_nl_cmd_get_mapping() 中生成空消息 (CVE-2023-53141)

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

ext4修复 1k 区块文件系统上的另一个差一 fsmap 错误 (CVE-2023-53143)

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

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

解决方案

运行“dnf update kernel --releasever=2023.0.20230329”以更新系统。

另见

https://alas.aws.amazon.com//AL2023/ALAS2023-2023-148.html

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

https://explore.alas.aws.amazon.com/CVE-2022-49932.html

https://explore.alas.aws.amazon.com/CVE-2023-2235.html

https://explore.alas.aws.amazon.com/CVE-2023-28466.html

https://explore.alas.aws.amazon.com/CVE-2023-30456.html

https://explore.alas.aws.amazon.com/CVE-2023-53070.html

https://explore.alas.aws.amazon.com/CVE-2023-53075.html

https://explore.alas.aws.amazon.com/CVE-2023-53081.html

https://explore.alas.aws.amazon.com/CVE-2023-53084.html

https://explore.alas.aws.amazon.com/CVE-2023-53087.html

https://explore.alas.aws.amazon.com/CVE-2023-53089.html

https://explore.alas.aws.amazon.com/CVE-2023-53091.html

https://explore.alas.aws.amazon.com/CVE-2023-53095.html

https://explore.alas.aws.amazon.com/CVE-2023-53096.html

https://explore.alas.aws.amazon.com/CVE-2023-53100.html

https://explore.alas.aws.amazon.com/CVE-2023-53101.html

https://explore.alas.aws.amazon.com/CVE-2023-53103.html

https://explore.alas.aws.amazon.com/CVE-2023-53107.html

https://explore.alas.aws.amazon.com/CVE-2023-53109.html

https://explore.alas.aws.amazon.com/CVE-2023-53111.html

https://explore.alas.aws.amazon.com/CVE-2023-53112.html

https://explore.alas.aws.amazon.com/CVE-2023-53117.html

https://explore.alas.aws.amazon.com/CVE-2023-53121.html

https://explore.alas.aws.amazon.com/CVE-2023-53123.html

https://explore.alas.aws.amazon.com/CVE-2023-53131.html

https://explore.alas.aws.amazon.com/CVE-2023-53133.html

https://explore.alas.aws.amazon.com/CVE-2023-53136.html

https://explore.alas.aws.amazon.com/CVE-2023-53137.html

https://explore.alas.aws.amazon.com/CVE-2023-53140.html

https://explore.alas.aws.amazon.com/CVE-2023-53141.html

https://explore.alas.aws.amazon.com/CVE-2023-53143.html

插件详情

严重性: High

ID: 173854

文件名: al2023_ALAS2023-2023-148.nasl

版本: 1.5

类型: local

代理: unix

发布时间: 2023/4/4

最近更新时间: 2025/8/4

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Medium

基本分数: 6.8

时间分数: 5

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

CVSS 分数来源: CVE-2023-2235

CVSS v3

风险因素: High

基本分数: 7.8

时间分数: 6.8

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

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

漏洞信息

CPE: p-cpe:/a:amazon:linux:kernel-libbpf, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:python3-perf, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:python3-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-livepatch-6.1.21-1.45, p-cpe:/a:amazon:linux:bpftool, 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-libbpf-static, p-cpe:/a:amazon:linux:kernel-libbpf-devel, 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

易利用性: No known exploits are available

补丁发布日期: 2023/3/30

漏洞发布日期: 2023/3/16

参考资料信息

CVE: CVE-2022-49932, CVE-2023-2235, CVE-2023-28466, CVE-2023-30456, CVE-2023-53070, CVE-2023-53075, CVE-2023-53081, CVE-2023-53084, CVE-2023-53087, CVE-2023-53089, CVE-2023-53091, CVE-2023-53095, CVE-2023-53096, CVE-2023-53100, CVE-2023-53101, CVE-2023-53103, CVE-2023-53107, CVE-2023-53109, CVE-2023-53111, CVE-2023-53112, CVE-2023-53117, CVE-2023-53121, CVE-2023-53123, CVE-2023-53131, CVE-2023-53133, CVE-2023-53136, CVE-2023-53137, CVE-2023-53140, CVE-2023-53141, CVE-2023-53143