accel/ivpu: Limit firmware log name prints to field size
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 95bf070f3225dc7175725438c916ad321d42fe45, Kernel 3d7130807009e9be6132c1394a2c7708a3ba39a7, Kernel 3d9365093f16b069908e610d17da172bf006bbde and 6 more.
In the Linux kernel, the following vulnerability has been resolved: accel/ivpu: Limit firmware log name prints to field size The name in struct vpu_tracing_buffer_header is a fixed-size array populated by the NPU firmware. It is expected to be NUL-terminated, but nothing on the host side enforces this, so printing it with an unbounded string conversion would read past the field if the terminator is ever missing and expose adjacent bytes of the shared tracing BO through dmesg and the debugfs FW log output. Print at most as many characters as the name field holds, so the output never runs past it even if the string is not NUL-terminated.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d4e4257afa6ed5205eda993180401fc2c20e4b60 <95bf070f3225dc7175725438c916ad321d42fe45, >=d4e4257afa6ed5205eda993180401fc2c20e4b60 <3d7130807009e9be6132c1394a2c7708a3ba39a7, >=d4e4257afa6ed5205eda993180401fc2c20e4b60 <3d9365093f16b069908e610d17da172bf006bbde, >=d4e4257afa6ed5205eda993180401fc2c20e4b60 <5d06257359c9006a208fece9eb7f0a0e83e0cc92, >=d4e4257afa6ed5205eda993180401fc2c20e4b60 <6dbba89df4e842d226f5cd3dbc5e94533cfceea2, =6.6 | 95bf070f3225dc7175725438c916ad321d42fe45, 3d7130807009e9be6132c1394a2c7708a3ba39a7, 3d9365093f16b069908e610d17da172bf006bbde, 5d06257359c9006a208fece9eb7f0a0e83e0cc92, 6dbba89df4e842d226f5cd3dbc5e94533cfceea2 |
| linux-kernel: Kernel | >=6.19.0 <7.2.7, >=6.6.0 <6.6.160, >=6.7.0 <6.12.111, >=6.13.0 <6.18.53 | 7.2.7, 6.6.160, 6.12.111, 6.18.53 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket