accel/ivpu: Limit firmware log name prints to field size
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.111, 6.18.53, 7.2.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From d4e4257afa6ed5205eda993180401fc2c20e4b60 · fixed in 3d9365093f16b069908e610d17da172bf006bbde; From d4e4257afa6ed5205eda993180401fc2c20e4b60 · fixed in 6dbba89df4e842d226f5cd3dbc5e94533cfceea2; From d4e4257afa6ed5205eda993180401fc2c20e4b60 · fixed in 5d06257359c9006a208fece9eb7f0a0e83e0cc92; From d4e4257afa6ed5205eda993180401fc2c20e4b60 · fixed in 3d7130807009e9be6132c1394a2c7708a3ba39a7; From d4e4257afa6ed5205eda993180401fc2c20e4b60 · fixed in 95bf070f3225dc7175725438c916ad321d42fe45
- Linux Linux
6.6
- KernelLinux
From 6.6.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7