PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-23319 Linux CVE debrief

CVE-2026-23319 is a use-after-free vulnerability in the Linux kernel, specifically in the bpf_trampoline_link_cgroup_shim function. The vulnerability arises when the refcount of 'shim_link->link.link' is reduced to zero, but the resource is still referenced via 'tr->progs_hlist' in 'cgroup_shim_find'. This can lead to a use-after-free condition when another process accesses the resource during the window before 'tr->progs_hlist' is cleaned up in 'bpf_shim_tramp_link_release'. The vulnerability affects Linux kernel versions 6.0.1 to 6.1.167, 6.2 to 6.6.130, 6.7 to 6.12.77, 6.13 to 6.18.17, 6.19 to 6.19.7, and 7.0 rc1 to rc7.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 6.4
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-14
Original CVE updated
2026-07-28
Advisory published
2026-07-14
Advisory updated
2026-07-28

Who should care

This vulnerability affects Linux kernel versions 6.0.1 to 6.1.167, 6.2 to 6.6.130, 6.7 to 6.12.77, 6.13 to 6.18.17, 6.19 to 6.19.7, and 7.0 rc1 to rc7. Users of these versions should apply patches or mitigations to prevent exploitation. Linux kernel users and administrators should review and apply patches or mitigations.

Technical summary

The vulnerability is caused by a use-after-free condition in the bpf_trampoline_link_cgroup_shim function. When the refcount of 'shim_link->link.link' reaches zero, the resource is considered released but may still be referenced via 'tr->progs_hlist' in 'cgroup_shim_find'. To fix this, an atomic non-zero check was added in 'bpf_trampoline_link_cgroup_shim' to only increment the refcount if it is not already zero. The fix involves adding an atomic non-zero check in 'bpf_trampoline_link_cgroup_shim'.

Defensive priority

High

Recommended defensive actions

  • Apply patches from Linux kernel stable branches
  • Inventory and update affected Linux kernel versions
  • Monitor for suspicious activity related to bpf_trampoline_link_cgroup_shim
  • Implement compensating controls to limit exploitation
  • Verify and retest systems after patch application
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record was published on 2026-03-25T11:16:28.570Z and last modified on 2026-07-14T13:18:29.743Z. The NVD entry is currently Modified. This vulnerability affects Linux kernel versions 6.0.1 to 6.1.167, 6.2 to 6.6.130, 6.7 to 6.12.77, 6.13 to 6.18.17, 6.19 to 6.19.7, and 7.0 rc1 to rc7. Users of these versions should apply patches or mitigations to prevent exploitation. The vulnerability is caused by a use-after-free condition in the bpf_trampoline_link_cgroup_shim function.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-23319 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-23319

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

  • CVE-2026-23319 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-23319

    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/3eeddb80191f7626ec1ef742bfff51ec3b0fa5c2

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/4e8a0005d633a4adc98e3b65d5080f93b90d356b

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/529e685e522b9d7fb379dbe6929dcdf520e34c8c

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/56145d237385ca0e7ca9ff7b226aaf2eb8ef368b

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9b02c5c4147f8af8ed783c8deb5df927a55c3951

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

  • Mitigation or vendor reference

    Unverified legacy reference

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

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

  • Source reference

    Unverified legacy reference

    URL: https://cert-portal.siemens.com/productcert/html/ssa-019113.html

    0b142b55-0307-4c5a-b3c9-f314f3fb7c5e

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.