Red Hat Security Advisory: kernel:5.14.0 security update
🔗 CVE IDs covered (7)
📋 Description
CVE-2024-27062 — kernel: nouveau: lock the client object tree. CVE-2024-41049 — kernel: filelock: fix potential use-after-free in posix_lock_inode CVE-2024-41064 — kernel: powerpc/eeh: avoid possible crash when edev->pdev changes CVE-2024-42124 — kernel: scsi: qedf: Make qedf_execute_tmf() non-preemptible CVE-2024-47675 — kernel: bpf: Fix use-after-free in bpf_uprobe_multi_link_attach() CVE-2024-49888 — kernel: bpf: Fix a sdiv overflow issue CVE-2024-50262 — kernel: bpf: Fix out-of-bounds write in trie_get_next_key()
🎯 Affected products200
- Red Hat CodeReady Linux Builder EUS (v.9.4)
- Red Hat Enterprise Linux AppStream EUS (v.9.4)
- Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- Red Hat Enterprise Linux Real Time EUS (v.9.4)
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4)
- bpftool-0:7.3.0-427.48.1.el9_4.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- bpftool-0:7.3.0-427.48.1.el9_4.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- bpftool-0:7.3.0-427.48.1.el9_4.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- bpftool-0:7.3.0-427.48.1.el9_4.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.aarch64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.ppc64le as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.s390x as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.x86_64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.x86_64 as a component of Red Hat Enterprise Linux Real Time EUS (v.9.4)
- bpftool-debuginfo-0:7.3.0-427.48.1.el9_4.x86_64 as a component of Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4)
- kernel-0:5.14.0-427.48.1.el9_4.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- kernel-0:5.14.0-427.48.1.el9_4.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- kernel-0:5.14.0-427.48.1.el9_4.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- kernel-0:5.14.0-427.48.1.el9_4.src as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- kernel-0:5.14.0-427.48.1.el9_4.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- kernel-64k-0:5.14.0-427.48.1.el9_4.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- kernel-64k-core-0:5.14.0-427.48.1.el9_4.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
- +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: Mitigation for this issue is either not available or the currently available options do not 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 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: Ensure the `kernel.unprivileged_bpf_disabled` sysctl is set to `1` to prevent unprivileged users from utilizing eBPF, thereby mitigating this flaw. To check the current setting: ```bash cat /proc/sys/kernel/unprivileged_bpf_disabled ``` To set it permanently, create or modify a sysctl configuration file: ```bash echo "kernel.unprivileged_bpf_disabled = 1" > /etc/sysctl.d/99-disable-unprivileged-bpf.conf sysctl -p /etc/sysctl.d/99-disable-unprivileged-bpf.conf ``` A system reboot may be required for the change to take full effect if the kernel module was already loaded with a different setting. Workaround: To mitigate this issue, ensure that unprivileged users are prevented from loading eBPF programs by setting the `kernel.unprivileged_bpf_disabled` sysctl to 1. This is the default configuration on Red Hat Enterprise Linux. To verify the current setting: `cat /proc/sys/kernel/unprivileged_bpf_disabled` If the value is 0, set it to 1 immediately using: `sudo sysctl -w kernel.unprivileged_bpf_disabled=1` To make this change persistent across reboots, add or modify the following line in `/etc/sysctl.d/99-sysctl.conf` (or a similar sysctl configuration file): `kernel.unprivileged_bpf_disabled = 1` Then, apply the changes: `sudo sysctl --system` Note that changes to sysctl parameters take effect immediately but may require a system reboot for full application in some scenarios, especially if the vulnerable kernel module was already loaded with the previous setting.
🔗 References (10)
- selfhttps://access.redhat.com/errata/RHSA-2024:10942
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2278387
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2300422
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2300439
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2301489
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2320254
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2320517
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2324892
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10942.json