Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryendpoint-software-vulnerability

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

Linux Kernel CEC Use-After-Free Fixed in Red Hat Enterprise Linux

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.
Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Sep 24, 2024
  1. Reported Sep 24, 20242y ago

    Red Hat fixes CVE-2024-23848 for RHEL 9.4 EUS

    Red Hat released RHSA-2025:3510 to fix CVE-2024-23848 in the Red Hat Enterprise Linux 9.4 Extended Update Support kernel.

    CVE-2024-23848 - Red Hat Customer Portal
  2. Reported Sep 24, 20242y ago

    Red Hat releases RHEL 9 kernel fix for CVE-2024-23848

    Red Hat released RHSA-2024:9315 to fix CVE-2024-23848 in the Red Hat Enterprise Linux 9 kernel.

    CVE-2024-23848 - Red Hat Customer Portal
  3. Sep 24, 20242y ago

    Red Hat releases RHEL 8 kernel fixes for CVE-2024-23848

    Red Hat fixed the CVE-2024-23848 use-after-free vulnerability in the RHEL 8 standard kernel through RHSA-2024:7000 and in the RHEL 8 real-time kernel through RHSA-2024:7001.

    CVE-2024-23848 - Red Hat Customer Portal
  4. Reported Jan 18, 20243y ago

    Linux media maintainer identifies CEC locking issues

    Linux media maintainer Hans Verkuil said he had identified two issues, was investigating a third, and intended to submit patches for retesting. He assessed that several of the reported CEC crashes could share a locking-related root cause.

    Re: [Linux Kernel Bugs] KASAN: slab-use-after-free Read in cec_queue_msg_fh and 4 other crashes in the cec device (`cec_ioctl`) - Hans Verkuil
  5. Reported Jan 18, 20243y ago

    CEC ioctl fuzzing exposes use-after-free and other kernel crashes

    Researchers Chenyuan Yang, Zijie Zhao, and colleagues reported five crashes found by fuzzing the Linux kernel CEC device ioctl path, including a reproducible KASAN slab-use-after-free in cec_queue_msg_fh. They supplied a Syzkaller reproducer showing a race in which a struct cec_fh can be used after it is freed.

    Re: [Linux Kernel Bugs] KASAN: slab-use-after-free Read in cec_queue_msg_fh and 4 other crashes in the cec device (`cec_ioctl`) - Hans Verkuil
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.