Red Hat Security Advisory: kernel-rt security and bug fix update
🔗 CVE IDs covered (11)
📋 Description
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-41858 — kernel: null-ptr-deref vulnerabilities in sl_tx_timeout in drivers/net/slip 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-3611 — kernel: net/sched: sch_qfq component can be exploited if in qfq_change_agg function happens qfq_enqueue overhead CVE-2023-4459 — kernel: vmxnet3: NULL pointer dereference in vmxnet3_rq_cleanup() CVE-2023-6817 — kernel: inactive elements in nft_pipapo_walk CVE-2023-7192 — kernel: refcount leak in ctnetlink_create_conntrack() CVE-2023-31436 — kernel: out-of-bounds write in qfq_change_class function CVE-2024-0646 — kernel: ktls overwrites readonly memory pages when using function splice with a ktls socket as destination
🎯 Affected products32
- Red Hat Enterprise Linux NFV TUS (v.8.4)
- Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-0:4.18.0-305.125.1.rt7.201.el8_4.src as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-0:4.18.0-305.125.1.rt7.201.el8_4.src as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-core-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-core-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-debug-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-debug-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-debug-core-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-debug-core-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-debug-debuginfo-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-debug-debuginfo-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-debug-devel-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-debug-devel-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-debug-kvm-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-debug-modules-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-debug-modules-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-debug-modules-extra-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-debug-modules-extra-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-debuginfo-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-debuginfo-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-debuginfo-common-x86_64-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-debuginfo-common-x86_64-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-devel-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-devel-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- kernel-rt-kvm-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-modules-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux NFV TUS (v.8.4)
- kernel-rt-modules-0:4.18.0-305.125.1.rt7.201.el8_4.x86_64 as a component of Red Hat Enterprise Linux RT TUS (v.8.4)
- +2 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: 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: This flaw can be mitigated by preventing the affected slip driver from loading during the boot time, and ensuring 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: 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: Mitigation for this issue is to skip loading the affected module sch_qfq 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 the boot time. ~~~ How do I blacklist a kernel module to prevent it from loading automatically? https://access.redhat.com/solutions/41278 ~~~ 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: In order to trigger the issue, it 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. 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: To mitigate this issue, prevent the module, sch_qfq from being loaded. Please see https://access.redhat.com/solutions/41278 for information on how to blacklist a kernel module to prevent it from loading automatically. 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 (14)
- selfhttps://access.redhat.com/errata/RHSA-2024:1382
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2133452
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2144379
- 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=2192671
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2219268
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2225191
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2253908
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2255139
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2256279
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_1382.json