7.8
/ 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
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.
Basic Information
ID
CVE-2026-46331
Source
Linux
Published
Jun 16, 2026 at 06:26
Modified
Jun 28, 2026 at 06:36
Affected Product
Vendor
Linux
Product
Linux
Version
8b796475fd7882663a870456466a4fb315cc1bd6
Affected Versions
Linux Linux 8b796475fd7882663a870456466a4fb315cc1bd6
Linux Linux 8b796475fd7882663a870456466a4fb315cc1bd6
Linux Linux 8b796475fd7882663a870456466a4fb315cc1bd6
Linux Linux 8b796475fd7882663a870456466a4fb315cc1bd6
Linux Linux d0c38a914b0c4c21d553da801003d36979016726
Linux Linux 2ec2dd7d51a9320151f275ddbb2b53260fb32ca1
Linux Linux abe35bf3be51482593076d516a680d79e5fbc8e1
Linux Linux b773640d5bb9e2acfd91e2695717af04d47aa116
Linux Linux c19cc520b3d69904e9518d401ad0df7f4702aca0
Linux Linux 4.19.244
Linux Linux 5.4.195
Linux Linux 5.10.117
Linux Linux 5.15.41
Linux Linux 5.17.9
Linux Linux 5.18
Linux Linux 8b796475fd7882663a870456466a4fb315cc1bd6
Linux Linux 8b796475fd7882663a870456466a4fb315cc1bd6
Linux Linux 8b796475fd7882663a870456466a4fb315cc1bd6
Linux Linux d0c38a914b0c4c21d553da801003d36979016726
Linux Linux 2ec2dd7d51a9320151f275ddbb2b53260fb32ca1
Linux Linux abe35bf3be51482593076d516a680d79e5fbc8e1
Linux Linux b773640d5bb9e2acfd91e2695717af04d47aa116
Linux Linux c19cc520b3d69904e9518d401ad0df7f4702aca0
Linux Linux 4.19.244
Linux Linux 5.4.195
Linux Linux 5.10.117
Linux Linux 5.15.41
Linux Linux 5.17.9
Linux Linux 5.18