• 公告ID (KylinSec-SA-2023-2161)

摘要:

kernel security update

安全等级: High

公告ID: KylinSec-SA-2023-2161

发布日期: 2024年10月31日

关联CVE: CVE-2022-4382   CVE-2023-1998   CVE-2023-2007   CVE-2023-2166   CVE-2023-2176   CVE-2023-2194   CVE-2023-2269   CVE-2023-0458   CVE-2023-31436  

  • 详细介绍

1. 漏洞描述

   

The Linux Kernel, the operating system core itself.

Security Fix(es):

A use-after-free flaw caused by a race among the superblock operations in the gadgetfs Linux driver was found. It could be triggered by yanking out a device that is running the gadgetfs side.(CVE-2022-4382)

The Linux kernel allows userspace processes to enable mitigations by calling prctl with PR_SET_SPECULATION_CTRL which disables the speculation feature as well as by using seccomp. We had noticed that on VMs of at least one major cloud provider, the kernel still left the victim process exposed to attacks in some cases even after enabling the spectre-BTI mitigation with prctl. The same behavior can be observed on a bare-metal machine when forcing the mitigation to IBRS on boot command line.

This happened because when plain IBRS was enabled (not enhanced IBRS), the kernel had some logic that determined that STIBP was not needed. The IBRS bit implicitly protects against cross-thread branch target injection. However, with legacy IBRS, the IBRS bit was cleared on returning to userspace, due to performance reasons, which disabled the implicit STIBP and left userspace threads vulnerable to cross-thread branch target injection against which STIBP protects.


(CVE-2023-1998)

The specific flaw exists within the DPT I2O Controller driver. The issue results from the lack of proper locking when performing operations on an object. An attacker can leverage this in conjunction with other vulnerabilities to escalate privileges and execute arbitrary code in the context of the kernel.(CVE-2023-2007)

A null pointer dereference issue was found in can protocol in net/can/af_can.c in the Linux before Linux. ml_priv may not be initialized in the receive path of CAN frames. A local user could use this flaw to crash the system or potentially cause a denial of service.(CVE-2023-2166)

A vulnerability was found in compare_netdev_and_ip in drivers/infiniband/core/cma.c in RDMA in the Linux Kernel. The improper cleanup results in out-of-boundary read, where a local user can utilize this problem to crash the system or escalation of privilege.(CVE-2023-2176)

An out-of-bounds write vulnerability was found in the Linux kernel's SLIMpro I2C device driver. The userspace "data->block[0]" variable was not capped to a number between 0-255 and was used as the size of a memcpy, possibly writing beyond the end of dma_buffer. This flaw could allow a local privileged user to crash the system or potentially achieve code execution.(CVE-2023-2194)

A denial of service problem was found, due to a possible recursive locking scenario, resulting in a deadlock in table_clear in drivers/md/dm-ioctl.c in the Linux Kernel Device Mapper-Multipathing sub-component.(CVE-2023-2269)

A speculative pointer dereference problem exists in the Linux Kernel on the do_prlimit() function. The resource argument value is controlled and is used in pointer arithmetic for the 'rlim' variable and can be used to leak the contents. We recommend upgrading past version 6.1.8 or commit 739790605705ddcf18f21782b9c99ad7d53a8c11(CVE-2023-0458)

qfq_change_class in net/sched/sch_qfq.c in the Linux kernel before 6.2.13 allows an out-of-bounds write because lmax can exceed QFQ_MIN_LMAX.(CVE-2023-31436)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2022-4382 KY3.5.2 kernel Fixed
CVE-2023-1998 KY3.5.2 kernel Fixed
CVE-2023-2007 KY3.5.2 kernel Fixed
CVE-2023-2166 KY3.5.2 kernel Fixed
CVE-2023-2176 KY3.5.2 kernel Fixed
CVE-2023-2194 KY3.5.2 kernel Fixed
CVE-2023-2269 KY3.5.2 kernel Fixed
CVE-2023-0458 KY3.5.2 kernel Fixed
CVE-2023-31436 KY3.5.2 kernel Fixed

3. 影响组件

    kernel

4. 修复版本

   

KY3.5.2

软件名称 架构 版本号
kernel-headers x86_64 5.10.0-153.12.0.92.kb8.ky3_5
python3-perf x86_64 5.10.0-153.12.0.92.kb8.ky3_5
perf x86_64 5.10.0-153.12.0.92.kb8.ky3_5
bpftool x86_64 5.10.0-153.12.0.92.kb8.ky3_5
kernel-tools-devel x86_64 5.10.0-153.12.0.92.kb8.ky3_5
kernel-tools x86_64 5.10.0-153.12.0.92.kb8.ky3_5
kernel-source x86_64 5.10.0-153.12.0.92.kb8.ky3_5
kernel x86_64 5.10.0-153.12.0.92.kb8.ky3_5
kernel-devel x86_64 5.10.0-153.12.0.92.kb8.ky3_5
kernel aarch64 5.10.0-153.12.0.92.kb16.ky3_5
bpftool aarch64 5.10.0-153.12.0.92.kb16.ky3_5
perf aarch64 5.10.0-153.12.0.92.kb16.ky3_5
kernel-headers aarch64 5.10.0-153.12.0.92.kb16.ky3_5
kernel-tools aarch64 5.10.0-153.12.0.92.kb16.ky3_5
python3-perf aarch64 5.10.0-153.12.0.92.kb16.ky3_5
kernel-tools-devel aarch64 5.10.0-153.12.0.92.kb16.ky3_5
kernel-devel aarch64 5.10.0-153.12.0.92.kb16.ky3_5
kernel-source aarch64 5.10.0-153.12.0.92.kb16.ky3_5

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.5.2:

x86_64:

     kernel-headers   

     python3-perf   

     perf   

     bpftool   

     kernel-tools-devel   

     kernel-tools   

     kernel-source   

     kernel   

     kernel-devel   

aarch64:

     kernel   

     bpftool   

     perf   

     kernel-headers   

     kernel-tools   

     python3-perf   

     kernel-tools-devel   

     kernel-devel   

     kernel-source   

上一篇:KylinSec-SA-2023-2159 下一篇:KylinSec-SA-2023-2163