Linux Kernel CEC Use-After-Free Fixed in Red Hat Enterprise Linux
Patch & Detection Intelligence · 2 sources · Updated 3mo ago · First seen Sep 24, 2024

A use-after-free vulnerability in the Linux kernel Consumer Electronics Control (CEC) subsystem, tracked as CVE-2024-23848, can occur in cec_queue_msg_fh through a race condition in the CEC ioctl path. Kernel fuzzing showed one thread could continue accessing a struct cec_fh message queue after another thread freed the object, producing a reproducible KASAN slab-use-after-free crash. Related testing also exposed a task hang, warnings, and a general-protection fault, with several issues suspected to share a locking-related cause.
Red Hat rated CVE-2024-23848 as moderate severity with a CVSS 3.1 score of 6.7, citing potential confidentiality, integrity, and availability effects; NVD and CVE.org assigned 5.5, primarily for availability impact. Fixes were released for standard and real-time kernels in RHEL 8 and for the standard RHEL 9 kernel, including RHEL 9.4 Extended Update Support. RHEL 6, RHEL 7, and RHEL 7 kernel-rt are unaffected, while the RHEL 9 real-time kernel is listed as will not fix.
Why it matters
Summary
CVE-2024-23848 is a locally exploitable use-after-free flaw in the Linux kernel CEC subsystem that can crash affected RHEL hosts and may permit memory corruption if an attacker already has local access and can interact with a CEC device node. Exposure is limited to systems running affected RHEL 8 or RHEL 9 standard kernels, or RHEL 8 kernel-rt, with CEC functionality present; it is not an internet-reachable flaw by itself.
Supporting details
- Affected populations: RHEL 8 standard-kernel systems, RHEL 8 kernel-rt systems, RHEL 9 standard-kernel systems, and RHEL 9.4 EUS systems that have not applied the listed kernel fixes.
- Operational impact: reproducible kernel slab-use-after-free crashes and associated task hangs can produce denial of service or host instability.
- Security impact: Red Hat assesses potential confidentiality, integrity, and availability impact from local exploitation. Use-after-free conditions can enable memory disclosure, memory corruption, or code execution depending on object reuse and attacker control.
- Scope: targeted/local exposure rather than widespread remote exposure. Exploitation requires local access and access to the vulnerable CEC ioctl path.
- Known exploitation: the supplied references report fuzzing-based discovery and a Syzkaller reproducer; they do not report exploitation in the wild.
- Not affected: RHEL 6, RHEL 7, and RHEL 7 kernel-rt.
- Unsupported remediation status: RHEL 9 kernel-rt is listed by Red Hat as will not fix.


