Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d4e4257afa6ed5205eda993180401fc2c20e4b60 to < 3d9365093f16b069908e610d17da172bf006bbdeaffectedd4e4257afa6ed5205eda993180401fc2c20e4b60 to < 6dbba89df4e842d226f5cd3dbc5e94533cfceea2affectedd4e4257afa6ed5205eda993180401fc2c20e4b60 to < 5d06257359c9006a208fece9eb7f0a0e83e0cc92affectedd4e4257afa6ed5205eda993180401fc2c20e4b60 to < 3d7130807009e9be6132c1394a2c7708a3ba39a7affectedd4e4257afa6ed5205eda993180401fc2c20e4b60 to < 95bf070f3225dc7175725438c916ad321d42fe45affected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.6.160 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3d9365093f16b069908e610d17da172bf006bbde ↗
- https://git.kernel.org/stable/c/6dbba89df4e842d226f5cd3dbc5e94533cfceea2 ↗
- https://git.kernel.org/stable/c/5d06257359c9006a208fece9eb7f0a0e83e0cc92 ↗
- https://git.kernel.org/stable/c/3d7130807009e9be6132c1394a2c7708a3ba39a7 ↗
- https://git.kernel.org/stable/c/95bf070f3225dc7175725438c916ad321d42fe45 ↗