Red Hat Security Advisory: kernel security and bug fix update
🔗 CVE IDs covered (21)
📋 Description
CVE-2022-0480 — kernel: memcg does not limit the number of POSIX file locks allowing memory exhaustion CVE-2022-3545 — kernel: nfp: use-after-free in area_cache_get() CVE-2022-38096 — kernel: vmwgfx: NULL pointer dereference in vmw_cmd_dx_define_query CVE-2022-40982 — hw: Intel: Gather Data Sampling (GDS) side channel vulnerability CVE-2023-1192 — kernel: use-after-free in smb2_is_status_io_timeout() CVE-2023-2163 — kernel: bpf: Incorrect verifier pruning leads to unsafe code paths being incorrectly marked as safe CVE-2023-2166 — kernel: NULL pointer dereference in can_rcv_filter CVE-2023-2176 — kernel: Slab-out-of-bound read in compare_netdev_and_ip CVE-2023-3268 — kernel: out-of-bounds access in relay_file_read CVE-2023-3390 — kernel: UAF in nftables when nft_set_lookup_global triggered after handling named and anonymous sets in batch requests CVE-2023-3609 — kernel: net/sched: cls_u32 component reference counter leak if tcf_change_indev() fails CVE-2023-4459 — kernel: vmxnet3: NULL pointer dereference in vmxnet3_rq_cleanup() CVE-2023-4622 — kernel: use after free in unix_stream_sendpage CVE-2023-5717 — kernel: A heap out-of-bounds write when function perf_read_group is called and sibling_list is smaller than its child's sibling_list CVE-2023-6546 — kernel: GSM multiplexing race condition leads to privilege escalation CVE-2023-6932 — kernel: use-after-free in IPv4 IGMP CVE-2023-7192 — kernel: refcount leak in ctnetlink_create_conntrack() CVE-2023-38409 — kernel: fbcon: out-of-sync arrays in fbcon_mode_deleted due to wrong con2fb_map assignment CVE-2023-40283 — kernel: use-after-free in l2cap_sock_release in net/bluetooth/l2cap_sock.c CVE-2024-0646 — kernel: ktls overwrites readonly memory pages when using function splice with a ktls socket as destination CVE-2024-26602 — kernel: sched/membarrier: reduce the ability to hammer on sys_membarrier
🎯 Affected products169
- Red Hat CodeReady Linux Builder EUS (v.9.0)
- Red Hat Enterprise Linux AppStream EUS (v.9.0)
- Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- bpftool-0:5.14.0-70.93.2.el9_0.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- bpftool-0:5.14.0-70.93.2.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- bpftool-0:5.14.0-70.93.2.el9_0.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- bpftool-0:5.14.0-70.93.2.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.aarch64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.ppc64le as a component of Red Hat CodeReady Linux Builder EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.s390x as a component of Red Hat CodeReady Linux Builder EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.x86_64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.0)
- bpftool-debuginfo-0:5.14.0-70.93.2.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-0:5.14.0-70.93.2.el9_0.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-0:5.14.0-70.93.2.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-0:5.14.0-70.93.2.el9_0.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-0:5.14.0-70.93.2.el9_0.src as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-0:5.14.0-70.93.2.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-abi-stablelists-0:5.14.0-70.93.2.el9_0.noarch as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-core-0:5.14.0-70.93.2.el9_0.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-core-0:5.14.0-70.93.2.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-core-0:5.14.0-70.93.2.el9_0.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-core-0:5.14.0-70.93.2.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kernel-debug-0:5.14.0-70.93.2.el9_0.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- +139 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Workaround: This flaw can be mitigated by preventing the affected Netronome Flow Processor (NFP) kernel module from loading during the boot time; ensure the module is added to the blacklist file. ~~~ Refer: How do I blacklist a kernel module to prevent it from loading automatically? https://access.redhat.com/solutions/41278 ~~~ Workaround: To mitigate this issue, it is possible to prevent the affected code from being loaded by blacklisting the vmwgfx kernel module. For instructions relating to blacklisting a kernel module, please see https://access.redhat.com/solutions/41278. Workaround: The vulnerability can be mitigated by installing the CPU microcode package microcode_ctl version 20230808. Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Workaround: The default Red Hat Enterprise Linux kernel prevents unprivileged users from being able to use eBPF by the kernel.unprivileged_bpf_disabled sysctl. This would require a privileged user with CAP_SYS_ADMIN or root to be able to abuse this flaw reducing its attack space. For Red Hat Enterprise Linux 8 to confirm the current state, inspect the sysctl with the command: # cat /proc/sys/kernel/unprivileged_bpf_disabled The setting of 1 would mean that unprivileged users can not use eBPF, mitigating the flaw. Workaround: To mitigate this issue, prevent module cls_u32 from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically. Workaround: In order to mitigate this issue, prevent the affected code from being loaded by blacklisting the kernel module "vmxnet3". For instructions relating to how to blacklist a kernel module refer to: https://access.redhat.com/solutions/41278 ~~~ Exploiting this flaw will require CAP_NET_ADMIN access privilege in any user or network namespace. ~~~ Workaround: Mitigation for this issue is either not available or currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Workaround: It is not possible to trigger this issue with the default kernel.perf_event_paranoid sysctl value 2. You may check it with: cat /proc/sys/kernel/perf_event_paranoid Workaround: This flaw can be mitigated by preventing the affected `n_gsm` kernel module from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278. Workaround: Triggering this issue requires the ability to create user/net namespaces. On non-containerized deployments of Red Hat Enterprise Linux 8, you can disable user namespaces by setting user.max_user_namespaces to 0: # echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf # sysctl -p /etc/sysctl.d/userns.conf On containerized deployments, such as Red Hat OpenShift Container Platform, do not use this mitigation as the functionality is needed to be enabled. Alternatively, skip loading the affected netfilter module (i.e., nf_conntrack_netlink) onto the system until we have a fix available. This can be done by a blacklist mechanism which will ensure the driver is not loaded at boot time. ~~~ How do I blacklist a kernel module to prevent it from loading automatically? https://access.redhat.com/solutions/41278 ~~~ Workaround: Mitigation for this issue is to skip loading the affected module "fbcon" onto the system until we have a fix available. This can be done by a blacklist mechanism and will ensure the driver is not loaded at boot time. ~~~ How do I blacklist a kernel module to prevent it from loading automatically? https://access.redhat.com/solutions/41278 ~~~ Workaround: To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.
🔗 References (25)
- selfhttps://access.redhat.com/errata/RHSA-2024:1250
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2049700
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2133452
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2154178
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2161310
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2187813
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2187931
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2213260
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2215502
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2219268
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2223949
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2225201
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2230042
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2230094
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2231800
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2237760
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2240249
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2246945
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2253908
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2255283
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2255498
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2256279
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2267695
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_1250.json