1. CVE archive
  2. 2006
  3. CVE-2006-4342

CVE-2006-4342

5.5 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 5.5 – Medium

Description

The kernel in Red Hat Enterprise Linux 3, when running on SMP systems, allows local users to cause a denial of service (deadlock) by running the shmat function on an shm at the same time that shmctl is removing that shm (IPC_RMID), which prevents a spinlock from being unlocked.

Affected products

VendorProductVersionPlatform
redhat enterprise linux 3.0 –
All 2,771 Redhat Enterprise Linux vulnerabilities

Vulnerability type

CWE-667 Improper Locking

The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.

Impact on systems

ScopeImpact
Availability DoS: Resource Consumption (CPU)
Inconsistent locking discipline can lead to deadlock.
Integrity Modify Memory, Modify Application Data
This can lead to data or memory corruption.
Other Varies by Context, Unexpected State
This can lead to unexpected resource state changes and behaviors.

How to prevent it

Implementation · Libraries or Frameworks Use industry standard APIs to implement locking mechanism.

All 742 CWE-667 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org