CVE-2024-35847

7.8 HIGH

📋 TL;DR

A double-free vulnerability in the Linux kernel's GIC-V3 interrupt controller allows local attackers to potentially crash the system or execute arbitrary code. This affects systems using ARM processors with GIC-V3 hardware and the affected kernel versions. Attackers need local access to exploit this vulnerability.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific affected versions not explicitly stated in CVE, but patches are available in stable kernel trees. Check git.kernel.org references for exact versions.
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with ARM processors using GIC-V3 interrupt controller hardware. x86 systems are not affected.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Local privilege escalation to kernel mode, system crash, or arbitrary code execution leading to complete system compromise.

🟠

Likely Case

Kernel panic leading to system crash and denial of service, requiring physical or remote console access to reboot.

🟢

If Mitigated

Minimal impact if proper access controls prevent local user access to vulnerable systems.

🌐 Internet-Facing: LOW - Requires local access to exploit, not directly reachable via network.
🏢 Internal Only: MEDIUM - Internal users with shell access could exploit to cause system instability or potentially gain elevated privileges.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires local access and ability to trigger specific error conditions in the GIC-V3 ITS driver. Exploitation would require understanding of kernel memory management.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Patches available in stable kernel trees (see git.kernel.org references)

Vendor Advisory: https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792

Restart Required: Yes

Instructions:

1. Identify your kernel version with 'uname -r'. 2. Update to a patched kernel version from your distribution's repositories. 3. Reboot the system to load the new kernel.

🔧 Temporary Workarounds

Restrict local user access

linux

Limit shell access to trusted users only to reduce attack surface

Review /etc/passwd and /etc/group for unnecessary users
Use sudo policies to restrict privileged access

🧯 If You Can't Patch

  • Implement strict access controls to prevent untrusted users from obtaining local shell access
  • Monitor system logs for kernel panics or unusual behavior related to interrupt handling

🔍 How to Verify

Check if Vulnerable:

Check kernel version and compare with patched versions in git.kernel.org references. Systems with ARM processors and GIC-V3 hardware are potentially vulnerable.

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version after update matches a patched version. Check dmesg for any GIC-V3 ITS related errors after system operation.

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages
  • Double-free detection in kernel logs
  • GIC-V3 ITS driver error messages

Network Indicators:

  • None - local vulnerability only

SIEM Query:

source="kernel" AND ("panic" OR "double free" OR "GIC-V3" OR "ITS")

🔗 References

📤 Share & Export