PT-2025-27961 · Linux+5 · Linux Kernel+5

Published

2025-06-13

·

Updated

2026-02-20

·

CVE-2025-38186

CVSS v2.0

6.0

Medium

VectorAV:L/AC:H/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.15.0-rc1
Description: A vulnerability in the Linux kernel has been resolved, related to the bnxt en driver. The issue arises from the double invocation of bnxt ulp stop() and bnxt ulp start() functions, which can cause the RoCE driver's aux driver .suspend() method to be invoked twice, leading to a kernel NULL pointer dereference. This occurs when bnxt ulp restart() is called after bnxt ulp stop() has been invoked. The vulnerability can result in a system crash.
Recommendations: To resolve the issue, apply the patch that fixes the double invocation of bnxt ulp stop() and bnxt ulp start() functions. Specifically, check the BNXT EN FLAG ULP STOPPED flag and do not proceed if it is already set. Additionally, clear the BNXT EN FLAG ULP STOPPED flag after taking the mutex in bnxt ulp start() to avoid any race condition. Only proceed in bnxt ulp start() if the BNXT EN FLAG ULP STOPPED flag is set.

Exploit

Fix

NULL Pointer Dereference

Double Free

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

Weakness Enumeration

Related Identifiers

BDU:2025-09620
CVE-2025-38186
OPENSUSE-SU-2025:20081-1
SUSE-SU-2025:02853-1
SUSE-SU-2025:02997-1
SUSE-SU-2025:03011-1
SUSE-SU-2025:21074-1
SUSE-SU-2025:21139-1
SUSE-SU-2025:21179-1
SUSE-SU-2025_02853-1
SUSE-SU-2025_02997-1
SUSE-SU-2025_03011-1
USN-7833-1
USN-7833-2
USN-7833-3
USN-7833-4
USN-7834-1
USN-7856-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu