PT-2025-14596 · Linux+6 · Linux Kernel+6

Published

2025-02-18

·

Updated

2026-04-20

·

CVE-2025-22003

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A vulnerability has been resolved in the Linux kernel. The issue is related to an out of bound read in the strscpy() function. This occurred when the source buffer was not null-terminated, causing strscpy() to read one byte beyond the buffer's length. The root cause is that the source buffer is not null-terminated. The problem arose from a commit that replaced strncpy() with strscpy() in the ucan code.
Recommendations To resolve the issue, directly null-terminate the source buffer as soon as usb control msg() returns, eliminating the need for a local copy of the firmware string. Refactor ucan ctl payload->raw to ucan ctl payload->fw str and change its type from u8 to char, as it is only used for the firmware string. Rename ucan device request in() to ucan get fw str() and refactor it to handle the string termination logic directly. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2025-12647
ALT-PU-2025-5786
AZL-59826
BDU:2025-11624
CVE-2025-22003
MGASA-2025-0142
MGASA-2025-0146
OPENSUSE-SU-2025_01614-1
OPENSUSE-SU-2025_01707-1
SUSE-SU-2025:01614-1
SUSE-SU-2025:01707-1
SUSE-SU-2025:01919-1
SUSE-SU-2025:01951-1
SUSE-SU-2025:01964-1
SUSE-SU-2025:01967-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20206-1
SUSE-SU-2025:20270-1
SUSE-SU-2025:20283-1
SUSE-SU-2025_01614-1
SUSE-SU-2025_01707-1
SUSE-SU-2025_01951-1
SUSE-SU-2025_01964-1
SUSE-SU-2025_01967-1
USN-7605-1
USN-7605-2
USN-7606-1
USN-7628-1
USN-7764-1
USN-7764-2
USN-7765-1
USN-7766-1
USN-7767-1
USN-7767-2
USN-7779-1
USN-7790-1
USN-7800-1
USN-7801-1
USN-7801-2
USN-7801-3
USN-7802-1
USN-7809-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu