Red Hat Security Advisory: kpatch-patch security update
🔗 CVE IDs covered (3)
📋 Description
CVE-2023-3609 — kernel: net/sched: cls_u32 component reference counter leak if tcf_change_indev() fails CVE-2023-32233 — kernel: netfilter: use-after-free in nf_tables when processing batch requests can lead to privilege escalation CVE-2023-35001 — kernel: nf_tables: stack-out-of-bounds-read in nft_byteorder_eval()
🎯 Affected products26
- Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_88_1-0:1-3.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_88_1-0:1-3.el7.src as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_88_1-0:1-3.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_88_1-debuginfo-0:1-3.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_88_1-debuginfo-0:1-3.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_90_1-0:1-3.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_90_1-0:1-3.el7.src as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_90_1-0:1-3.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_90_1-debuginfo-0:1-3.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_90_1-debuginfo-0:1-3.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_92_1-0:1-3.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_92_1-0:1-3.el7.src as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_92_1-0:1-3.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_92_1-debuginfo-0:1-3.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_92_1-debuginfo-0:1-3.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_95_1-0:1-2.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_95_1-0:1-2.el7.src as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_95_1-0:1-2.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_95_1-debuginfo-0:1-2.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_95_1-debuginfo-0:1-2.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_99_1-0:1-1.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_99_1-0:1-1.el7.src as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_99_1-0:1-1.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_99_1-debuginfo-0:1-1.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- kpatch-patch-3_10_0-1160_99_1-debuginfo-0:1-1.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
✅ 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 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: 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. Workaround: To mitigate this issue, it is possible to prevent the affected code from being loaded by blacklisting the kernel netfilter module. For instructions relating to how to blacklist a kernel module refer to: https://access.redhat.com/solutions/41278
🔗 References (6)
- selfhttps://access.redhat.com/errata/RHSA-2023:5574
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2196105
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2220892
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2225201
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_5574.json