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

Published

2025-02-17

·

Updated

2026-05-26

·

CVE-2025-38040

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 versions prior to 6.13.0-rc7+
Description A vulnerability in the Linux kernel has been resolved. The issue was observed on a SAMA5D27 platform using atmel serial, where a warning was emitted when trying to toggle flow control in a device driver. The warning was due to disable irq being possibly called in some atomic context. The vulnerability was caused by the serial mctrl gpio library being used by the atmel serial driver to enable/disable IRQs.
Recommendations For Linux kernel versions prior to 6.13.0-rc7+, update to a newer version to resolve the issue. As a temporary workaround, consider modifying the mctrl gpio disable ms function to split it into non-blocking and blocking APIs, depending on whether the call is protected by some port lock. Restrict access to the mctrl gpio disable ms function to minimize the risk of exploitation until a patch is available.

Exploit

Fix

Improper Initialization

Weakness Enumeration

Related Identifiers

AZL-64016
AZL-72751
BDU:2025-08793
CVE-2025-38040
DLA-4328-1
DSA-5973-1
ECHO-BA16-2481-60D6
OESA-2025-1959
OESA-2025-1960
OESA-2025-1961
SUSE-SU-2025:02249-1
SUSE-SU-2025:02254-1
SUSE-SU-2025:02307-1
SUSE-SU-2025:02333-1
SUSE-SU-2025:02335-1
SUSE-SU-2025:02538-1
SUSE-SU-2025:02846-1
SUSE-SU-2025:02923-1
SUSE-SU-2025:20475-1
SUSE-SU-2025:20483-1
SUSE-SU-2025:20493-1
SUSE-SU-2025:20498-1
SUSE-SU-2025_02249-1
SUSE-SU-2025_02254-1
SUSE-SU-2025_02307-1
SUSE-SU-2025_02333-1
SUSE-SU-2025_02335-1
SUSE-SU-2025_02538-1
SUSE-SU-2025_02846-1
USN-7769-1
USN-7769-2
USN-7769-3
USN-7770-1
USN-7771-1
USN-7789-1
USN-7789-2
USN-8028-1
USN-8028-2
USN-8028-3
USN-8028-4
USN-8028-5
USN-8028-6
USN-8028-7
USN-8028-8
USN-8031-1
USN-8031-2
USN-8031-3
USN-8052-1
USN-8052-2
USN-8074-1
USN-8074-2
USN-8126-1

Affected Products

Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu