Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: accel/ivpu: Fix signed integer truncation in IPC receive Fix potential buffer overflow where firmware-supplied data_size is cast to signed int before being used in min_t(). Large unsigned values (>= 0x80000000) become negative, causing unsigned wraparound and oversized memcpy operations that can overflow the stack buffer. Change min_t(int, ...) to min() as both values are unsigned and can be handled by min() without explicit cast.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3b434a3445fff3149128db0169da864d67057325 before 4788556d4dd9d717037e385de178974e9649231d; affected 3b434a3445fff3149128db0169da864d67057325 before 45cb105b8642c65e9be286f7058e92314efe7ea3; affected 3b434a3445fff3149128db0169da864d67057325 before 2821bf2b79e47f87e1dbdd9d25c78240965a97d6; affected 3b434a3445fff3149128db0169da864d67057325 before d9faef564438d1e4579c692c046603e7ada7bdf4 |
| Linux / Linux | affected 6.8; unaffected 0 before 6.8; unaffected 6.12.94 through 6.12.*; unaffected 6.18.36 through 6.18.*; unaffected 7.0.13 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4788556d4dd9d717037e385de178974e9649231d
- https://git.kernel.org/stable/c/45cb105b8642c65e9be286f7058e92314efe7ea3
- https://git.kernel.org/stable/c/2821bf2b79e47f87e1dbdd9d25c78240965a97d6
- https://git.kernel.org/stable/c/d9faef564438d1e4579c692c046603e7ada7bdf4
ADP enrichment
A flaw was found in the Linux kernel's accel/ivpu component. A local attacker could exploit a signed integer truncation vulnerability in the Inter-Process Communication (IPC) receive path. This flaw occurs when a firmware-supplied data size is incorrectly converted, leading to an oversized memory copy operation that can overflow a kernel stack buffer. Successful exploitation could result in a denial of service through a kernel crash and potentially lead to privilege escalation.
No English description supplied.
No references supplied.