CVE-2008-4302
published 2008-09-29CVE-2008-4302: 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…
PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EXPLOIT
EPSS
0.62%
45.0th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| linux | linux_kernel | < 2.6.22.2 | 2.6.22.2 |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.9MEDIUMAV:L/AC:L/Au:N/C:N/I:N/A:C
vendor_redhat5.5MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: splice: fix bad unlock_page() in error case
vendor_redhat·2007-07-20·CVSS 5.5
CVE-2008-4302 [MEDIUM] kernel: splice: fix bad unlock_page() in error case
kernel: splice: fix bad unlock_page() in error case
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.
Statement: This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 2.1, 3, 4, and Red Hat Enterprise MRG.
GHSA
GHSA-vxc2-696q-6c9j: fs/splice
ghsa_unreviewed·2022-05-02
CVE-2008-4302 [MEDIUM] CWE-667 GHSA-vxc2-696q-6c9j: fs/splice
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.
No detection rules found.
CWE
Improper Handling of Exceptional Conditions
mitre_cwe·CVSS 7.5
[HIGH] CWE-755 Improper Handling of Exceptional Conditions
CWE-755: Improper Handling of Exceptional Conditions
The product does not handle or incorrectly handles an exceptional condition.
Modes of Introduction:
Phase: Implementation
Note: REALIZATION: This weakness is caused during implementation of an architectural security tactic.
Common Consequences:
Scope: Other. Impact: Other.
Detection Methods:
Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the d
CWE
Unlock of a Resource that is not Locked
mitre_cwe·CVSS 5.5
[MEDIUM] CWE-832 Unlock of a Resource that is not Locked
CWE-832: Unlock of a Resource that is not Locked
The product attempts to unlock a resource that is not locked.
Depending on the locking functionality, an unlock of a non-locked resource might cause memory corruption or other modification to the resource (or its associated metadata that is used for tracking locks).
Modes of Introduction:
Phase: Implementation
Common Consequences:
Scope: Integrity, Confidentiality, Availability, Other. Impact: DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Modify Memory, Other. Depending on the locking being used, an unlock operation might not have any adverse effects. When effects exist, the most common consequence will be a corruption of the state of the product, possibly leading to a crash or exit; depending on the implementation
CWE
Improper Locking
mitre_cwe
CWE-667 Improper Locking
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.
Locking is a type of synchronization behavior that ensures that multiple independently-operating processes or threads do not interfere with each other when accessing the same resource. All processes/threads are expected to follow the same steps for locking. If these steps are not followed precisely - or if no locking is done at all - then another process/thread could modify the shared resource in a way that is not visible or predictable to the original process. This can lead to data or memory corruption, denial of service, etc.
Modes of Introduction:
Phase: Architecture and Design
Phase: Implementation
Common Consequences:
Scope: A
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=6a860c979b35469e4d77da781a96bdb2ca05ae64http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22.2http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.htmlhttp://lkml.org/lkml/2007/7/20/168http://secunia.com/advisories/32237http://secunia.com/advisories/32485http://secunia.com/advisories/32759http://www.debian.org/security/2008/dsa-1653http://www.juniper.net/security/auto/vulnerabilities/vuln31201.htmlhttp://www.openwall.com/lists/oss-security/2008/09/16/10http://www.redhat.com/support/errata/RHSA-2008-0957.htmlhttp://www.securityfocus.com/bid/31201https://bugzilla.redhat.com/show_bug.cgi?id=462434https://exchange.xforce.ibmcloud.com/vulnerabilities/45191https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10547http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=6a860c979b35469e4d77da781a96bdb2ca05ae64http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22.2http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.htmlhttp://lkml.org/lkml/2007/7/20/168http://secunia.com/advisories/32237http://secunia.com/advisories/32485http://secunia.com/advisories/32759http://www.debian.org/security/2008/dsa-1653http://www.juniper.net/security/auto/vulnerabilities/vuln31201.htmlhttp://www.openwall.com/lists/oss-security/2008/09/16/10http://www.redhat.com/support/errata/RHSA-2008-0957.htmlhttp://www.securityfocus.com/bid/31201https://bugzilla.redhat.com/show_bug.cgi?id=462434https://exchange.xforce.ibmcloud.com/vulnerabilities/45191https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10547
2008-09-29
Published