An update for kernel is now available for openEuler-20.03-LTS-SP3 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2023-1174 Final 1.0 1.0 2023-03-17 Initial 2023-03-17 2023-03-17 openEuler SA Tool V1.0 2023-03-17 kernel security update An update for kernel is now available for openEuler-20.03-LTS-SP3. The Linux Kernel, the operating system core itself. Security Fix(es): In binder_transaction_buffer_release of binder.c, there is a possible use after free due to improper input validation. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-257685302References: Upstream kernel(CVE-2023-20938) There is a use-after-free vulnerability in the Linux Kernel which can be exploited to achieve local privilege escalation. To reach the vulnerability kernel configuration flag CONFIG_TLS or CONFIG_XFRM_ESPINTCP has to be configured, but the operation does not require any privilege. There is a use-after-free bug of icsk_ulp_data of a struct inet_connection_sock. When CONFIG_TLS is enabled, user can install a tls context (struct tls_context) on a connected tcp socket. The context is not cleared if this socket is disconnected and reused as a listener. If a new socket is created from the listener, the context is inherited and vulnerable. The setsockopt TCP_ULP operation does not require any privilege. We recommend upgrading past commit 2c02d41d71f90a5168391b6a5f2954112ba2307c(CVE-2023-0461) A flaw in the Linux Kernel found. Fail if no bound addresses can be used for a given scope. A type confusion can happen in inet_diag_msg_sctpasoc_fill() in net/sctp/diag.c, which uses a type confused pointer to return information to userspace when issuing a list_entry() on asoc->base.bind_addr.address_list.next when the list is empty. References: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=458e279f861d3f61796894cd158b780765a1569f https://www.openwall.com/lists/oss-security/2023/01/23/1(CVE-2023-1074) A flaw found in the Linux Kernel in RDS (Reliable Datagram Sockets) protocol. The rds_rm_zerocopy_callback() uses list_entry() on the head of a list causing a type confusion. Local user can trigger this with rds_message_put(). Type confusion leads to `struct rds_msg_zcopy_info *info` actually points to something else that is potentially controlled by local user. It is known how to trigger this, which causes an OOB access, and a lock corruption. Reference: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f753a68980cf4b59a80fe677619da2b1804f526d(CVE-2023-1078) A flaw found in the Linux Kernel. The tun/tap sockets have their socket UID hardcoded to 0 due to a type confusion in their initialization function. While it will be often correct, as tuntap devices require CAP_NET_ADMIN, it may not always be the case, e.g., a non-root user only having that capability. This would make tun/tap sockets being incorrectly treated in filtering/routing decisions, possibly bypassing network filters. References: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=66b2c338adce580dfce2199591e65e2bab889cff https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a096ccca6e503a5c575717ff8a36ace27510ab0a(CVE-2023-1076) A flaw use after free in the Linux kernel integrated infrared receiver/transceiver driver was found in the way user detaching rc device. A local user could use this flaw to crash the system or potentially escalate their privileges on the system.(CVE-2023-1118) In the Linux kernel before 6.1.13, there is a double free in net/mpls/af_mpls.c upon an allocation failure (for registering the sysctl table under a new location) during the renaming of a device.(CVE-2023-26545) An update for kernel is now available for openEuler-20.03-LTS-SP3. 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-1174 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-20938 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-0461 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-1074 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-1078 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-1076 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-1118 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-26545 https://nvd.nist.gov/vuln/detail/CVE-2023-20938 https://nvd.nist.gov/vuln/detail/CVE-2023-0461 https://nvd.nist.gov/vuln/detail/CVE-2023-1074 https://nvd.nist.gov/vuln/detail/CVE-2023-1078 https://nvd.nist.gov/vuln/detail/CVE-2023-1076 https://nvd.nist.gov/vuln/detail/CVE-2023-1118 https://nvd.nist.gov/vuln/detail/CVE-2023-26545 openEuler-20.03-LTS-SP3 kernel-source-4.19.90-2303.3.0.0192.oe1.aarch64.rpm perf-debuginfo-4.19.90-2303.3.0.0192.oe1.aarch64.rpm python2-perf-debuginfo-4.19.90-2303.3.0.0192.oe1.aarch64.rpm kernel-devel-4.19.90-2303.3.0.0192.oe1.aarch64.rpm python3-perf-4.19.90-2303.3.0.0192.oe1.aarch64.rpm perf-4.19.90-2303.3.0.0192.oe1.aarch64.rpm python2-perf-4.19.90-2303.3.0.0192.oe1.aarch64.rpm kernel-debuginfo-4.19.90-2303.3.0.0192.oe1.aarch64.rpm bpftool-4.19.90-2303.3.0.0192.oe1.aarch64.rpm kernel-tools-debuginfo-4.19.90-2303.3.0.0192.oe1.aarch64.rpm python3-perf-debuginfo-4.19.90-2303.3.0.0192.oe1.aarch64.rpm kernel-tools-devel-4.19.90-2303.3.0.0192.oe1.aarch64.rpm kernel-4.19.90-2303.3.0.0192.oe1.aarch64.rpm kernel-tools-4.19.90-2303.3.0.0192.oe1.aarch64.rpm kernel-debugsource-4.19.90-2303.3.0.0192.oe1.aarch64.rpm bpftool-debuginfo-4.19.90-2303.3.0.0192.oe1.aarch64.rpm kernel-4.19.90-2303.3.0.0192.oe1.src.rpm kernel-4.19.90-2303.3.0.0192.oe1.x86_64.rpm perf-debuginfo-4.19.90-2303.3.0.0192.oe1.x86_64.rpm kernel-devel-4.19.90-2303.3.0.0192.oe1.x86_64.rpm kernel-tools-devel-4.19.90-2303.3.0.0192.oe1.x86_64.rpm python3-perf-debuginfo-4.19.90-2303.3.0.0192.oe1.x86_64.rpm kernel-source-4.19.90-2303.3.0.0192.oe1.x86_64.rpm perf-4.19.90-2303.3.0.0192.oe1.x86_64.rpm python2-perf-debuginfo-4.19.90-2303.3.0.0192.oe1.x86_64.rpm kernel-tools-debuginfo-4.19.90-2303.3.0.0192.oe1.x86_64.rpm bpftool-4.19.90-2303.3.0.0192.oe1.x86_64.rpm kernel-tools-4.19.90-2303.3.0.0192.oe1.x86_64.rpm python3-perf-4.19.90-2303.3.0.0192.oe1.x86_64.rpm python2-perf-4.19.90-2303.3.0.0192.oe1.x86_64.rpm bpftool-debuginfo-4.19.90-2303.3.0.0192.oe1.x86_64.rpm kernel-debugsource-4.19.90-2303.3.0.0192.oe1.x86_64.rpm kernel-debuginfo-4.19.90-2303.3.0.0192.oe1.x86_64.rpm In binder_transaction_buffer_release of binder.c, there is a possible use after free due to improper input validation. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-257685302References: Upstream kernel 2023-03-17 CVE-2023-20938 openEuler-20.03-LTS-SP3 High 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H kernel security update 2023-03-17 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1174 There is a use-after-free vulnerability in the Linux Kernel which can be exploited to achieve local privilege escalation. To reach the vulnerability kernel configuration flag CONFIG_TLS or CONFIG_XFRM_ESPINTCP has to be configured, but the operation does not require any privilege. There is a use-after-free bug of icsk_ulp_data of a struct inet_connection_sock. When CONFIG_TLS is enabled, user can install a tls context (struct tls_context) on a connected tcp socket. The context is not cleared if this socket is disconnected and reused as a listener. If a new socket is created from the listener, the context is inherited and vulnerable. The setsockopt TCP_ULP operation does not require any privilege. We recommend upgrading past commit 2c02d41d71f90a5168391b6a5f2954112ba2307c 2023-03-17 CVE-2023-0461 openEuler-20.03-LTS-SP3 High 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H kernel security update 2023-03-17 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1174 A flaw in the Linux Kernel found. Fail if no bound addresses can be used for a given scope. A type confusion can happen in inet_diag_msg_sctpasoc_fill() in net/sctp/diag.c, which uses a type confused pointer to return information to userspace when issuing a list_entry() on asoc->base.bind_addr.address_list.next when the list is empty.References:https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=458e279f861d3f61796894cd158b780765a1569fhttps://www.openwall.com/lists/oss-security/2023/01/23/1 2023-03-17 CVE-2023-1074 openEuler-20.03-LTS-SP3 Medium 4.7 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H kernel security update 2023-03-17 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1174 A flaw found in the Linux Kernel in RDS (Reliable Datagram Sockets) protocol. The rds_rm_zerocopy_callback() uses list_entry() on the head of a list causing a type confusion. Local user can trigger this with rds_message_put(). Type confusion leads to `struct rds_msg_zcopy_info *info` actually points to something else that is potentially controlled by local user.It is known how to trigger this, which causes an OOB access, and a lock corruption.Reference:https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f753a68980cf4b59a80fe677619da2b1804f526d 2023-03-17 CVE-2023-1078 openEuler-20.03-LTS-SP3 High 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H kernel security update 2023-03-17 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1174 A flaw found in the Linux Kernel. The tun/tap sockets have their socket UID hardcoded to 0 due to a type confusion in their initialization function.While it will be often correct, as tuntap devices require CAP_NET_ADMIN, it may not always be the case, e.g., a non-root user only having that capability.This would make tun/tap sockets being incorrectly treated in filtering/routing decisions, possibly bypassing network filters.References:https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=66b2c338adce580dfce2199591e65e2bab889cffhttps://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a096ccca6e503a5c575717ff8a36ace27510ab0a 2023-03-17 CVE-2023-1076 openEuler-20.03-LTS-SP3 Medium 4.7 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N kernel security update 2023-03-17 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1174 A flaw use after free in the Linux kernel integrated infrared receiver/transceiver driver was found in the way user detaching rc device. A local user could use this flaw to crash the system or potentially escalate their privileges on the system. 2023-03-17 CVE-2023-1118 openEuler-20.03-LTS-SP3 High 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H kernel security update 2023-03-17 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1174 In the Linux kernel before 6.1.13, there is a double free in net/mpls/af_mpls.c upon an allocation failure (for registering the sysctl table under a new location) during the renaming of a device. 2023-03-17 CVE-2023-26545 openEuler-20.03-LTS-SP3 High 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H kernel security update 2023-03-17 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1174