PatchSiren

PatchSiren cyber security CVE debrief

CVE-2024-26875 Linux CVE debrief

CVE-2024-26875 is a Linux kernel use-after-free in the pvrusb2 USB media driver. The reported KASAN trace shows pvr2_context_set_notify() dereferencing freed memory during disconnect handling, and the fix moves the disconnect_flag assignment to the end of pvr2_context_disconnect() so another thread cannot free the shared object too early.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2024-04-09
Original CVE updated
2026-05-14
Advisory published
2024-04-09
Advisory updated
2026-05-14

Who should care

Linux kernel maintainers, distro security teams, and operators of systems that may load the pvrusb2 media driver should care. Because the CVSS vector is local and requires high privileges, the main concern is untrusted local access on systems running affected kernel versions.

Technical summary

The issue is a race in drivers/media/usb/pvrusb2/pvrusb2-context.c. According to the supplied analysis, setting disconnect_flag too early allowed a second task to satisfy its condition and release mp while the first task still expected it to remain valid, leading to a use-after-free in pvr2_context_set_notify(). The documented resolution is to move the disconnect_flag assignment after the remaining disconnect logic in pvr2_context_disconnect(), which closes the race window. NVD maps the flaw to CWE-416 and lists affected Linux kernel version ranges up through 6.8.2, with stable backports provided via kernel.org references.

Defensive priority

Medium priority for patching. The flaw is serious because it can impact kernel integrity and availability, but the attack surface is limited to local, high-privilege conditions per the CVSS vector.

Recommended defensive actions

  • Apply the relevant Linux kernel stable update that includes the pvrusb2 disconnect-handling fix.
  • Verify whether your kernels fall within the affected ranges listed by NVD and plan upgrades accordingly.
  • If the pvrusb2 driver is not needed, reduce exposure by avoiding unnecessary module loading on affected systems.
  • Follow your distribution or vendor advisories for backported fixes and confirm the patched kernel build is deployed across all affected hosts.

Evidence notes

The supplied source describes a KASAN-reported slab-use-after-free in pvr2_context_set_notify() and explicitly states that moving the disconnect_flag assignment to after the rest of pvr2_context_disconnect() avoids the issue. NVD lists the issue as CVSS 3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H and provides affected Linux kernel version ranges ending at 4.19.311, 5.4.273, 5.10.214, 5.15.153, 6.1.83, 6.6.23, 6.7.11, and 6.8.2.

Sources and references

Verified primary and authoritative sources

  • CVE-2024-26875 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2024-26875

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

  • CVE-2024-26875 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2024-26875

    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/0a0b79ea55de8514e1750884e5fec77f9fdd01ee

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/3a1ec89708d2e57e2712f46241282961b1a7a475

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/40cd818fae875c424a8335009db33c7b5a07de3a

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/8e60b99f6b7ccb3badeb512f5eb613ad45904592

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/ab896d93fd6a2cd1afeb034c3cc9226cb499209f

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/d29ed08964cec8b9729bc55c7bb23f679d7a18fb

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/eaa410e05bdf562c90b23cdf2d9327f9c4625e16

    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.