PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-71274 Linux CVE debrief

A use-after-free vulnerability exists in the Linux kernel's rpmsg driver due to a race condition between the driver_override_show and driver_override_store functions. The show function reads the driver_override string without holding the device_lock, while the store function modifies and frees the string while holding the device_lock. This can lead to a use-after-free condition where the string is freed by the store function while being read by the show function.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-06
Original CVE updated
2026-07-30
Advisory published
2026-05-06
Advisory updated
2026-07-30

Who should care

Linux kernel developers, Linux distribution maintainers, cybersecurity teams, and users of Linux-based systems should be aware of this vulnerability. They should assess their exposure, apply patches or mitigations, and monitor for potential exploitation attempts. Additionally, organizations using Linux-based systems should review their asset inventory and ensure that their security teams are informed about the potential risks associated with this vulnerability. This includes reviewing system logs for signs of exploitation and maintaining up-to-date vulnerability management processes. Linux kernel developers and maintainers should prioritize patching and backporting fixes to supported kernel versions. Users and administrators should follow vendor guidance and apply patches as soon as possible to prevent potential exploitation. This may involve coordinating with Linux distribution maintainers to ensure timely patch availability and application. The vulnerability's impact on operational security and potential for exploitation should be carefully evaluated by affected organizations to ensure appropriate risk management and mitigation strategies are implemented. This includes considering compensating controls for exposed systems while remediation is scheduled and verified. Monitoring and detection capabilities should be reviewed to ensure they can identify potential exploitation attempts related to this vulnerability. Asset inventory management should be updated to reflect affected systems and track remediation progress. Rollback and change management processes should be prepared in case patch application requires system restarts or other changes that could impact operations. Source tracking and verification of patch application should be performed to confirm that all affected systems are properly mitigated. This vulnerability highlights the importance of maintaining up-to-date Linux kernel versions and having robust vulnerability management practices in place to address emerging threats effectively. By taking these steps, organizations can reduce their risk exposure and protect their Linux-based systems from potential attacks leveraging this vulnerability. Effective

Technical summary

The Linux kernel's rpmsg driver has a use-after-free vulnerability due to a race condition between the driver_override_show and driver_override_store functions. The show function reads the driver_override string without holding the device_lock, while the store function modifies and frees the string while holding the device_lock. To fix this, the rpmsg_string_attr macro has been replaced with explicit show and store functions.

Defensive priority

High

Recommended defensive actions

  • Apply patches from Linux kernel maintainers
  • Use the standard driver_set_override helper
  • Hold device_lock during read operations
  • Monitor Linux kernel updates for further patches
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The vulnerability is caused by a race condition in the rpmsg driver. The driver_override_show function reads the driver_override string without holding the device_lock, while the driver_override_store function modifies and frees the string while holding the device_lock. To fix this, the rpmsg_string_attr macro has been replaced with explicit show and store functions. The new driver_override_store uses the standard driver_set_override helper. The new driver_override_show now correctly holds the device_lock during the read operation to prevent the race.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-71274 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-71274

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-71274 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71274

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/2e4a70f3c30910427e5ea848b799066d67b963d5

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/392c6b68334aa0e0ae9aba95c0a366bcb0d92f5d

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/42023d4b6d2661a40ee2dcf7e1a3528a35c638ca

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/47615557447185917afa432b7958f87583c417cb

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/7654e6e3cd6bdee9602f6063b3c670bd556d7e61

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/90c8353f471821d7ccd4fe573a2402e056192494

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/954557957177c3c13d7c655976665b1170da5e50

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.