CVE-2026-46331
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•HIGH•Score: 8.5CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.1•MEDIUM•Score: 6.7CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.58%• Percentile: 47%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- chainguard•linux-azure-6.18
< 6.18.38-r0
- chainguard•linux-gcp-6.18
< 6.18.38-r0
- chainguard•linux-gcp-6.18-bootc-boot-installed
< 6.18.38-r0
- chainguard•linux-qemu-6.18
< 6.18.38-r0
- chainguard•linux-qemu-6.18-bootc-boot-installed
< 6.18.38-r0
- chainguard•linux-qemu-melange
< 6.18.38-r0
- chainguard•linux-vmware-6.18
< 6.18.38-r0
- debian•linux
< 5.10.262-1 | < 6.1.176-1 | < 6.12.94-1 | < 7.0.13-1
- debian•linux-6.1
< 6.1.176-1~deb11u1
- ubuntu•linux
all | < 4.15.0-254.266 | < 5.4.0-234.254 | < 5.15.0-187.197 | < 6.8.0-137.137 | all | < 7.0.0-29.29
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | < 4.15.0-1195.208 | < 5.4.0-1162.173 | < 5.15.0-1113.120 | < 6.8.0-1062.65 | all | < 7.0.0-1010.10
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
all | < 5.15.0-1114.121~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
all | < 5.4.0-1162.173~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.14
all
- ubuntu•linux-aws-6.17
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
all | < 6.8.0-1062.65~22.04.2
- ubuntu•linux-aws-7.0
all | < 7.0.0-1010.10~24.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2133.139 | < 5.4.0-1163.174+fips1 | all | < 5.15.0-1113.120+fips1 | < 6.8.0-1062.65+fips1
- ubuntu•linux-aws-hwe
all | < 4.15.0-1195.208~16.04.1
- ubuntu•linux-azure
all | < 4.15.0-1205.220~14.04.1 | < 4.15.0-1205.220~16.04.1 | all | < 5.4.0-1167.173 | < 5.15.0-1118.127 | < 6.8.0-1064.72 | all | < 7.0.0-1011.11
- ubuntu•linux-azure-4.15
< 4.15.0-1205.220
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
all | < 5.15.0-1119.128~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
all | < 5.4.0-1167.173~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-6.14
all
- ubuntu•linux-azure-6.17
< 6.17.0-1022.22
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
< 6.8.0-1064.72~22.04.1
- ubuntu•linux-azure-7.0
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | < 5.15.0-1118.127 | < 6.8.0-1063.70 | all | < 7.0.0-1010.10
- ubuntu•linux-azure-fde-5.15
all | < 5.15.0-1118.127~20.04.1
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.14
all
- ubuntu•linux-azure-fde-6.17
all
Showing first 50 affected entries in server-rendered view.
References (99)
- https://git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5a
- https://git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b
- https://git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313
- https://git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512
- https://github.com/sgkdev/packet_edit_meme/tree/main
- https://access.redhat.com/security/cve/CVE-2026-46331
- https://bugzilla.redhat.com/show_bug.cgi?id=2479492
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46331.json
- https://access.redhat.com/errata/RHSA-2026:27709
- https://access.redhat.com/errata/RHSA-2026:27731
- https://access.redhat.com/errata/RHSA-2026:27288
- https://access.redhat.com/errata/RHSA-2026:27705
- https://access.redhat.com/errata/RHSA-2026:27713
- https://access.redhat.com/errata/RHSA-2026:27708
- https://access.redhat.com/errata/RHSA-2026:27789
- https://access.redhat.com/errata/RHSA-2026:27353
- https://access.redhat.com/errata/RHSA-2026:33220
- https://access.redhat.com/errata/RHSA-2026:27707
- https://access.redhat.com/errata/RHSA-2026:27704
- https://access.redhat.com/errata/RHSA-2026:27355
- https://access.redhat.com/errata/RHSA-2026:33219
- https://access.redhat.com/errata/RHSA-2026:33221
- https://access.redhat.com/errata/RHSA-2026:33222
- https://access.redhat.com/errata/RHSA-2026:33223
- https://access.redhat.com/errata/RHSA-2026:33224
- https://access.redhat.com/errata/RHSA-2026:27354
- https://access.redhat.com/errata/RHSA-2026:27706
- https://access.redhat.com/errata/RHSA-2026:33225
- https://access.redhat.com/errata/RHSA-2026:29833
- https://git.kernel.org/stable/c/544d857b42a1734b923040e13aa61a6fd4746cf2
- https://git.kernel.org/stable/c/d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc
- https://git.kernel.org/stable/c/a071e057518decc5e3bec89855758f5f8786f2c5
- https://git.kernel.org/stable/c/b685d6ef6f07a3b5ce814565a25f39f2157538a5
- https://access.redhat.com/errata/RHSA-2026:33666
- https://access.redhat.com/errata/RHSA-2026:28887
- https://access.redhat.com/errata/RHSA-2026:28962
- https://access.redhat.com/errata/RHSA-2026:29080
- https://access.redhat.com/errata/RHSA-2026:29856
- https://access.redhat.com/errata/RHSA-2026:29863
- https://access.redhat.com/errata/RHSA-2026:29799
- https://access.redhat.com/errata/RHSA-2026:29794
- https://access.redhat.com/errata/RHSA-2026:34048
- https://access.redhat.com/errata/RHSA-2026:34098
- https://access.redhat.com/errata/RHSA-2026:40021
- https://access.redhat.com/security/updates/classification/#important
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_27355.json
- https://access.redhat.com/security/vulnerabilities/RHSB-2026-008
- https://www.cve.org/CVERecord?id=CVE-2026-46331
- https://nvd.nist.gov/vuln/detail/CVE-2026-46331
- https://lore.kernel.org/netdev/20260516162825.1480113-1-rollkingzzc@gmail.com/
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_27704.json
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_27705.json
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_27706.json
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_27707.json
- https://docs.redhat.com/en/documentation/red_hat_enterprise_linux_for_nvidia/26.01/html/26.01_release_notes/index
- https://issues.redhat.com/browse/VOYAGER-1102
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_27709.json
- https://issues.redhat.com/browse/VOYAGER-1100
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_33666.json
- https://ubuntu.com/security/CVE-2026-46331
- https://git.kernel.org/linus/899ee91156e57784090c5565e4f31bd7dbffbc5a
- https://ubuntu.com/security/notices/USN-8629-1
- https://ubuntu.com/security/notices/USN-8630-1
- https://ubuntu.com/security/notices/USN-8631-1
- https://ubuntu.com/security/notices/USN-8633-1
- https://ubuntu.com/security/notices/USN-8635-1
- https://ubuntu.com/security/notices/USN-8636-1
- https://security-tracker.debian.org/tracker/CVE-2026-46331
- https://ubuntu.com/security/notices/USN-8630-2
- https://ubuntu.com/security/notices/USN-8631-2
- https://ubuntu.com/security/notices/USN-8637-1
- https://ubuntu.com/security/notices/USN-8631-3
- https://ubuntu.com/security/notices/USN-8633-2
- https://ubuntu.com/security/notices/USN-8629-2
- https://ubuntu.com/security/notices/USN-8631-4
- https://ubuntu.com/security/notices/USN-8645-1
- https://ubuntu.com/security/notices/USN-8629-3
- https://ubuntu.com/security/notices/USN-8630-3
- https://ubuntu.com/security/notices/USN-8636-2
- https://ubuntu.com/security/notices/USN-8656-1
- https://ubuntu.com/security/notices/USN-8660-1
- https://ubuntu.com/security/notices/USN-8661-1
- https://ubuntu.com/security/notices/USN-8630-4
- https://ubuntu.com/security/notices/USN-8663-1
- https://ubuntu.com/security/notices/USN-8664-1
- https://ubuntu.com/security/notices/USN-8666-1
- https://ubuntu.com/security/notices/USN-8667-1
- https://ubuntu.com/security/notices/USN-8669-1
- https://ubuntu.com/security/notices/USN-8661-2
- https://ubuntu.com/security/notices/USN-8630-5
- https://ubuntu.com/security/notices/USN-8666-2
- https://ubuntu.com/security/notices/USN-8661-3
- https://ubuntu.com/security/notices/USN-8666-3
- https://ubuntu.com/security/notices/USN-8661-4
- https://ubuntu.com/security/notices/USN-8715-1
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46331.json
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://ubuntu.com/security/notices/USN-8728-1
- https://ubuntu.com/security/notices/USN-8715-2