← All Advisories
Reported from OT-Advisories.com as of

CVE-2025-71274

Last refreshed2026-10-15

Status: UPDATED  |  Advisory ID: CVE-2025-71274

Key Details

CVECVE-2025-71274
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-10-14
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'))

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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

rpmsg: core: fix race in driver_override_show() and use core helper

The driver_override_show function reads the driver_override string

without holding the device_lock. However, the store function modifies

and frees the string while holding the device_lock. This creates a race

condition where the string can be freed by the store function while

being read by the show function, leading to a use-after-free.

To fix this, replace the rpmsg_string_attr macro with explicit show and

store functions. The new driver_override_store uses the standard

driver_set_override helper. Since the introduction of

driver_set_override, the comments in include/linux/rpmsg.h have stated

that this helper must be used to set or clear driver_override, but the

implementation was not updated until now.

Because driver_set_override modifies and frees the string while holding

the device_lock, the new driver_override_show now correctly holds the

device_lock during the read operation to prevent the race.

Additionally, since rpmsg_string_attr has only ever been used for

driver_override, removing the macro simplifies the code. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2025-71274
CVEhttps://www.cve.org/CVERecord?id=CVE-2025-71274
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.