7.8
HIGH CVSS 3.1
CVE-2025-71274
rpmsg: core: fix race in driver_override_show() and use core helper
Description

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.

INFO

Published Date :

May 6, 2026, 12:16 p.m.

Last Modified :

Oct. 19, 2026, 7:17 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-71274 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Fix race condition by acquiring device lock for attribute access.
  • Update the Linux kernel.
  • Ensure device_lock is held during attribute reads.
  • Use standard driver_set_override helper.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-71274 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-71274 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-71274 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-71274 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 19, 2026

    Action Type Old Value New Value
    Added CWE CWE-362
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 16, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/2e4a70f3c30910427e5ea848b799066d67b963d5
    Added Reference https://git.kernel.org/stable/c/392c6b68334aa0e0ae9aba95c0a366bcb0d92f5d
    Added Reference https://git.kernel.org/stable/c/42023d4b6d2661a40ee2dcf7e1a3528a35c638ca
    Added Reference https://git.kernel.org/stable/c/47615557447185917afa432b7958f87583c417cb
    Added Reference https://git.kernel.org/stable/c/7654e6e3cd6bdee9602f6063b3c670bd556d7e61
    Added Reference https://git.kernel.org/stable/c/90c8353f471821d7ccd4fe573a2402e056192494
    Added Reference https://git.kernel.org/stable/c/954557957177c3c13d7c655976665b1170da5e50
    Added Reference https://git.kernel.org/stable/c/d66b8074c555e8abb0ae19eea1c9f3635498bdde
    Removed Reference https://git.kernel.org/stable/c/2e4a70f3c30910427e5ea848b799066d67b963d5
    Removed Reference https://git.kernel.org/stable/c/392c6b68334aa0e0ae9aba95c0a366bcb0d92f5d
    Removed Reference https://git.kernel.org/stable/c/42023d4b6d2661a40ee2dcf7e1a3528a35c638ca
    Removed Reference https://git.kernel.org/stable/c/47615557447185917afa432b7958f87583c417cb
    Removed Reference https://git.kernel.org/stable/c/7654e6e3cd6bdee9602f6063b3c670bd556d7e61
    Removed Reference https://git.kernel.org/stable/c/90c8353f471821d7ccd4fe573a2402e056192494
    Removed Reference https://git.kernel.org/stable/c/954557957177c3c13d7c655976665b1170da5e50
    Removed Reference https://git.kernel.org/stable/c/d66b8074c555e8abb0ae19eea1c9f3635498bdde
    Removed Reference Type https://git.kernel.org/stable/c/2e4a70f3c30910427e5ea848b799066d67b963d5 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/392c6b68334aa0e0ae9aba95c0a366bcb0d92f5d Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/42023d4b6d2661a40ee2dcf7e1a3528a35c638ca Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/47615557447185917afa432b7958f87583c417cb Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/7654e6e3cd6bdee9602f6063b3c670bd556d7e61 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/90c8353f471821d7ccd4fe573a2402e056192494 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/954557957177c3c13d7c655976665b1170da5e50 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/d66b8074c555e8abb0ae19eea1c9f3635498bdde Types: Patch
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 16, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2025-71274', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:06:16.861984Z'}
  • CVE Translated by [email protected]

    Oct. 14, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: rpmsg: core: corregir condición de carrera en driver_override_show() y usar la función auxiliar del core La función driver_override_show lee la cadena driver_override sin mantener el device_lock. Sin embargo, la función store modifica y libera la cadena mientras mantiene el device_lock. Esto crea una condición de carrera donde la cadena puede ser liberada por la función store mientras es leída por la función show, lo que lleva a un uso después de liberación. Para solucionar esto, reemplace la macro rpmsg_string_attr con funciones show y store explícitas. La nueva driver_override_store utiliza la función auxiliar estándar driver_set_override. Desde la introducción de driver_set_override, los comentarios en include/linux/rpmsg.h han indicado que esta función auxiliar debe ser utilizada para establecer o borrar driver_override, pero la implementación no fue actualizada hasta ahora. Debido a que driver_set_override modifica y libera la cadena mientras mantiene el device_lock, la nueva driver_override_show ahora mantiene correctamente el device_lock durante la operación de lectura para prevenir la condición de carrera. Además, dado que rpmsg_string_attr solo ha sido utilizada para driver_override, eliminar la macro simplifica el código.
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 30, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '39e47767ec9b22f844c2a07c9d329256960d4021', 'lessThan': '392c6b68334aa0e0ae9aba95c0a366bcb0d92f5d', 'versionType': 'git'}, {'status': 'affected', 'version': '39e47767ec9b22f844c2a07c9d329256960d4021', 'lessThan': 'd66b8074c555e8abb0ae19eea1c9f3635498bdde', 'versionType': 'git'}, {'status': 'affected', 'version': '39e47767ec9b22f844c2a07c9d329256960d4021', 'lessThan': '47615557447185917afa432b7958f87583c417cb', 'versionType': 'git'}, {'status': 'affected', 'version': '39e47767ec9b22f844c2a07c9d329256960d4021', 'lessThan': '90c8353f471821d7ccd4fe573a2402e056192494', 'versionType': 'git'}, {'status': 'affected', 'version': '39e47767ec9b22f844c2a07c9d329256960d4021', 'lessThan': '7654e6e3cd6bdee9602f6063b3c670bd556d7e61', 'versionType': 'git'}, {'status': 'affected', 'version': '39e47767ec9b22f844c2a07c9d329256960d4021', 'lessThan': '2e4a70f3c30910427e5ea848b799066d67b963d5', 'versionType': 'git'}, {'status': 'affected', 'version': '39e47767ec9b22f844c2a07c9d329256960d4021', 'lessThan': '954557957177c3c13d7c655976665b1170da5e50', 'versionType': 'git'}, {'status': 'affected', 'version': '39e47767ec9b22f844c2a07c9d329256960d4021', 'lessThan': '42023d4b6d2661a40ee2dcf7e1a3528a35c638ca', 'versionType': 'git'}], 'programFiles': ['drivers/rpmsg/rpmsg_core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.252', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.202', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.165', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.128', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.75', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.16', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.6', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/rpmsg/rpmsg_core.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    May. 12, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-362
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.128 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.16 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.6 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.18 up to (excluding) 5.10.252 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.202 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.165
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2e4a70f3c30910427e5ea848b799066d67b963d5 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/392c6b68334aa0e0ae9aba95c0a366bcb0d92f5d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/42023d4b6d2661a40ee2dcf7e1a3528a35c638ca Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/47615557447185917afa432b7958f87583c417cb Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/7654e6e3cd6bdee9602f6063b3c670bd556d7e61 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/90c8353f471821d7ccd4fe573a2402e056192494 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/954557957177c3c13d7c655976665b1170da5e50 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d66b8074c555e8abb0ae19eea1c9f3635498bdde Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 06, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Reference https://git.kernel.org/stable/c/2e4a70f3c30910427e5ea848b799066d67b963d5
    Added Reference https://git.kernel.org/stable/c/392c6b68334aa0e0ae9aba95c0a366bcb0d92f5d
    Added Reference https://git.kernel.org/stable/c/42023d4b6d2661a40ee2dcf7e1a3528a35c638ca
    Added Reference https://git.kernel.org/stable/c/47615557447185917afa432b7958f87583c417cb
    Added Reference https://git.kernel.org/stable/c/7654e6e3cd6bdee9602f6063b3c670bd556d7e61
    Added Reference https://git.kernel.org/stable/c/90c8353f471821d7ccd4fe573a2402e056192494
    Added Reference https://git.kernel.org/stable/c/954557957177c3c13d7c655976665b1170da5e50
    Added Reference https://git.kernel.org/stable/c/d66b8074c555e8abb0ae19eea1c9f3635498bdde
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.