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

摘要:

kernel security update

安全等级: High

公告ID: KylinSec-SA-2023-2265

发布日期: 2023年9月15日

关联CVE: CVE-2023-4622   CVE-2023-4015   CVE-2023-4208   CVE-2023-32247   CVE-2023-3777   CVE-2023-4207   CVE-2023-4206  

  • 详细介绍

1. 漏洞描述

   

The Linux Kernel, the operating system core itself.

Security Fix(es):

A flaw was found in the Linux kernel's ksmbd, a high-performance in-kernel SMB server. The specific flaw exists within the handling of SMB2_SESSION_SETUP commands. The issue results from the lack of control of resource consumption. An attacker can leverage this vulnerability to create a denial-of-service condition on the system.(CVE-2023-32247)

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation.

When nf_tables_delrule() is flushing table rules, it is not checked whether the chain is bound and the chain's owner rule can also release the objects in certain circumstances.

We recommend upgrading past commit 6eaf41e87a223ae6f8e7a28d6e78384ad7e407f8.

(CVE-2023-3777)

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation.

On an error when building a nftables rule, deactivating immediate expressions in nft_immediate_deactivate() can lead unbinding the chain and objects be deactivated but later used.

We recommend upgrading past commit 0a771f7b266b02d262900c75f1e175c7fe76fec2.

(CVE-2023-4015)

A use-after-free vulnerability in the Linux kernel's net/sched: cls_route component can be exploited to achieve local privilege escalation.

When route4_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free.

We recommend upgrading past commit b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8.

(CVE-2023-4206)

A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation.

When fw_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free.

We recommend upgrading past commit 76e42ae831991c828cffa8c37736ebfb831ad5ec.

(CVE-2023-4207)

A use-after-free vulnerability in the Linux kernel's net/sched: cls_u32 component can be exploited to achieve local privilege escalation.

When u32_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free.

We recommend upgrading past commit 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81.

(CVE-2023-4208)

A use-after-free vulnerability in the Linux kernel's af_unix component can be exploited to achieve local privilege escalation.

The unix_stream_sendpage() function tries to add data to the last skb in the peer's recv queue without locking the queue. Thus there is a race where unix_stream_sendpage() could access an skb locklessly that is being released by garbage collection, resulting in use-after-free.

We recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c.

(CVE-2023-4622)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-4622 KY3.5.2 kernel Fixed
CVE-2023-4015 KY3.5.2 kernel Fixed
CVE-2023-4208 KY3.5.2 kernel Fixed
CVE-2023-32247 KY3.5.2 kernel Fixed
CVE-2023-3777 KY3.5.2 kernel Fixed
CVE-2023-4207 KY3.5.2 kernel Fixed
CVE-2023-4206 KY3.5.2 kernel Fixed

3. 影响组件

    kernel

4. 修复版本

   

KY3.5.2

软件名称 架构 版本号
kernel-tools x86_64 5.10.0-153.12.0.92.kb8.ky3_5
kernel-headers 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-source 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
python3-perf 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 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-devel aarch64 5.10.0-153.12.0.92.kb16.ky3_5
perf aarch64 5.10.0-153.12.0.92.kb16.ky3_5
python3-perf aarch64 5.10.0-153.12.0.92.kb16.ky3_5
bpftool aarch64 5.10.0-153.12.0.92.kb16.ky3_5
kernel aarch64 5.10.0-153.12.0.92.kb16.ky3_5
kernel-tools 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-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-tools   

     kernel-headers   

     bpftool   

     kernel-source   

     perf   

     python3-perf   

     kernel-devel   

     kernel   

     kernel-tools-devel   

aarch64:

     kernel-devel   

     perf   

     python3-perf   

     bpftool   

     kernel   

     kernel-tools   

     kernel-headers   

     kernel-tools-devel   

     kernel-source   

上一篇:KylinSec-SA-2023-2263 下一篇:KylinSec-SA-2023-2267