PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-23340 Linux CVE debrief

A use-after-free vulnerability was found in the Linux kernel's network scheduler. When shrinking the number of real tx queues, the qdisc_reset_all_tx_gt() function is called to flush qdiscs for queues that will no longer be used. However, for lockless qdiscs, the dequeue path is serialized by qdisc_run_begin/end() using qdisc->seqlock instead of qdisc_lock(). This can lead to a use-after-free vulnerability, allowing an attacker to potentially execute arbitrary code.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.8
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

Users of the Linux kernel, particularly those using versions 4.16.1 to 5.15.203, 5.16 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.

Technical summary

The vulnerability exists in the Linux kernel's network scheduler, specifically in the qdisc_reset_all_tx_gt() function. When shrinking the number of real tx queues, this function is called to flush qdiscs for queues that will no longer be used. However, for lockless qdiscs, the dequeue path is serialized by qdisc_run_begin/end() using qdisc->seqlock instead of qdisc_lock(). This can lead to a use-after-free vulnerability, allowing an attacker to potentially execute arbitrary code. The vulnerability can be reproduced on e.g. virtio-net by imposing heavy traffic while frequently changing the number of queue pairs.

Defensive priority

High

Recommended defensive actions

  • Apply patches from Linux kernel maintainers
  • Update to Linux kernel version 5.15.204 or later
  • Use Linux kernel version 6.1.168 or later
  • Use Linux kernel version 6.6.131 or later
  • Use Linux kernel version 6.7 or later
  • Use Linux kernel version 6.12.78 or later
  • Use Linux kernel version 6.18.18 or later
  • Use Linux kernel version 6.19.8 or later

Evidence notes

The vulnerability was reported by Linux kernel maintainers. The affected versions of the Linux kernel are 4.16.1 to 5.15.203, 5.16 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.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-23340 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-23340 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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/5bb27ad54d12de67e457d7d251198e361bef835e

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5bc4e69306ed7ae02232eb4c0b23ed621a26d504

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/7594467c49bfc2f4644dee0415ac2290db11fa0d

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/7f083faf59d14c04e01ec05a7507f036c965acf8

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/8314944cc3bdeaa5a73e6f8a8cf0d94822e625cb

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

  • Mitigation or vendor reference

    Unverified legacy reference

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

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

  • Mitigation or vendor reference

    Unverified legacy reference

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

    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.