Red Hat Security Advisory: kernel security update
🔗 CVE IDs covered (11)
📋 Description
CVE-2022-38096 — kernel: vmwgfx: NULL pointer dereference in vmw_cmd_dx_define_query CVE-2023-4244 — kernel: Use-after-free in nft_verdict_dump due to a race between set GC and transaction CVE-2023-6546 — kernel: GSM multiplexing race condition leads to privilege escalation CVE-2023-6817 — kernel: inactive elements in nft_pipapo_walk CVE-2023-6931 — kernel: Out of boundary write in perf_read_group() as result of overflow a perf_event's read_size CVE-2023-51042 — kernel: use-after-free in amdgpu_cs_wait_all_fences in drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c CVE-2023-51043 — kernel: use-after-free during a race condition between a nonblocking atomic commit and a driver unload in drivers/gpu/drm/drm_atomic.c CVE-2023-52924 — kernel: netfilter: nf_tables: don't skip expired elements during walk CVE-2024-0193 — kernel: netfilter: use-after-free in nft_trans_gc_catchall_sync leads to privilege escalation CVE-2024-1085 — kernel: nf_tables: use-after-free vulnerability in the nft_setelem_catchall_deactivate() function CVE-2024-1086 — kernel: nf_tables: use-after-free vulnerability in the nft_verdict_init() function
🎯 Affected products200
- Red Hat CodeReady Linux Builder EUS (v.9.2)
- Red Hat Enterprise Linux AppStream EUS (v.9.2)
- Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- bpftool-0:7.0.0-284.55.1.el9_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- bpftool-0:7.0.0-284.55.1.el9_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- bpftool-0:7.0.0-284.55.1.el9_2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- bpftool-0:7.0.0-284.55.1.el9_2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.aarch64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.ppc64le as a component of Red Hat CodeReady Linux Builder EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.s390x as a component of Red Hat CodeReady Linux Builder EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.x86_64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
- bpftool-debuginfo-0:7.0.0-284.55.1.el9_2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-0:5.14.0-284.55.1.el9_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-0:5.14.0-284.55.1.el9_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-0:5.14.0-284.55.1.el9_2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-0:5.14.0-284.55.1.el9_2.src as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-0:5.14.0-284.55.1.el9_2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-64k-0:5.14.0-284.55.1.el9_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-64k-core-0:5.14.0-284.55.1.el9_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-64k-debug-0:5.14.0-284.55.1.el9_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-64k-debug-core-0:5.14.0-284.55.1.el9_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
- kernel-64k-debug-debuginfo-0:5.14.0-284.55.1.el9_2.aarch64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.2)
- kernel-64k-debug-debuginfo-0:5.14.0-284.55.1.el9_2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
- +170 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: 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: Mitigation for this issue is to skip loading the affected module "nftables" onto the system till we have a fix available, this can be done by a blacklist mechanism, this 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: 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: 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: 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: To mitigate this issue, prevent the amdgpu module from loading. Please see https://access.redhat.com/solutions/41278 for more information on how to prevent kernel modules from loading. Note that if a system has an AMD GPU, this may make certain features of that GPU unavailable. Workaround: To mitigate this issue, prevent module drm 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: 1. This flaw can be mitigated by preventing the affected netfilter (nf_tables) kernel module from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278. 2. If the module cannot be disabled, on non-containerized deployments of Red Hat Enterprise Linux, the mitigation is to disable user namespaces: ``` # 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 the second mitigation (disabling user namespaces) as the user namespaces are required for container functionality. The first mitigation (blacklisting nf_tables) is still viable for containerized deployments, providing the environment is not using netfilter. Workaround: 1. This flaw can be mitigated by preventing the affected netfilter (nf_tables) kernel module from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278. 2. If the module cannot be disabled, on non-containerized deployments of Red Hat Enterprise Linux, the mitigation is to disable user namespaces: ``` # 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 the second mitigation (disabling user namespaces) as the functionality is needed to be enabled. The first mitigation (blacklisting nf_tables) is still viable for containerized deployments, providing the environment is not using netfilter.
🔗 References (13)
- selfhttps://access.redhat.com/errata/RHSA-2024:1018
- 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=2235306
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2252731
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2255139
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2255498
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2255653
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2259866
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2260005
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2262126
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2262127
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_1018.json