Linux kernel sysctl write length error after BPF value change
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 5 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
Linux kernel versions from 5.2 are affected through the sysctl write path. The proc_sys_call_handler() function can return a write length larger than the data it read when a cgroup/sysctl BPF program replaces the new value with a longer one. A splice of that write into a pipe can then walk past the pipe head and crash the kernel with a general protection fault.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: fs/proc: fix the write length returned by proc_sys_call_handler() proc_sys_call_handler() reads the write length from iov_iter_count() and copies that many bytes from the iterator into kbuf. A cgroup/sysctl BPF program can replace the new value through bpf_sysctl_set_new_value() and update count to the length of the replacement value. The handler then returns that adjusted count as the number of bytes written, even though the iterator originally held a different number of bytes. If the replacement value is longer than the original input, ->write_iter() reports more bytes than the iterator held. splice(2) passes that value to iter_file_splice_write(), which subtracts it from the pipe length and walks past the pipe head: Splice Exceeded! ret=7 tot=1 left=0 Oops: general protection fault RIP: 0010:iter_file_splice_write+0xb6f/0x1170 The write path consumes at most the original iterator length in copy_from_iter_full() before the BPF hook runs. Return the smaller of the adjusted and original counts on the write path, so an expanded BPF value cannot exceed the iterator while a handler that reports a shorter parsed length still produces a short write. The read path keeps using the adjusted count for copy_to_iter().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade the Linux kernel to the fixed version for its branch: 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7 or 7.4-rc3. Red Hat's plan for Red Hat Enterprise Linux 8, 9 and 10 and for Red Hat OpenShift Container Platform 4 and 5 is none available.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA Linux (Linux) Fixed in 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-12-03 Threatist record created from CVE-2026-143107
- 2026-12-03 Alias added: GHSA-9p8x-mp32-pxf8
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
References
Other 6
- https://git.kernel.org/stable/c/5bbe4236551e90b6dc1726c1dc90938c983019f4
- https://git.kernel.org/stable/c/320b18a1d5fc8e3d1c0bc9bc85bad9f385febe02
- https://git.kernel.org/stable/c/d53648ba26a19a7b9941baeaf29e3ce5eccda467
- https://git.kernel.org/stable/c/ff5b00fdf78b7bd95b651beb9ea704a0be8d5be7
- https://git.kernel.org/stable/c/c8384cc688e7c22ad955369dad56e98503b93f82
- https://git.kernel.org/stable/c/fbdc020ee1b82079102e493aaa7200de5f497a38
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-143107 · CVE Program
- CVE-2026-143107 · NVD
- FIRST EPSS
- GHSA-9p8x-mp32-pxf8 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-143107 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences