CVE-2025-71274Linux Kernel
Medium 4.7
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.7
- EPSS
- —
- Auth required
- Yes
- Published
- May 6, 2026
- Updated
- Oct 19, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-362
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≥ 4.18 < 5.10.252 |
| linux | linux_kernel | ≥ 5.11 < 5.15.202 |
| linux | linux_kernel | ≥ 5.16 < 6.1.165 |
| linux | linux_kernel | ≥ 6.2 < 6.6.128 |
| linux | linux_kernel | ≥ 6.7 < 6.12.75 |
| linux | linux_kernel | ≥ 6.13 < 6.18.16 |
| linux | linux_kernel | ≥ 6.19 < 6.19.6 |
Official advisories
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:23244-1 · Aug 18, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:23241-1 · Aug 18, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:23194-1 · Aug 18, 2026 Critical
Also: SUSE (+9)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch