{"schema_version":"1.7.2","id":"OESA-2023-1157","modified":"2023-03-10T11:05:02Z","published":"2023-03-10T11:05:02Z","upstream":["CVE-2023-0240","CVE-2023-0615","CVE-2023-0045","CVE-2023-23586"],"summary":"kernel security update","details":"The Linux Kernel, the operating system core itself.\r\n\r\nSecurity Fix(es):\r\n\r\nThere is a logic error in io_uring\u0026apos;s implementation which can be used to trigger a use-after-free vulnerability leading to privilege escalation. In the io_prep_async_work function the assumption that the last io_grab_identity call cannot return false is not true, and in this case the function will use the init_cred or the previous linked requests identity to do operations instead of using the current identity. This can lead to reference counting issues causing use-after-free. We recommend upgrading past version 5.10.161.(CVE-2023-0240)\r\n\r\nA memory leak flaw and potential divide by zero and Integer overflow was found in the Linux kernel V4L2 and vivid test code functionality. This issue occurs when a user triggers ioctls, such as VIDIOC_S_DV_TIMINGS ioctl. This could allow a local user to crash the system if vivid test code enabled.(CVE-2023-0615)\r\n\r\nThe Linux kernel does not correctly mitigate SMT attacks, as discovered\nthrough a strange pattern in the kernel API using STIBP as a mitigation[1\n\u0026lt;https://docs.kernel.org/userspace-api/spec_ctrl.html\u0026gt;], leaving the\nprocess exposed for a short period of time after a syscall. The kernel also\ndoes not issue an IBPB immediately during the syscall.\nThe ib_prctl_set [2\n\u0026lt;https://elixir.bootlin.com/linux/v5.15.56/source/arch/x86/kernel/cpu/bugs.c#L1467\u0026gt;]function\nupdates the Thread Information Flags (TIFs) for the task and updates the\nSPEC_CTRL MSR on the function __speculation_ctrl_update [3\n\u0026lt;https://elixir.bootlin.com/linux/v5.15.56/source/arch/x86/kernel/process.c#L557\u0026gt;],\nbut the IBPB is only issued on the next schedule, when the TIF bits are\nchecked. This leaves the victim vulnerable to values already injected on\nthe BTB, prior to the prctl syscall.\nThe behavior is only corrected after a reschedule of the task happens.\nFurthermore, the kernel entrance (due to the syscall itself), does not\nissue an IBPB in the default scenarios (i.e., when the kernel protects\nitself via retpoline or eIBRS).(CVE-2023-0045)\r\n\r\nDue to a vulnerability in the io_uring subsystem, it is possible to leak kernel memory information to the user process. timens_install calls current_is_single_threaded to determine if the current process is single-threaded, but this call does not consider io_uring\u0026apos;s io_worker threads, thus it is possible to insert a time namespace\u0026apos;s vvar page to process\u0026apos;s memory space via a page fault. When this time namespace is destroyed, the vvar page is also freed, but not removed from the process\u0026apos; memory, and a next page allocated by the kernel will be still available from the user-space process and can leak memory contents via this (read-only) use-after-free vulnerability. We recommend upgrading past version 5.10.161 or commit 788d0824269bef539fe31a785b1517882eafed93 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/io_uring(CVE-2023-23586)","affected":[{"package":{"ecosystem":"openEuler:22.03-LTS-SP1","name":"kernel","purl":"pkg:rpm/openEuler/kernel\u0026distro=openEuler-22.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.0-136.21.0.97.oe2203sp1"}]}],"ecosystem_specific":{"aarch64":["python3-perf-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","kernel-tools-devel-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","perf-debuginfo-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","kernel-tools-debuginfo-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","kernel-headers-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","kernel-debuginfo-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","kernel-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","kernel-debugsource-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","kernel-devel-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","python3-perf-debuginfo-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","kernel-tools-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","kernel-source-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","bpftool-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","perf-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm","bpftool-debuginfo-5.10.0-136.21.0.97.oe2203sp1.aarch64.rpm"],"src":["kernel-5.10.0-136.21.0.97.oe2203sp1.src.rpm"],"x86_64":["perf-debuginfo-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","bpftool-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","kernel-source-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","kernel-devel-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","perf-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","kernel-headers-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","kernel-debuginfo-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","python3-perf-debuginfo-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","kernel-debugsource-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","kernel-tools-devel-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","python3-perf-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","kernel-tools-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","kernel-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","bpftool-debuginfo-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm","kernel-tools-debuginfo-5.10.0-136.21.0.97.oe2203sp1.x86_64.rpm"]}}],"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1157"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0240"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0615"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0045"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23586"}],"database_specific":{"severity":"High"}}