CVE-2026-46331
net/sched: fix pedit partial COW leading to page cache corruption
Check your servers for CVE-2026-46331
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46331 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.78% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 29 Jun 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from abe35bf3be51482593076d516a680d79e5fbc8e1, before 544d857b42a1734b923040e13aa61a6fd4746cf2 affected from b773640d5bb9e2acfd91e2695717af04d47aa116, before d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc affected from 8b796475fd7882663a870456466a4fb315cc1bd6, before a071e057518decc5e3bec89855758f5f8786f2c5 affected from 8b796475fd7882663a870456466a4fb315cc1bd6, before b685d6ef6f07a3b5ce814565a25f39f2157538a5 affected from 8b796475fd7882663a870456466a4fb315cc1bd6, before 2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b affected from 8b796475fd7882663a870456466a4fb315cc1bd6, before b198ed4e52580a7238c7c7082f03906f8b310313 affected from 8b796475fd7882663a870456466a4fb315cc1bd6, before 3dee9d0c198faeb95d052c1b94c2958751a28512 affected from 8b796475fd7882663a870456466a4fb315cc1bd6, before 899ee91156e57784090c5565e4f31bd7dbffbc5a affected d0c38a914b0c4c21d553da801003d36979016726 affected 2ec2dd7d51a9320151f275ddbb2b53260fb32ca1 affected c19cc520b3d69904e9518d401ad0df7f4702aca0 affected from 5.10.117, before 5.10.260 affected from 5.15.41, before 5.15.211 affected from 4.19.244, before 4.20 affected from 5.4.195, before 5.5 affected from 5.17.9, before 5.18
Other versions: unaffected
|
| Linux |
affected 5.18 unaffected before 5.18 unaffected from 5.10.260 up to and including 5.10.* unaffected from 5.15.211 up to and including 5.15.* unaffected from 6.1.177 up to and including 6.1.* unaffected from 6.6.144 up to and including 6.6.* unaffected from 6.12.94 up to and including 6.12.* unaffected from 6.18.36 up to and including 6.18.* unaffected from 7.0.13 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46331 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46331
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-46331
trivy image --scanners vuln IMAGE | grep CVE-2026-46331
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/security/cve/CVE-2026-46331 access.redhat.com · vdb entry
- RHBZ#2479492 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:27709 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33666 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:34048 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:40021 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:28887 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:28962 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:29080 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:34098 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:29856 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:29863 access.redhat.com · vendor advisory
22 more
- https://access.redhat.com/errata/RHSA-2026:29799 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:29833 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:29794 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27731 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27288 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27705 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27713 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27708 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27789 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33225 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27353 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33220 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27707 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27704 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27355 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33219 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33221 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33222 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33223 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33224 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27354 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:27706 access.redhat.com · vendor advisory
Exploits and proof of concept
- https://github.com/sgkdev/packet_edit_meme/tree/main github.com · exploit
Other references
- https://git.kernel.org/stable/c/544d857b42a1734b923040e13aa61a6fd4746cf2 git.kernel.org
- https://git.kernel.org/stable/c/d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc git.kernel.org
- https://git.kernel.org/stable/c/a071e057518decc5e3bec89855758f5f8786f2c5 git.kernel.org
- https://git.kernel.org/stable/c/b685d6ef6f07a3b5ce814565a25f39f2157538a5 git.kernel.org
- https://git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b git.kernel.org
- https://git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313 git.kernel.org
- https://git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512 git.kernel.org
- https://git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5a git.kernel.org
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46331.json security.access.redhat.com
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html cert-portal.siemens.com
Source: the record CVE-2026-46331 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse