CVE Database›Document archive›CVE-2025-38004

CVE-2025-38004

kernel: can: bcm: add locking for bcm_op runtime updates

Loading…

Severity

Moderate

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · June 8, 2025

Updated · September 9, 2026

Description

A flaw was found in the Linux kernel's Controller Area Network (CAN) broadcast manager (BCM). Improper locking during runtime updates of internal counters in the bcm_can_tx() function allows a local attacker to trigger a slab-out-of-bounds read access. This vulnerability can lead to information disclosure or a denial of service (DoS) condition, potentially compromising system stability or sensitive data.

Statement

This Moderate vulnerability in the Linux kernel's CAN broadcast manager (CAN BCM) allows a local attacker to achieve a slab-out-of-bounds read. This flaw can be triggered from user space due to improper locking during runtime updates of the currframe counter within the bcm_can_tx() function.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CWE-125 · Out-of-bounds Read