CVE-2026-46331

net/sched: fix pedit partial COW leading to page cache corruption

Published Jun 16, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4665-1 linux security update
Debian DLA Debian DLA DLA-4671-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DSA Debian DSA DSA-6355-1 linux security update
Ubuntu USN Ubuntu USN USN-8629-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8630-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8631-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8633-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8635-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8636-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8630-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8631-2 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8637-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8631-3 Linux kernel (NVIDIA Tegra IGX) vulnerabilities
Ubuntu USN Ubuntu USN USN-8633-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8629-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8631-4 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8645-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8629-3 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8630-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8636-2 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8656-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8660-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8661-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8630-4 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8666-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8667-1 Linux kernel (KVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8669-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8661-2 Linux kernel (Low Latency) vulnerabilities
Ubuntu USN Ubuntu USN USN-8630-5 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8666-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8661-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8666-3 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8661-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8715-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8715-2 Linux kernel (AWS FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8661-5 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:27288 cve-icon
https://access.redhat.com/errata/RHSA-2026:27353 cve-icon
https://access.redhat.com/errata/RHSA-2026:27354 cve-icon
https://access.redhat.com/errata/RHSA-2026:27355 cve-icon
https://access.redhat.com/errata/RHSA-2026:27704 cve-icon
https://access.redhat.com/errata/RHSA-2026:27705 cve-icon
https://access.redhat.com/errata/RHSA-2026:27706 cve-icon
https://access.redhat.com/errata/RHSA-2026:27707 cve-icon
https://access.redhat.com/errata/RHSA-2026:27708 cve-icon
https://access.redhat.com/errata/RHSA-2026:27709 cve-icon
https://access.redhat.com/errata/RHSA-2026:27713 cve-icon
https://access.redhat.com/errata/RHSA-2026:27731 cve-icon
https://access.redhat.com/errata/RHSA-2026:27789 cve-icon
https://access.redhat.com/errata/RHSA-2026:28887 cve-icon
https://access.redhat.com/errata/RHSA-2026:28962 cve-icon
https://access.redhat.com/errata/RHSA-2026:29080 cve-icon
https://access.redhat.com/errata/RHSA-2026:29794 cve-icon
https://access.redhat.com/errata/RHSA-2026:29799 cve-icon
https://access.redhat.com/errata/RHSA-2026:29833 cve-icon
https://access.redhat.com/errata/RHSA-2026:29856 cve-icon
https://access.redhat.com/errata/RHSA-2026:29863 cve-icon
https://access.redhat.com/errata/RHSA-2026:33219 cve-icon
https://access.redhat.com/errata/RHSA-2026:33220 cve-icon
https://access.redhat.com/errata/RHSA-2026:33221 cve-icon
https://access.redhat.com/errata/RHSA-2026:33222 cve-icon
https://access.redhat.com/errata/RHSA-2026:33223 cve-icon
https://access.redhat.com/errata/RHSA-2026:33224 cve-icon
https://access.redhat.com/errata/RHSA-2026:33225 cve-icon
https://access.redhat.com/errata/RHSA-2026:33666 cve-icon
https://access.redhat.com/errata/RHSA-2026:34048 cve-icon
https://access.redhat.com/errata/RHSA-2026:34098 cve-icon
https://access.redhat.com/errata/RHSA-2026:40021 cve-icon
https://access.redhat.com/security/cve/CVE-2026-46331 cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2479492 cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-784472.html cve-icon
https://git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b cve-icon cve-icon
https://git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512 cve-icon cve-icon
https://git.kernel.org/stable/c/544d857b42a1734b923040e13aa61a6fd4746cf2 cve-icon cve-icon
https://git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5a cve-icon cve-icon
https://git.kernel.org/stable/c/a071e057518decc5e3bec89855758f5f8786f2c5 cve-icon cve-icon
https://git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313 cve-icon cve-icon
https://git.kernel.org/stable/c/b685d6ef6f07a3b5ce814565a25f39f2157538a5 cve-icon cve-icon
https://git.kernel.org/stable/c/d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc cve-icon cve-icon
https://github.com/sgkdev/packet_edit_meme/tree/main cve-icon cve-icon
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46331.json cve-icon
History
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Weaknesses CWE-190
CWE-787
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Weaknesses CWE-122
CWE-787
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-122
CWE-787
Type Values Removed Values Added
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.
Title net/sched: fix pedit partial COW leading to page cache corruption
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 15, 2026, 1:21 AM
Reserved
May 13, 2026, 3:03 PM
Status
Modified
Published
Jun 16, 2026, 8:16 AM
Modified
Oct 15, 2026, 2:19 AM