1. CVE archive
  2. 2008
  3. CVE-2008-4302

CVE-2008-4302

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

fs/splice.c in the splice subsystem in the Linux kernel before 2.6.22.2 does not properly handle a failure of the add_to_page_cache_lru function, and subsequently attempts to unlock a page that was not locked, which allows local users to cause a denial of service (kernel BUG and system crash), as demonstrated by the fio I/O tool.

Affected products

VendorProductVersionPlatform
debian debian linux 4.0 –
linux linux kernel < 2.6.22.2 –
redhat enterprise linux 5.0 –
All 24,148 Linux Kernel 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