Critical Buffer Overflow Vulnerability in Linux Kernel (CVE-2012-6712)

linux Updated 02 Oct 2025

Summary

27/07/2019
N/A
Yes i
Critical
9.8

CVE-2012-6712: In the Linux kernel before 3.4, a buffer overflow occurs in drivers/net/wireless/iwlwifi/iwl-agn-sta.c, which will cause at least memory corruption. Affects linux versions < 3.8.11-1. Fixed in 3.8.11-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It is widely used across various devices, from servers to embedded systems. The kernel's wireless networking drivers, particularly the iwlwifi driver, are crucial for enabling wireless communication. This vulnerability affects versions of the Linux kernel prior to 3.4, specifically in the iwl-agn-sta.c file, which can lead to severe security risks.

Vulnerability Detail

CVE-2012-6712 is a buffer overflow vulnerability found in the iwlwifi driver of the Linux kernel. This flaw allows an attacker to exploit memory corruption, potentially leading to unauthorized access, system crashes, or arbitrary code execution. The vulnerability arises from improper handling of input data, which can overflow the allocated buffer, causing unpredictable behavior in the system. The CVSS score for this vulnerability is 9.8, indicating a critical severity level.

How To Fix

Minimum fixed version

3.8.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If an immediate update is not feasible, consider disabling the iwlwifi driver temporarily until the system can be updated. This can be done by running the following command:

sudo modprobe -r iwlwifi

Conclusion

CVE-2012-6712 represents a critical buffer overflow vulnerability in the Linux kernel's iwlwifi driver, which can lead to severe security implications. It is essential to update the kernel to the fixed version to safeguard against potential exploits. Users should also consider using tools like Vulert to monitor and manage vulnerabilities in their software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2012-6712 is a buffer overflow vulnerability in the Linux kernel's iwlwifi driver that can lead to memory corruption and potential system compromise.

You can use the Vulert platform to check if your application is affected by this vulnerability. Simply upload your manifest file or use the Vulert playground without signup.

Exploitation of this vulnerability can lead to unauthorized access, system crashes, or arbitrary code execution, posing significant security risks.

Yes, the vulnerability is fixed in Linux kernel version 3.8.11-1 and later. It is recommended to update your kernel to this version or higher.

As a temporary measure, you can disable the iwlwifi driver to mitigate the risk until you can perform the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

3.8.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback