Amazon Linux 2 内核 --advisory ALAS2KERNEL-5。15-2023-021 (ALASKERNEL-5.15-2023-021)

high Nessus 插件 ID 177781

简介

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

描述

远程主机上安装的内核版本低于 5.15.117-72.142。因此,会受到 ALAS2KERNEL-5.15-2023-021 公告中提及的多个漏洞影响。

在 6.2.7 及之前版本的 Linux 内核中,fs/ntfs3/inode.c 在重播日志前未验证 MFT 标记,因而包含无效的 kfree。(CVE-2022-48425)

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

binder修复与 munmap() 争用中 alloc->vma 的 UAF (CVE-2022-50240)

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

binder修复与 munmap() 争用中 alloc->vma 的 UAF (CVE-2022-50338)

Linux 内核的 eBPF 子系统中可能发生死锁问题。

Amazon Linux 上的默认 sysctl 配置 kernel.unprivileged_bpf_disabled 不允许非特权用户使用 eBPF。(CVE-2023-0160)

在处理 RPL 协议期间,在 Linux 内核的网络子系统中发现一个缺陷。发生此问题的原因是未正确处理用户提供的数据,这可导致断言失败。该缺陷可能允许未经身份验证的远程攻击者在系统上创建拒绝服务情况。
(CVE-2023-2156)

可以利用 Linux 内核 ipvlan 网络驱动程序中的堆越界写入漏洞实现本地特权提升。

出现越界写入的原因是 ipvlan 网络驱动程序中缺少 skb->cb 初始化。如果启用了 CONFIG_IPVLAN,则可利用此漏洞。

我们建议升级过去的提交 90cbed5247439a966b645b34eb0a2e037836ea8e。(CVE-2023-3090)

在 GFS2 文件系统中发现 Linux 内核中存在缺陷。如果 evict 代码尝试在日志描述符结构、jdesc 被释放并被设置为 NULL 后引用该结构,损坏的 gfs2 文件系统上便会出现此问题。调用 gfs2_trans_begin 时可导致空指针取消引用,然后无法调用 ingfs2_evict_inode()。(CVE-2023-3212)

在 Linux 内核的中继文件中,在 kernel/relay.c 的 relay_file_read_start_pos 中发现一个越界 (OOB) 内存访问缺陷。此缺陷允许本地攻击者造成系统崩溃或泄露内核内部信息。(CVE-2023-3268)

在 6.3.3 之前版本的 Linux 内核中发现了一个问题。由于 ext4_group_desc_csum 未正确检查偏移,因此当从 fs/ext4/super.c 调用时,lib/crc16.c 中的 crc16 发生越界读取问题。(CVE-2023-34256)

在 Linux 内核中,发现 vc_screen 中 drivers/tty/vt/vc_screen.c 的 vcs_read 存在一个释放后使用缺陷。如果攻击者具有本地用户访问权限,他们可利用此缺陷造成系统崩溃或泄露内核内部信息。(CVE-2023-3567)

在 6.3.7 之前的 Linux 内核中发现 net/sched/cls_flower.c 内的 fl_set_geneve_opt 存在问题。
借助 TCA_FLOWER_KEY_ENC_OPTS_GENEVE 数据包,此问题可造成花卉分类器代码出现越界写入。
这可能导致拒绝服务或权限升级。(CVE-2023-35788)

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

serial8250重新初始化端口特定驱动程序 unbind 上的 port->pm (CVE-2023-53176)

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

ACPICA避免未定义的行为将零偏移应用到空指针 (CVE-2023-53182)

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

fs/ntfs3在 indx_get_root 中添加长度检查 (CVE-2023-53194)

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

ext4修复部分写入情况下 i_disksize 超过 i_size 的问题 (CVE-2023-53270)

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

ext4在 get_max_inline_xattr_value_size() 中添加边界检查 (CVE-2023-53285)

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

fs/ntfs3修复 ntfs_lookup() 中 inode->i_op 上的 null-ptr-deref (CVE-2023-53294)

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

md/raid10修复“r10bio->remaining”的泄漏以进行恢复 (CVE-2023-53299)

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

ext4修复 mb_find_extent 中的警告 (CVE-2023-53317)

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

