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.
Published: 2026-06-16
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a flaw in the traffic control module where the copy‑on‑write (COW) range for writable packet buffers is calculated before the actual key offsets are known. When a packet manipulation action uses an offset that is not fully COW’ed, writing to the buffer corrupts the page cache. This type of corruption can overwrite kernel memory, potentially leading to data integrity errors or privilege escalation. The weakness is a classic out‑of‑bounds write.

Affected Systems

All versions of the Linux kernel prior to the inclusion of the commit that implements the fix (identified in the reference link) are affected. The fix appears in the latest stable kernel release as of the time of this advisory. Systems should evaluate whether their kernel build incorporates this commit.

Risk and Exploitability

The CVSS score is not provided, but the extremely low EPSS (< 1%) suggests a modest likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog, implying it has not been observed in the wild to date. The attack vector is inferred to be local or privileged, requiring the attacker to inject or manipulate network packets to trigger the packet editing path. An exploitation chain would involve crafting a packet so that the pedit action writes outside the COW region, thereby corrupting the kernel’s page cache.

Generated by OpenCVE AI on June 16, 2026 at 20:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to the latest stable version that includes the commit referenced in the advisory.
  • If the system runs a custom kernel, apply the patch from the reference commit to the source tree and rebuild or install the updated kernel.
  • Where possible, disable or remove the traffic control pedit action on interfaces that do not require it, as a temporary measure until the kernel update can be applied.

Generated by OpenCVE AI on June 16, 2026 at 20:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 16 Jun 2026 08:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-16T06:26:21.066Z

Reserved: 2026-05-13T15:03:33.112Z

Link: CVE-2026-46331

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-16T08:16:23.993

Modified: 2026-06-16T08:16:23.993

Link: CVE-2026-46331

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-16T20:30:03Z

Weaknesses

No weakness.