Red Hat Security Advisory: kpatch-patch security update
🔗 CVE IDs covered (3)
📋 Description
CVE-2023-0461 — kernel: net/ulp: use-after-free in listening ULP sockets CVE-2023-2008 — kernel: udmabuf: improper validation of array index leading to local privilege escalation CVE-2023-32233 — kernel: netfilter: use-after-free in nf_tables when processing batch requests can lead to privilege escalation
🎯 Affected products43
- Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_30_1-0:1-6.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_30_1-0:1-6.el9_0.src as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_30_1-0:1-6.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_30_1-debuginfo-0:1-6.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_30_1-debuginfo-0:1-6.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_30_1-debugsource-0:1-6.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_30_1-debugsource-0:1-6.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_36_1-0:1-5.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_36_1-0:1-5.el9_0.src as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_36_1-0:1-5.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_36_1-debuginfo-0:1-5.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_36_1-debuginfo-0:1-5.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_36_1-debugsource-0:1-5.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_36_1-debugsource-0:1-5.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_43_1-0:1-4.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_43_1-0:1-4.el9_0.src as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_43_1-0:1-4.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_43_1-debuginfo-0:1-4.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_43_1-debuginfo-0:1-4.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_43_1-debugsource-0:1-4.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_43_1-debugsource-0:1-4.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_49_1-0:1-3.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_49_1-0:1-3.el9_0.src as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_49_1-0:1-3.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_49_1-debuginfo-0:1-3.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_49_1-debuginfo-0:1-3.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_49_1-debugsource-0:1-3.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_49_1-debugsource-0:1-3.el9_0.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- kpatch-patch-5_14_0-70_50_2-0:1-2.el9_0.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0)
- +13 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 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. 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 (6)
- selfhttps://access.redhat.com/errata/RHSA-2023:3490
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2176192
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2186862
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2196105
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3490.json