{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46331 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-46331 is a high-severity memory corruption vulnerability in Linux kernel, published on 16 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-46331 and fix it if it is affected.\n\nWhat it is: CVE-2026-46331 is a high-severity memory corruption vulnerability in Linux kernel, published on 16 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46331 exists.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-46331/ (Markdown: https://insights.sbomify.com/CVE-2026-46331/index.md)","id":"CVE-2026-46331","markdown":"https://insights.sbomify.com/CVE-2026-46331/index.md","name":"CVE-2026-46331","record":{"aliases":["AZL-90107","BELL-CVE-2026-46331","DEBIAN-CVE-2026-46331","GHSA-cr2w-747q-47qc","OESA-2026-2870","RHSA-2026:27355","RHSA-2026:27704","RHSA-2026:27705","RHSA-2026:27706","RHSA-2026:27707","RHSA-2026:27709","RHSA-2026:33666","ROOT-OS-DEBIAN-11-CVE-2026-46331","ROOT-OS-DEBIAN-12-CVE-2026-46331","ROOT-OS-DEBIAN-13-CVE-2026-46331","ROOT-OS-UBUNTU-2204-CVE-2026-46331","ROOT-OS-UBUNTU-2404-CVE-2026-46331","UBUNTU-CVE-2026-46331"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A flaw in the Linux kernel's packet scheduler allows memory corruption via improper copy-on-write handling, potentially enabling code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: fix pedit partial COW leading to page cache corruption\n\ntcf_pedit_act() computes the COW range for skb_ensure_writable()\nonce before the key loop using tcfp_off_max_hint, but the hint does\nnot account for the runtime header offset added by typed keys. This\ncan leave part of the write region un-COW'd.\n\nFix by moving skb_ensure_writable() inside the per-key loop where\nthe actual write offset is known, and add overflow checking on the\noffset arithmetic. For negative offsets (e.g. Ethernet header edits\nat ingress), use skb_cow() to COW the headroom instead. Guard\noffset_valid() against INT_MIN, where negation is undefined.","ecosystems":["Red Hat:enterprise_linux_nvidia:10::el10","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_e4s:9.2::nfv","Red Hat:rhel_e4s:9.2::realtime","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_eus_long_life:8.6::baseos","Red Hat:rhel_tus:8.8::baseos"],"exploits":{"exploitdb":0,"first_seen":"2026-06-17","github_poc":14,"max_poc_stars":147,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-17T04:09:56Z","kind":"github_poc","ref":"https://github.com/sgkdev/packet_edit_meme","stars":147,"title":"PACKET_EDIT_MEME.c (aka CVE-2026-46331): yet another page cache poisoning nightmare"},{"date":"2026-06-26T18:57:23Z","kind":"github_poc","ref":"https://github.com/0xredash/CVE-2026-46331","stars":38,"title":"CVE-2026-46331"},{"date":"2026-07-22T22:45:32Z","kind":"github_poc","ref":"https://github.com/rjt-gupta/page-cache-corruption-lpes","stars":13,"title":"CVE-2026-46331 and CVE-2026-43503"},{"date":"2026-06-28T11:24:14Z","kind":"github_poc","ref":"https://github.com/vulnquest58/dirtyclone-exploit","stars":7,"title":"CVE-2026-46331 — Linux Kernel Local Privilege Escalation TC pedit + IPsec TEE Page Cache Corruption · Affected kernels: ≤ 6.12.9"},{"date":"2026-07-11T06:42:33Z","kind":"github_poc","ref":"https://github.com/yanxinwu946/CVE-2026-46331","stars":5,"title":"CVE-2026-46331 act_pedit page-cache corruption exploit, with Alpine PIE fix"},{"date":"2026-07-01T02:19:29Z","kind":"github_poc","ref":"https://github.com/V0IDNETWORK/CVE-2026-46331","stars":1,"title":"pedit COW"},{"date":"2026-06-27T03:54:14Z","kind":"github_poc","ref":"https://github.com/HORKimhab/CVE-2026-46331","stars":0,"title":"CVE-2026-46331 - Draft"},{"date":"2026-06-29T23:04:16Z","kind":"github_poc","ref":"https://github.com/Quaerendir/cve-2026-46331-audit","stars":0,"title":"cve-2026-46331-audit script"}],"tier":"weaponised"},"has_fix":true,"headline":"net/sched: fix pedit partial COW leading to page cache corruption","id":"CVE-2026-46331","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"memory_corruption","year":"2026"},"n_packages":338,"n_references":8,"next":{"headline":"greybus: gb-beagleplay: bound bootloader receive buffering","id":"CVE-2026-46332"},"packages":[{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k","purl":"pkg:rpm/redhat/kernel-64k","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k","purl":"pkg:rpm/redhat/kernel-64k","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-core","purl":"pkg:rpm/redhat/kernel-64k-core","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-core","purl":"pkg:rpm/redhat/kernel-64k-core","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug","purl":"pkg:rpm/redhat/kernel-64k-debug","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug","purl":"pkg:rpm/redhat/kernel-64k-debug","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-core","purl":"pkg:rpm/redhat/kernel-64k-debug-core","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-core","purl":"pkg:rpm/redhat/kernel-64k-debug-core","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-64k-debug-debuginfo","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-64k-debug-debuginfo","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules","purl":"pkg:rpm/redhat/kernel-64k-debug-modules","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules","purl":"pkg:rpm/redhat/kernel-64k-debug-modules","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules-core","purl":"pkg:rpm/redhat/kernel-64k-debug-modules-core","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules-core","purl":"pkg:rpm/redhat/kernel-64k-debug-modules-core","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules-extra","purl":"pkg:rpm/redhat/kernel-64k-debug-modules-extra","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules-extra","purl":"pkg:rpm/redhat/kernel-64k-debug-modules-extra","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debuginfo","purl":"pkg:rpm/redhat/kernel-64k-debuginfo","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debuginfo","purl":"pkg:rpm/redhat/kernel-64k-debuginfo","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules","purl":"pkg:rpm/redhat/kernel-64k-modules","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules","purl":"pkg:rpm/redhat/kernel-64k-modules","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules-core","purl":"pkg:rpm/redhat/kernel-64k-modules-core","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules-core","purl":"pkg:rpm/redhat/kernel-64k-modules-core","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules-extra","purl":"pkg:rpm/redhat/kernel-64k-modules-extra","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules-extra","purl":"pkg:rpm/redhat/kernel-64k-modules-extra","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-stablelists","purl":"pkg:rpm/redhat/kernel-abi-stablelists","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-stablelists","purl":"pkg:rpm/redhat/kernel-abi-stablelists","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-core","purl":"pkg:rpm/redhat/kernel-core","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-core","purl":"pkg:rpm/redhat/kernel-core","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-core","purl":"pkg:rpm/redhat/kernel-debug-core","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-core","purl":"pkg:rpm/redhat/kernel-debug-core","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2026:33666"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-212.11.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel-matched","purl":"pkg:rpm/redhat/kernel-debug-devel-matched","source":"RHSA-2026:27709"},{"ecosystem":"Red Hat:enterprise_linux_nvidia:10::el10","fixed":["0:6.12.0-231.13.el10nv"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel-matched","purl":"pkg:rpm/redhat/kernel-debug-devel-matched","source":"RHSA-2026:33666"}],"prev":{"headline":"Revert \"net/smc: Introduce TCP ULP support\"","id":"CVE-2026-46330"},"products":["Linux"],"published":"2026-06-16","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["Linux"]},"summary":"A flaw in the Linux kernel's packet scheduler allows memory corruption via improper copy-on-write handling, potentially enabling code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-46331/"}