Red Hat Kernel Updates Fix KVM, vmwgfx, nf_tables and Scheduler Flaws
Patch & Detection Intelligence · 40 sources · Updated 3mo ago · First seen Feb 21, 2024

Red Hat released Important-rated Linux kernel updates for RHEL 8 and RHEL 9, including RHEL 8.6 Extended Update Support, addressing numerous memory-safety, privilege-escalation, denial-of-service, and speculative-execution vulnerabilities. The updates cover flaws such as CVE-2024-1086, an nf_tables use-after-free vulnerability; CVE-2023-6546, a GSM multiplexing race condition that can enable privilege escalation; net/sched classifier issues CVE-2023-4128, CVE-2023-4206, CVE-2023-4207, and CVE-2023-4208; and Intel Gather Data Sampling (CVE-2022-40982).
The fixes also address CVE-2023-4155, a KVM double-fetch race affecting multi-vCPU AMD SEV-ES and SEV-SNP guests that could recursively invoke the VMGEXIT handler and exhaust kernel stack space. Red Hat noted that default CONFIG_VMAP_STACK protections mitigate the theoretical guest-to-host escape scenario on RHEL 8 and 9. Separate vmwgfx use-after-free flaws, CVE-2022-38457 and CVE-2022-40133, could allow a local user with DRM-device access to crash affected systems. Organizations should install the applicable kernel packages across supported architectures and reboot hosts to activate the fixes.
Why it matters
Impact assessment
Red Hat Enterprise Linux 7, 8, and 9 systems running affected kernel builds are exposed to kernel-level privilege escalation, host and guest denial of service, information disclosure, and potential operational disruption. Prioritize multi-user servers, container hosts, systems that permit untrusted local code, and hosts using nftables, KVM with AMD SEV-ES/SEV-SNP, or the VMware graphics driver.
- CVE-2024-1086 is the highest-priority issue: it is known exploited, enables local privilege escalation to root, and is in CISA's Known Exploited Vulnerabilities Catalog.
- Exposure is broad across RHEL standard, EUS, AUS, SAP, telecommunications, real-time, and extended-life-cycle channels; actual risk depends on installed kernel build and enabled modules/features.
- Container and shared-host environments have elevated risk because unprivileged namespace creation and Netfilter access can turn local footholds into host-level privilege escalation.
- KVM hosts running multi-vCPU AMD SEV-ES or SEV-SNP guests face guest-triggered denial-of-service risk from CVE-2023-4155. RHEL 8 and 9 enable
CONFIG_VMAP_STACKby default, mitigating the theoretical guest-to-host escape scenario but not eliminating the need to patch. - Systems with
vmwgfxloaded and accessible DRM devices can be crashed by local users through CVE-2022-38457, CVE-2022-40133, and CVE-2022-38096.
Affected entities and products
- Vendor: Red Hat
- Products: RHEL 7, RHEL 8, RHEL 9; selected EUS, AUS, SAP Solutions, TUS, Extended Life Cycle, CodeReady Linux Builder, and kernel-rt streams.
- Architectures cited: x86_64, aarch64, ppc64le, s390x; selected RHEL 7 offerings also include ppc64.
- Critical advisory examples: RHSA-2024:0930, RHSA-2024:1249, RHSA-2024:1253, RHSA-2024:2394, RHSA-2024:2697, RHSA-2024:3528, RHSA-2023:6583.
Technical details
The principal active threat is CVE-2024-1086, a known-exploited nf_tables use-after-free/double-free that can provide local root escalation. The referenced updates also address several local denial-of-service, memory-safety, speculative-execution, filesystem, network-stack, and virtualization flaws; no attacker IP addresses, domains, hashes, or other network IOCs were published.
Priority vulnerabilities
| CVE | Component | Impact and exploit mechanics | Severity / status |
|---|---|---|---|
| CVE-2024-1086 | Netfilter nf_tables; nft_verdict_init() | A crafted NF_DROP verdict uses a positive drop-error value resembling NF_ACCEPT; nf_hook_slow() can then trigger use-after-free and double-free behavior. Local privilege escalation is possible, particularly with user namespaces enabled and Netfilter in use. | CVSS 7.8: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; known exploited; CWE-416. Fixed upstream by f342de4e2f33e0e39165d8639387aa6c19dff660. |
| CVE-2023-6546 | GSM multiplexing | Race condition enabling local privilege escalation. | Important in relevant Red Hat advisories. |
| CVE-2023-4155 | KVM AMD SEV-ES / SEV-SNP | Multi-vCPU guest double-fetch race can recursively invoke the VMGEXIT handler and exhaust the host kernel stack, causing denial of service. A guest-to-host escape is theoretical without CONFIG_VMAP_STACK; RHEL 8/9 enable it by default. | Fixed in RHSA-2023:6583 for RHEL 9 and cited RHEL 8 errata. |
| CVE-2022-38457 | vmwgfx; vmw_cmd_res_check() | Local user with access to /dev/dri/card0 or /dev/dri/renderD128 can issue an ioctl and crash the host. | Use-after-free; denial of service. |
| CVE-2022-40133 | vmwgfx; vmw_execbuf_tie_context() | Local DRM-device ioctl access can trigger use-after-free and system crash. | Use-after-free; denial of service. |
| CVE-2022-38096 | vmwgfx; vmw_cmd_dx_define_query() | Local unprivileged DRM-device user can trigger NULL dereference and crash the system. | CVSS 5.5; CWE-476. |
| CVE-2023-4128, CVE-2023-4206, CVE-2023-4207, CVE-2023-4208 | net/sched classifiers | Use-after-free flaws in cls_fw, cls_u32, and cls_route. | Fixed by RHSA-2023:6583. |
| CVE-2022-40982 | Intel CPUs | Gather Data Sampling side-channel permits inference of sensitive data through speculative execution. | Hardware/CPU exposure; fixed by RHEL kernel mitigations. |
Additional relevant fixed issues
- CVE-2023-2163: eBPF verifier pruning can mark unsafe paths safe, allowing arbitrary kernel memory read/write, local escalation, and potential container escape.
- CVE-2023-3390:
nf_tablesnamed/anonymous-set batch-transaction use-after-free. - CVE-2024-0565: CIFS client input validation issue described by Red Hat as potentially enabling remote code execution.
- CVE-2023-6622:
nf_tablesNULL dereference causing denial of service; requiresCAP_NET_ADMINand user/network namespace creation. - CVE-2023-6040: out-of-bounds access in
nf_tables_newtable()when creating tables with invalid protocol-family values. - CVE-2024-26609 is rejected as a duplicate of CVE-2024-1086; track remediation under CVE-2024-1086.
Affected builds and remediation artifacts
- RHEL 8.6 EUS: RHSA-2024:0930 supplies
4.18.0-372.93.1.el8_6. - RHEL 8.2 AUS: RHSA-2024:3528 supplies
4.18.0-193.135.1.el8_2. - RHEL 8.6 specialized support channels: RHSA-2024:6753 supplies
4.18.0-372.123.1.el8_6. - RHEL 8.10: RHSA-2024:7000 supplies
4.18.0-553.22.1.el8_10; RHSA-2024:7001 supplies kernel-rt4.18.0-553.22.1.rt7.363.el8_10. - RHEL 7: RHSA-2024:1249 supplies
3.10.0-1160.114.2.el7. - RHEL 9.0 EUS: RHSA-2024:1253 provides live-patch packages for specified
5.14.0-70.*kernel builds on x86_64 and ppc64le. The kpatch module is automatically loaded after installation. - RHEL 8.8 supported channels: RHSA-2024:2697 provides live patches for
4.18.0-477.36.1and4.18.0-477.43.1.
Relevant MITRE ATT&CK mapping
- T1068 – Exploitation for Privilege Escalation: CVE-2024-1086, CVE-2023-6546, and eBPF verifier flaws.
- T1611 – Escape to Host: eBPF verifier container-escape exposure; theoretical KVM guest-to-host escape condition in configurations lacking stack guard pages.
- T1499 – Endpoint Denial of Service: KVM VMGEXIT recursion and vmwgfx crash conditions.
- T1005 – Data from Local System: potential kernel-memory disclosure through Intel GDS and out-of-bounds-read flaws.
Recommended response
Immediately identify and remediate hosts with vulnerable RHEL kernel builds, placing CVE-2024-1086 remediation ahead of routine maintenance because exploitation is confirmed. Apply the latest supported Red Hat kernel or applicable kpatch package, verify the fix is active, and reboot every system receiving a conventional kernel RPM update.
Priority actions
-
Patch and activate fixes.
- Inventory RHEL 7/8/9 systems, installed kernel versions, subscription channels, kernel-rt use, and live-patching coverage.
- Apply the latest kernel advisory supported by each registered channel rather than targeting only the minimum listed fixed version.
- Reboot after standard kernel RPM updates and confirm the running kernel changed with
uname -r. - For RHSA-2024:1253 and RHSA-2024:2697, verify the expected
kpatch-patchRPM is installed and the live patch is loaded. Maintain a scheduled full reboot because live patching does not replace normal lifecycle reboot requirements.
-
Contain CVE-2024-1086 where patching is delayed.
- If Netfilter/nftables is not required, prevent
nf_tablesfrom loading. - On non-containerized RHEL systems, set
user.max_user_namespaces=0as a temporary control. - Do not disable user namespaces on OpenShift or other container platforms without validating service impact; these platforms depend on namespace functionality.
- Prioritize shared jump hosts, CI/CD runners, developer systems, Kubernetes/OpenShift nodes, and multi-tenant workloads where untrusted or lower-privileged code can execute.
- If Netfilter/nftables is not required, prevent
-
Reduce feature-specific exposure.
- Identify
vmwgfxusage withlsmod | grep vmwgfxand DRM-device permissions withls -l /dev/dri/; blacklistvmwgfxwhere VMware graphics acceleration is unnecessary. - Identify KVM hosts operating AMD SEV-ES or SEV-SNP multi-vCPU guests. Patch these hosts urgently and confirm
CONFIG_VMAP_STACKis enabled in the running kernel configuration. - Review use of nftables, user namespaces, eBPF, GSM multiplexing, and CIFS client mounts on exposed systems; minimize unneeded modules and limit local access.
- Identify
Detection and hunting
- Hunt for unexpected creation or modification of nftables tables, chains, and rules, especially from processes running under unprivileged accounts, container runtimes, CI jobs, or user namespaces.
- Enable or review Linux Audit events for execution of
nft,iptables-nft,unshare,nsenter, and suspicious privilege transitions; correlate these with new root shells, unexpectedsetuidbinaries, modified/etc/sudoers, SSH authorized-key changes, or persistence created shortly afterward. - Monitor kernel logs for
nf_tables,nft_verdict_init, use-after-free, double-free, KASAN, kernel oops, or panic events. Such events are not proof of exploitation but warrant immediate incident review on an unpatched host. - Alert on non-administrative access to
/dev/dri/card*and/dev/dri/renderD*where no approved graphics workload requires it.
Longer-term hardening
- Enforce kernel-version compliance in configuration management and continuously report systems whose running kernel differs from the patched installed kernel.
- Restrict interactive local access and workload execution on infrastructure hosts; use least privilege for
CAP_NET_ADMIN, DRM devices, eBPF capability, and container runtime access. - Retire unsupported RHEL 7 systems or move them to supported, fully patched releases; out-of-support kernel versions must be treated as potentially vulnerable.


