CVE-2026-80731
net: remove CAP_SYS_RAWIO zero-padding in dev_validate_header
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= b5518429e70cd783b8ca52335456172c1a0589f6, < 53fd7f912c0877647d6a1e1877f5ea8535ee0b4a; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < fa6d98dd925e72fc028b26a0cbbff9d2f0601ff6; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 8fc9816404166a90ed8d544dc52482fafffb6d9f; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < b0f92a5731dc82556a9ae005cc35f71ab136307b; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 99df6b7a713f96eda206680d100b76e15f9d9b69; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 74e035f07f53feca09e2352e77fccb09cad5e208; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < dbb30dc943a93e083f1e531bfdc6779e57de40d0; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < fc902f52a02298c7432b2334c0c82a2885a1a8b6; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 3b9a324e646d3657a8d9806dfbfe4f3e4066e882; f58a6c08ebdfa978178bbca78c2ba744a2665912; …
- Anyone running Linux 4.6
Vulnerability facts
- Affected
- Linux >= b5518429e70cd783b8ca52335456172c1a0589f6, < 53fd7f912c0877647d6a1e1877f5ea8535ee0b4a; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < fa6d98dd925e72fc028b26a0cbbff9d2f0601ff6; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 8fc9816404166a90ed8d544dc52482fafffb6d9f; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < b0f92a5731dc82556a9ae005cc35f71ab136307b; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 99df6b7a713f96eda206680d100b76e15f9d9b69; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 74e035f07f53feca09e2352e77fccb09cad5e208; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < dbb30dc943a93e083f1e531bfdc6779e57de40d0; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < fc902f52a02298c7432b2334c0c82a2885a1a8b6; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 3b9a324e646d3657a8d9806dfbfe4f3e4066e882; f58a6c08ebdfa978178bbca78c2ba744a2665912; …; Linux 4.6
- Fixed in
- Linux 53fd7f912c0877647d6a1e1877f5ea8535ee0b4a, Linux 8fc9816404166a90ed8d544dc52482fafffb6d9f, Linux 99df6b7a713f96eda206680d100b76e15f9d9b69, Linux 74e035f07f53feca09e2352e77fccb09cad5e208, Linux 3b9a324e646d3657a8d9806dfbfe4f3e4066e882
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: remove CAP_SYS_RAWIO zero-padding in dev_validate_header dev_validate_header() reads dev->hard_header_len directly when zero-padding short link layer headers for CAP_SYS_RAWIO holders: if (capable(CAP_SYS_RAWIO)) { memset(ll_header + len, 0, dev->hard_header_len - len); return true; } Packet send paths call dev_validate_header() on skbs whose headroom was allocated from an earlier hard_header_len read. If the device is reconfigured so that dev->hard_header_len increases before validation, the memset writes past the reserved buffer, an out-of-bounds write. This out-of-bounds write is masked in some SOCK_RAW paths today because the same concurrent increase can first make skb_push() exceed the reserved headroom and trigger skb_under_panic(). Remove the zero-padding branch before making those hard_header_len reads consistent, so the snapshot fixes do not turn a loud panic into a silent overwrite. This path is only reached for variable length L2 protocols, where len < hard_header_len but len >= min_header_len. No remaining in-tree variable length L2 protocol implements header_ops->validate, and the CAP_SYS_RAWIO bypass that zero-pads and accepts short headers has no real value beyond allowing testing of intentionally malformed input. Drop the CAP_SYS_RAWIO branch. The remaining reads of dev->hard_header_len in dev_validate_header() are comparisons only and have no memory safety impact.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b5518429e70cd783b8ca52335456172c1a0589f6, < 53fd7f912c0877647d6a1e1877f5ea8535ee0b4a; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < fa6d98dd925e72fc028b26a0cbbff9d2f0601ff6; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 8fc9816404166a90ed8d544dc52482fafffb6d9f; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < b0f92a5731dc82556a9ae005cc35f71ab136307b; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 99df6b7a713f96eda206680d100b76e15f9d9b69; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 74e035f07f53feca09e2352e77fccb09cad5e208; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < dbb30dc943a93e083f1e531bfdc6779e57de40d0; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < fc902f52a02298c7432b2334c0c82a2885a1a8b6; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 3b9a324e646d3657a8d9806dfbfe4f3e4066e882; f58a6c08ebdfa978178bbca78c2ba744a2665912; … | — | cvelist |
| Linux | 4.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-80731. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-80731.md Affected: Linux >= b5518429e70cd783b8ca52335456172c1a0589f6, < 53fd7f912c0877647d6a1e1877f5ea8535ee0b4a; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < fa6d98dd925e72fc028b26a0cbbff9d2f0601ff6; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 8fc9816404166a90ed8d544dc52482fafffb6d9f; >= 2793a23aacbd754dbbb5cb7… Fixed in: Linux 53fd7f912c0877647d6a1e1877f5ea8535ee0b4a, Linux 8fc9816404166a90ed8d544dc52482fafffb6d9f, Linux 99df6b7a713f96eda206680d100b76e15f9d9b69, Linux 74e035f07f53feca09e2352e77fccb09cad5e208, Linux 3b9a324e646d3657a8d9806dfbfe4f3e4066e882 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/53fd7f912c0877647d6a1e1877f5ea8535ee0b4a
- https://git.kernel.org/stable/c/fa6d98dd925e72fc028b26a0cbbff9d2f0601ff6
- https://git.kernel.org/stable/c/8fc9816404166a90ed8d544dc52482fafffb6d9f
- https://git.kernel.org/stable/c/b0f92a5731dc82556a9ae005cc35f71ab136307b
- https://git.kernel.org/stable/c/99df6b7a713f96eda206680d100b76e15f9d9b69
- https://git.kernel.org/stable/c/74e035f07f53feca09e2352e77fccb09cad5e208
- https://git.kernel.org/stable/c/dbb30dc943a93e083f1e531bfdc6779e57de40d0
- https://git.kernel.org/stable/c/fc902f52a02298c7432b2334c0c82a2885a1a8b6
- https://git.kernel.org/stable/c/3b9a324e646d3657a8d9806dfbfe4f3e4066e882
FAQ
Is CVE-2026-80731 being exploited?
There is no confirmed exploitation: CVE-2026-80731 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-80731?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-80731?
Linux >= b5518429e70cd783b8ca52335456172c1a0589f6, < 53fd7f912c0877647d6a1e1877f5ea8535ee0b4a; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < fa6d98dd925e72fc028b26a0cbbff9d2f0601ff6; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 8fc9816404166a90ed8d544dc52482fafffb6d9f; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < b0f92a5731dc82556a9ae005cc35f71ab136307b; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 99df6b7a713f96eda206680d100b76e15f9d9b69; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 74e035f07f53feca09e2352e77fccb09cad5e208; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < dbb30dc943a93e083f1e531bfdc6779e57de40d0; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < fc902f52a02298c7432b2334c0c82a2885a1a8b6; >= 2793a23aacbd754dbbb5cb75093deb7e4103bace, < 3b9a324e646d3657a8d9806dfbfe4f3e4066e882; f58a6c08ebdfa978178bbca78c2ba744a2665912; …; Linux 4.6.
Is there a fix for CVE-2026-80731?
Yes. Fixed in Linux 53fd7f912c0877647d6a1e1877f5ea8535ee0b4a, Linux 8fc9816404166a90ed8d544dc52482fafffb6d9f, Linux 99df6b7a713f96eda206680d100b76e15f9d9b69, Linux 74e035f07f53feca09e2352e77fccb09cad5e208, Linux 3b9a324e646d3657a8d9806dfbfe4f3e4066e882. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-80731?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.