rcu保护 rcu_print_task_exp_stall() ->exp_tasks 访问 (CVE-2023-53419)

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

net添加 vlan_get_protocol_and_depth() 辅助函数 (CVE-2023-53433)

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

ext4删除 ext4_mb_release_group_pa() 中的 BUG_ON (CVE-2023-53450)

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

ext4改进 ext4_dirhash() 中的错误处理 (CVE-2023-53473)

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

x86/MCE/AMD将 u64 用于 bank_map (CVE-2023-53474)

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

libcpu_rmap避免 rmap->obj 数组条目上的释放后使用 (CVE-2023-53484)

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

fs/ntfs3增强属性大小检查 (CVE-2023-53486)

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

tcp/udp修复具有 TX 时间戳的 sk 和 zerocopy skbs 的内存泄漏。 (CVE-2023-53489)

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

virtio_net修复 XDP 初始化的错误展开 (CVE-2023-53499)

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

ext4允许 ext4_get_group_info() 失败 (CVE-2023-53503)

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

nbd修复 ioctl arg 的不完整验证 (CVE-2023-53513)

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

blk-crypto使 blk_crypto_evict_key() 更可靠 (CVE-2023-53536)

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

netfilternft_set_rbtree修复元素插入时的空取消引用 (CVE-2023-53566)

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

drm/i915使 intel_get_crtc_new_encoder() 减少 oopsy (CVE-2023-53571)

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

null_blk始终从 configfs 检查队列模式设置 (CVE-2023-53576)

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

scsitarget修复多个 LUN_RESET 处理 (CVE-2023-53586)

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

ring-buffer同步 IRQ 在缓冲区破坏前工作 (CVE-2023-53587)

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

net/mlx5e修复 tc 路由查询代码中的死锁 (CVE-2023-53591)

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

dm 完整性在 dm_integrity_init() 错误路径中调用 kmem_cache_destroy()CVE-2023-53604]

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

net/schedsch_fq修复 credit 整数溢出 (CVE-2023-53624)

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

rcu避免由于 __rcu_irq_enter_check_tick() 被 kprobe-ed 导致的堆栈溢出 (CVE-2023-53655)

在 Linux 内核的 ext4 中,在 fs/ext4/super.c 的 __ext4_remount 中发现了一个释放后使用缺陷。本地用户可利用此缺陷,在释放旧配额文件名以触发潜在的故障时,造成信息泄漏问题,从而导致释放后使用。(CVE-2024-0775)

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

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

解决方案

运行“yum update kernel”或“yum update --advisory ALAS2KERNEL-5.15-2023-021“ 以更新系统。

另见

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

https://explore.alas.aws.amazon.com/CVE-2024-0775.html

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.15-2023-021.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

插件详情

严重性: High

ID: 177781

文件名: al2_ALASKERNEL-5_15-2023-021.nasl

版本: 1.16

类型: local

代理: unix

发布时间: 2023/6/29

最近更新时间: 2025/10/24

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Medium

基本分数: 6.8

时间分数: 5.3

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

CVSS 分数来源: CVE-2023-35788

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

漏洞信息

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

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

可利用: true

易利用性: No known exploits are available

补丁发布日期: 2023/6/21

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

参考资料信息

CVE: CVE-2022-48425, CVE-2022-50240, CVE-2023-0160, CVE-2023-2156, CVE-2023-3090, CVE-2023-3212, CVE-2023-3268, CVE-2023-34256, CVE-2023-3567, CVE-2023-35788, CVE-2023-53176, CVE-2023-53182, CVE-2023-53194, CVE-2023-53270, CVE-2023-53285, CVE-2023-53294, CVE-2023-53299, CVE-2023-53317, CVE-2023-53419, CVE-2023-53433, CVE-2023-53450, CVE-2023-53473, CVE-2023-53474, CVE-2023-53484, CVE-2023-53486, CVE-2023-53489, CVE-2023-53499, CVE-2023-53503, CVE-2023-53513, CVE-2023-53536, CVE-2023-53566, CVE-2023-53571, CVE-2023-53576, CVE-2023-53586, CVE-2023-53587, CVE-2023-53591, CVE-2023-53604, CVE-2023-53624, CVE-2023-53655, CVE-2024-0775