An update for kernel is now available for openEuler-22.03-LTS
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2023-1274
Final
1.0
1.0
2023-05-12
Initial
2023-05-12
2023-05-12
openEuler SA Tool V1.0
2023-05-12
kernel security update
An update for kernel is now available for openEuler-22.03-LTS.
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)
A flaw was found in the Linux kernel s udmabuf device driver. The specific flaw exists within a fault handler. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an array. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel.(CVE-2023-2008)
An update for kernel is now available for openEuler-22.03-LTS.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.
High
kernel
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-4382
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-1998
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-2007
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-2166
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-2176
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-2194
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-2269
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-0458
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-31436
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-2008
https://nvd.nist.gov/vuln/detail/CVE-2022-4382
https://nvd.nist.gov/vuln/detail/CVE-2023-1998
https://nvd.nist.gov/vuln/detail/CVE-2023-2007
https://nvd.nist.gov/vuln/detail/CVE-2023-2166
https://nvd.nist.gov/vuln/detail/CVE-2023-2176
https://nvd.nist.gov/vuln/detail/CVE-2023-2194
https://nvd.nist.gov/vuln/detail/CVE-2023-2269
https://nvd.nist.gov/vuln/detail/CVE-2023-0458
https://nvd.nist.gov/vuln/detail/CVE-2023-31436
https://nvd.nist.gov/vuln/detail/CVE-2023-2008
openEuler-22.03-LTS
kernel-tools-5.10.0-60.93.0.117.oe2203.aarch64.rpm
perf-debuginfo-5.10.0-60.93.0.117.oe2203.aarch64.rpm
python3-perf-5.10.0-60.93.0.117.oe2203.aarch64.rpm
kernel-debuginfo-5.10.0-60.93.0.117.oe2203.aarch64.rpm
kernel-tools-devel-5.10.0-60.93.0.117.oe2203.aarch64.rpm
kernel-debugsource-5.10.0-60.93.0.117.oe2203.aarch64.rpm
kernel-devel-5.10.0-60.93.0.117.oe2203.aarch64.rpm
bpftool-debuginfo-5.10.0-60.93.0.117.oe2203.aarch64.rpm
python3-perf-debuginfo-5.10.0-60.93.0.117.oe2203.aarch64.rpm
kernel-tools-debuginfo-5.10.0-60.93.0.117.oe2203.aarch64.rpm
perf-5.10.0-60.93.0.117.oe2203.aarch64.rpm
kernel-source-5.10.0-60.93.0.117.oe2203.aarch64.rpm
kernel-5.10.0-60.93.0.117.oe2203.aarch64.rpm
bpftool-5.10.0-60.93.0.117.oe2203.aarch64.rpm
kernel-headers-5.10.0-60.93.0.117.oe2203.aarch64.rpm
kernel-5.10.0-60.93.0.117.oe2203.src.rpm
kernel-debuginfo-5.10.0-60.93.0.117.oe2203.x86_64.rpm
bpftool-debuginfo-5.10.0-60.93.0.117.oe2203.x86_64.rpm
bpftool-5.10.0-60.93.0.117.oe2203.x86_64.rpm
kernel-tools-devel-5.10.0-60.93.0.117.oe2203.x86_64.rpm
python3-perf-5.10.0-60.93.0.117.oe2203.x86_64.rpm
perf-5.10.0-60.93.0.117.oe2203.x86_64.rpm
kernel-headers-5.10.0-60.93.0.117.oe2203.x86_64.rpm
kernel-source-5.10.0-60.93.0.117.oe2203.x86_64.rpm
python3-perf-debuginfo-5.10.0-60.93.0.117.oe2203.x86_64.rpm
perf-debuginfo-5.10.0-60.93.0.117.oe2203.x86_64.rpm
kernel-debugsource-5.10.0-60.93.0.117.oe2203.x86_64.rpm
kernel-5.10.0-60.93.0.117.oe2203.x86_64.rpm
kernel-tools-5.10.0-60.93.0.117.oe2203.x86_64.rpm
kernel-tools-debuginfo-5.10.0-60.93.0.117.oe2203.x86_64.rpm
kernel-devel-5.10.0-60.93.0.117.oe2203.x86_64.rpm
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.
2023-05-12
CVE-2022-4382
openEuler-22.03-LTS
High
7.4
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
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.
2023-05-12
CVE-2023-1998
openEuler-22.03-LTS
Medium
5.6
AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
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.
2023-05-12
CVE-2023-2007
openEuler-22.03-LTS
High
7.8
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
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.
2023-05-12
CVE-2023-2166
openEuler-22.03-LTS
Medium
5.5
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
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.
2023-05-12
CVE-2023-2176
openEuler-22.03-LTS
High
7.8
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
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.
2023-05-12
CVE-2023-2194
openEuler-22.03-LTS
Medium
6.7
AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
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.
2023-05-12
CVE-2023-2269
openEuler-22.03-LTS
Medium
5.5
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
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
2023-05-12
CVE-2023-0458
openEuler-22.03-LTS
Medium
5.3
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
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.
2023-05-12
CVE-2023-31436
openEuler-22.03-LTS
High
7.8
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274
A flaw was found in the Linux kernel s udmabuf device driver. The specific flaw exists within a fault handler. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an array. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel.
2023-05-12
CVE-2023-2008
openEuler-22.03-LTS
High
7.8
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
kernel security update
2023-05-12
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1274