VYPR
Unrated severityNVD Advisory· Published Dec 31, 2005· Updated Jun 16, 2026

CVE-2005-4605

CVE-2005-4605

Description

The procfs code (proc_misc.c) in Linux 2.6.14.3 and other versions before 2.6.15 allows attackers to read sensitive kernel memory via unspecified vectors in which a signed value is added to an unsigned value.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

8
  • Linux/Kernel7 versions
    cpe:2.3:o:linux:linux_kernel:2.6.14.3:*:*:*:*:*:*:*+ 6 more
    • cpe:2.3:o:linux:linux_kernel:2.6.14.3:*:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.14:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.14:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.14:rc3:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.14:rc4:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.15:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.15:rc3:*:*:*:*:*:*
  • Range: <2.6.15

Patches

Vulnerability mechanics

Root cause

"A signed value is added to an unsigned value in the procfs code, leading to integer overflow and memory disclosure."

Attack vector

An attacker can read sensitive kernel memory by exploiting a flaw in the procfs code. This is achieved by providing specific input that triggers an integer overflow when a signed value is added to an unsigned value. The exploit code demonstrates seeking to a large offset in `/proc/uptime` to trigger this vulnerability and dump kernel memory to standard output [ref_id=1].

Affected code

The vulnerability resides in the procfs code, specifically within the file `fs/proc/proc_misc.c` [ref_id=2]. The issue arises from the calculation `len <= off+count`, where `off` is of type `off_t` (signed) and `count` is of type `int` (signed). This calculation is also present in other kernel modules, including those related to `ia64`, `ppc64`, and various `drivers/char` and `drivers/net` files [ref_id=2].

What the fix does

The advisory does not specify a patch or provide details on the fix. However, the vulnerability is described as occurring in Linux versions before 2.6.15. The root cause is the improper handling of signed and unsigned integer types during offset calculations in the procfs code, specifically in `fs/proc/proc_misc.c` [ref_id=2].

Preconditions

  • inputThe system must be running a vulnerable version of the Linux kernel (e.g., 2.6.14.3).

Reproduction

[+] Opened /proc/uptime. [+] Seek to offset 4294963199. [+] Read 4096 bytes, dumping to stdout... ...

Generated on Jun 2, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

22

News mentions

0

No linked articles in our index yet.