Linux KernelOperating system · Linux

CVE-2026-46331

HIGH · 7.8 CVSS v3.1 Published 2026-06-16
Fix available
A fix is available. Upgrade to 4.20 / 5.5 or later.
See remediation →
80/100
Remediation priority · High
Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
In the Linux kernel, the following vulnerability has been resolved: net/sched: fix pedit partial COW leading to page cache corruption tcf_pedit_act() computes the COW range for skb_ensure_writable() once before the key loop using tcfp_off_max_hint, but the hint does not account for the runtime header offset added by typed keys. This can leave part of the write region un-COW'd. Fix by moving skb_ensure_writable() inside the per-key loop where the actual write offset is known, and add overflow checking on the offset arithmetic. For negative offsets (e.g. Ethernet header edits at ingress), use skb_cow() to COW the headroom instead. Guard offset_valid() against INT_MIN, where negation is undefined.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

In the Linux kernel's net/sched tcf_pedit_act() module, the COW (Copy-On-Write) range for skb_ensure_writable() is computed once before the key loop using tcfp_off_max_hint. This hint does not account for runtime header offsets added by typed keys, leaving portions of the write region un-COW'd and causing page cache corruption. The fix moves skb_ensure_writable() inside the per-key loop where actual offsets are known, adds overflow checking, uses skb_cow() for negative offsets (e.g., Ethernet header edits at ingress), and guards offset_valid() against INT_MIN.

MitigationThis is a kernel-level vulnerability requiring a kernel patch; apply the provided kernel update once available. Until then, avoid using tcf_pedit actions with typed keys on untrusted traffic to reduce exposure.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 4.19.244, < 4.20>= 5.4.195, < 5.5>= 5.10.117, < 5.11>= 5.15.41, < 5.16>= 5.17.9, < 5.18>= 5.18.1, < 6.12.94>= 6.13, < 6.18.36>= 6.19, < 7.0.13= 5.18= 7.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify the running kernel version
    Run `uname -r` or `cat /proc/version` to get the exact kernel version string
    Affected if The version falls within any of these ranges: >= 4.19.244 && < 4.20, >= 5.4.195 && < 5.5, >= 5.10.117 && < 5.11, >= 5.15.41 && < 5.16, >= 5.17.9 && < 5.18, >= 5.18.1 && < 6.12.94, >= 6.13 && < 6.18.36, >= 6.19 && < 7.0.13, or equals 5.18 or 7.1
  2. Determine if the kernel is patched for this issue
    Check the kernel source code for the fix: look for `skb_ensure_writable()` being called inside the per-key loop in the pedit action code, or check if your distribution has released a security update
    Affected if The fix is not present in the running kernel (kernel is still vulnerable)
  3. Check if traffic control pedit rules are configured
    Run `tc filter show` or `tc qdisc show` to list active traffic control rules, then look for rules using the pedit action: `tc filter add ... pedit ...`
    Affected if There are active tc rules using the pedit action that modify packet headers
  4. Verify if pedit rules use typed keys with header offsets
    Examine the output of `tc filter show` and look for pedit rules that use typed keys (such as 'ip src' or 'ip dst' which add runtime header offsets), which trigger the vulnerable code path
    Affected if The pedit rules include typed keys like ip src, ip dst, or other header-specific offsets rather than raw absolute offsets
  5. Check for potential network namespaces or VRFs using pedit
    Run `ip netns list` and `ip link show type vrf` to identify network namespaces or VRFs, then check `tc filter show` within those contexts for pedit rules
    Affected if Non-default network namespaces or VRFs have active pedit rules that could trigger the vulnerability

You are affected if your kernel version is in the affected ranges AND you have active traffic control rules using the pedit action with typed keys that add header offsets.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.20 / 5.5 / 5.11 or later
Fixed in 4.205.55.11
Vendor patch git.kernel.org →
Interim mitigation

This is a kernel-level vulnerability requiring a kernel patch; apply the provided kernel update once available. Until then, avoid using tcf_pedit actions with typed keys on untrusted traffic to reduce exposure.

Recommended fix High confidence

Linux Kernel 5.16 or later (or latest stable 6.x release)

  1. 1. Identify the currently running Linux kernel version using `uname -r`
  2. 2. Check if the version matches one of the affected ranges: 4.19.244 to <4.20, 5.4.195 to <5.5, 5.10.117 to <5.11, or 5.15.41 to <5.16
  3. 3. If affected, schedule a maintenance window for kernel upgrade
  4. 4. Upgrade to a stable kernel version that includes the fix: 5.16 or later for the 5.15.x branch, 5.11 or later for the 5.10.x branch, 5.5 or later for the 5.4.x branch, or 4.20 or later for the 4.19.x branch
  5. 5. Alternatively, upgrade to the latest stable kernel (e.g., 6.x) which includes this fix and many other security patches
  6. 6. After reboot, verify the new kernel version is running with `uname -r`
Caveat Kernel upgrades may require recompilation of out-of-tree kernel modules; ensure compatible drivers and modules are available for the target version

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing8.0 h
  • Review / QA4.0 h
21.0 hours of engineering $3,600
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,760.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-46331 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-46331 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data