Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-38040

5.5 · MEDIUM
Published Jun 18, 2025 linux EPSS 0.17% (6th pctl)

Overview

CVE-2025-38040 is a medium-severity vulnerability affecting linux linux_kernel. It was published on June 18, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

serial: mctrl_gpio: split disable_ms into sync and no_sync APIs

The following splat has been observed on a SAMA5D27 platform using

atmel_serial:

BUG: sleeping function called from invalid context at kernel/irq/manage.c:738

in_atomic(): 1, irqs_disabled(): 128, non_block: 0, pid: 27, name: kworker/u5:0

preempt_count: 1, expected: 0

INFO: lockdep is turned off.

irq event stamp: 0

hardirqs last enabled at (0): [<00000000>] 0x0

hardirqs last disabled at (0): [<c01588f0>] copy_process+0x1c4c/0x7bec

softirqs last enabled at (0): [<c0158944>] copy_process+0x1ca0/0x7bec

softirqs last disabled at (0): [<00000000>] 0x0

CPU: 0 UID: 0 PID: 27 Comm: kworker/u5:0 Not tainted 6.13.0-rc7+ #74

Hardware name: Atmel SAMA5

Workqueue: hci0 hci_power_on [bluetooth]

Call trace:

unwind_backtrace from show_stack+0x18/0x1c

show_stack from dump_stack_lvl+0x44/0x70

dump_stack_lvl from __might_resched+0x38c/0x598

__might_resched from

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 6.1.141 Affected

Frequently Asked Questions

What is CVE-2025-38040?

CVE-2025-38040 is a medium-severity vulnerability affecting linux linux_kernel. It was published on June 18, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-38040?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38040?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38040?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-38040 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.