Amazon Linux 2:内核、 --advisory ALAS2KERNEL-5。10-2026-126 (ALASKERNEL-5。10-2026-126)

high Nessus 插件 ID 328495

简介

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

描述

远程主机上安装的内核版本低于 5.10.260-259.1053。因此,会受到 ALAS2KERNEL-5.10-2026-126 公告中提及的多个漏洞影响。

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

ext4:将 BUG_ON 替换为 ext4_read_inline_folio (CVE-2026-31451) 中的正确错误处理

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

usb:cdns3:gadget:修复 ep_queue 中的空指针取消引用 (CVE-2026-31755)

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

xfrm:防御性地反哈希 __xfrm_state_delete (CVE-2026-46116) 中的 xfrm_state 列表

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

regulator:core:修复 regulator_resolve_supply() 错误路径中的锁定 (CVE-2026-46252)

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

netfilter:nf_tables:将list_del_rcu用于 netlink 挂钩 (CVE-2026-46324)

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

net/sched:修复导致页面缓存损坏的 pedit 部分 COW (CVE-2026-46331)

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

ip6_vti:在回退设备上设置netns_immutable。(CVE-2026-52909)

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

bpf:修复 sock_ops (CVE-2026-53078) 中的 same-register dst/src OOB 读取和指针泄漏

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

fuse:将FUSE_NOTIFY_RETRIEVE限制为最新的 folios (CVE-2026-53167)

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

bnxt_en:修复空指针取消引用 (CVE-2026-53177)

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

l2tp:pppol2tp:保持对 pppol2tp_ioctl()CVE-2026-53262 () 中的会话的引用

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

KVM:x86:修复由于非预期角色造成的阴影分页释放后使用 (CVE-2026-53359)

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

virtiofs:修复子挂载 umount 上的 UAF

如果超级块已被破坏,则从 fuse_release_end() 调用的 iput() 可发生 Oops。通常情况下,通过等待 fornum_waiting 降至零,然后再开始超级块关机,可以防止这种情况发生。

但是,这仅适用于最后一个子挂载实例,因为等待计数器是每个连接,而不是每个超级块。

恢复为针对auto_submounts情况使用同步释放请求,此时仅限 virtiofs。(CVE-2026-53381)

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

vc_screen:修复并发vcs_write期间 vcs_notifier() 中的 null-ptr-deref

在 vcs_notifier() 中发现一个 KASAN null-ptr-deref:

缺陷:KASAN:地址qmp_cmd_name处大小为 2 的 vcs_notifier+0x98/0x130Read 中的 null-ptr-deref:
qmp_capabilities,参数:{}

该问题是 vcs_write() 中的争用条件。当console_lock被暂时删除(以从用户空间复制数据)时,从 vcs_vc() 获取的vc_data指针可能会过时。重新获取锁定后,会再次调用 vcs_vc() 以重新验证指针。如果在此期间 vc 已被解除分配,则 vcs_vc() 返回 NULL,while 循环中断(写入> 0)。但是,在循环之后,仍使用现为空的 vc 指针调用 vcs_scr_updated(vc),从而导致通知程序链中出现空指针取消引用(vcs_notifier取消引用 param->vc)。

通过在调用 vcs_scr_updated() 之前添加 vc 的空检查修复此问题。(CVE-2026-53385)

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

nfsd:修复 SETACL 解码失败 (CVE-2026-53397) 中的posix_acl泄漏

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

NFSD:修复SECINFO_NO_NAME解码错误 cleanup (CVE-2026-53398)

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

fbdev:修复fb_new_modelist以防止fb_videomode_to_var中出现 null-ptr-deref

framebuffer 的当前模式 info->var 在 info->modelist 中应具有 MatchingEntry。
var_to_display() 依赖此问题并将失败的 fb_match_mode() 视为不应发生此情况。
fb_set_var() 通过在每次更改时将模式添加到列表中来保持 ittrue,anddo_register_framebuffer() 在注册时执行相同的操作。

store_modes() 替换用户空间中的模式列表。fb_new_modelist()验证新模式,但不检查 info->var 是否仍具有 amatch。它依靠 fbcon_new_modelist() 重新指向控制台,但仅处理映射到帧缓冲区的控制台。fbcon unbound 没有任何内容,因此 info->var 只留下描述不再在列表中的模式。

后续的控制台接管运行 var_to_display(),其中 fb_match_mode() 返回 NULL 并保留 fb_display[i].mode NULL。fbcon_switch() 将其传递给 display_to_var(),而 fb_videomode_to_var() 取消引用 NULL 模式。

将列表中的当前模式保留在 fb_new_modelist() 中,与 wayfb_set_var() 相同的模式。(CVE-2026-53403)

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

KVM:SVM:修复 sev_dbg_crypt() 中用于 ENCRYPT 路径 (CVE-2026-63794) 的页面溢出

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

pNFS:修复 pnfs_update_layout() 中的释放后使用 (CVE-2026-63800)

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

tipc:修复 tipc_aead_decrypt_done (CVE-2026-63801) 中的 slab-use-after-free Read

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

exfat:修复 exfat_find_dir_entry() 中潜在的释放后使用 (CVE-2026-63808)

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

bpf:将 kvfree() 用于替换的 sysctl 写入缓冲区 (CVE-2026-63809)

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

keys:在实例化路径 (CVE-2026-63823) 中固定 request_key_auth 负载

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

KEYS:修复 keyctl_pkey_params_get_2() (CVE-2026-63824) 中的溢出

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

i2c:stub:拒绝具有无效长度的 I2C 区块传输

stub_xfer() 中的I2C_SMBUS_I2C_BLOCK_DATA情况使用 data->block[0] 作为传输长度。现有检查仅限制它以避免溢出 chip->words[256] 寄存器数组,但未针对 I2C_SMBUS_BLOCK_MAX (32) 进行验证,后者是 unioni2c_smbus_data.block 缓冲区的极限(总共 34 字节)。该驱动程序是必须通过 chip_addr= 参数加载的开发/测试工具(CONFIG_I2C_STUB=m,默认情况下未构建)。

具有 /dev/i2c-* 访问权限的本地用户可发出 I2C_SMBUS ioctlwith I2C_SMBUS_I2C_BLOCK_DATA 和 data->block[0] > 32,causingstub_xfer() 以超过unioni2c_smbus_data.block 缓冲区的末尾进行读取或写入:

缺陷:KASAN:stub_xfer 中的堆栈越界 (drivers/i2c/i2c-stub.) c:223)通过任务 exploit/81Call Trace:<TASK>stub_xfer (drivers/i2c/i2c-stub.c:223)__i2c_smbus_xfer (drivers/i2c/i2c-core-smbus.c:593)i2c_smbus_xfer (drivers/i2c/i2c-core-smbus.c:536)i2cdev_ioctl_smbus (drivers/i2c/i2c-dev.c:391)i2cdev_ioctl (drivers/i2c/i2c-dev.c:478)__x64_sys_ioctl (fs/ioctl.c:583)do_syscall_64 (arch/x86/entry/syscall_64.c:94)entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)</TASK>

此缺陷之所以存在,是因为 i2c-stub 直接实现了 .smbus_xfer,进而绕过了I2C_SMBUS_BLOCK_MAX验证 ini2c_smbus_xfer_emulated()。samefunction 中的 I2C_SMBUS_BLOCK_DATA 案例会正确验证I2C_SMBUS_BLOCK_MAX,但theI2C_SMBUS_I2C_BLOCK_DATA情况不会。

通过拒绝带有 data->block[0] == 0 或data->block[0] > I2C_SMBUS_BLOCK_MAX带 -EINVAL 的传输来修复,这与同一函数中的I2C_SMBUS_BLOCK_DATA情况和 i2c_smbus_xfer_emulated() 中的theI2C_SMBUS_I2C_BLOCK_DATA验证一致。(CVE-2026-64191)

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

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

解决方案

运行 'yum update kernel' 或 'yum update --advisory ALAS2KERNEL-5.10-2026-126' 以更新系统。

另见

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.10-2026-126.html

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

https://explore.alas.aws.amazon.com/CVE-2026-31451.html

https://explore.alas.aws.amazon.com/CVE-2026-31755.html

https://explore.alas.aws.amazon.com/CVE-2026-46116.html

https://explore.alas.aws.amazon.com/CVE-2026-46252.html

https://explore.alas.aws.amazon.com/CVE-2026-46324.html

https://explore.alas.aws.amazon.com/CVE-2026-46331.html

https://explore.alas.aws.amazon.com/CVE-2026-52909.html

https://explore.alas.aws.amazon.com/CVE-2026-53078.html

https://explore.alas.aws.amazon.com/CVE-2026-53167.html

https://explore.alas.aws.amazon.com/CVE-2026-53177.html

https://explore.alas.aws.amazon.com/CVE-2026-53262.html

https://explore.alas.aws.amazon.com/CVE-2026-53359.html

https://explore.alas.aws.amazon.com/CVE-2026-53381.html

https://explore.alas.aws.amazon.com/CVE-2026-53385.html

https://explore.alas.aws.amazon.com/CVE-2026-53397.html

https://explore.alas.aws.amazon.com/CVE-2026-53398.html

https://explore.alas.aws.amazon.com/CVE-2026-53403.html

https://explore.alas.aws.amazon.com/CVE-2026-63794.html

https://explore.alas.aws.amazon.com/CVE-2026-63800.html

https://explore.alas.aws.amazon.com/CVE-2026-63801.html

https://explore.alas.aws.amazon.com/CVE-2026-63808.html

https://explore.alas.aws.amazon.com/CVE-2026-63809.html

https://explore.alas.aws.amazon.com/CVE-2026-63823.html

https://explore.alas.aws.amazon.com/CVE-2026-63824.html

https://explore.alas.aws.amazon.com/CVE-2026-64191.html

插件详情

严重性: High

ID: 328495

文件名: al2_ALASKERNEL-5_10-2026-126.nasl

版本: 1.3

类型: Local

代理: unix

发布时间: 2026/7/20

最近更新时间: 2026/8/6

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

风险信息

VPR

风险因素: Critical

分数: 9

百分位: 99.75

CVSS v2

风险因素: Medium

基本分数: 6.8

时间分数: 5.3

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

CVSS 分数来源: CVE-2026-63794

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: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:bpftool-debuginfo, 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-debuginfo, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-livepatch-5.10.260-259.1053, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:python-perf

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2026/7/20

漏洞发布日期: 2026/4/22

参考资料信息

CVE: CVE-2026-31451, CVE-2026-31755, CVE-2026-46116, CVE-2026-46252, CVE-2026-46324, CVE-2026-46331, CVE-2026-52909, CVE-2026-53078, CVE-2026-53167, CVE-2026-53177, CVE-2026-53262, CVE-2026-53359, CVE-2026-53381, CVE-2026-53385, CVE-2026-53397, CVE-2026-53398, CVE-2026-53403, CVE-2026-63794, CVE-2026-63800, CVE-2026-63801, CVE-2026-63808, CVE-2026-63809, CVE-2026-63823, CVE-2026-63824, CVE-2026-64191