CVE-2026-143107

Not scored yetLast modified Dec 3, 2026

Description

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().

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143108In the Linux kernel, the following vulnerability has been resolved: fs/adfs: bound directory entry name length in adfs_fplus_getnext() adfCVE-2026-143109In the Linux kernel, the following vulnerability has been resolved: dcache: let umount find a disconnected ex-mountpoint When a mount goesCVE-2026-143115.4The Booking for Appointments and Events Calendar – Amelia plugin for WordPress is vulnerable to unauthorized access and modification of dataCVE-2026-143110In the Linux kernel, the following vulnerability has been resolved: dcache: wait for a racing eviction of a secondary root Commit e9895609CVE-2026-143111In the Linux kernel, the following vulnerability has been resolved: dcache: let d_invalidate() wait for a d_set_mounted() in flight d_invaCVE-2026-143112In the Linux kernel, the following vulnerability has been resolved: crypto: essiv - fix use-after-free in AEAD path The request that ESSIVCVE-2026-143113In the Linux kernel, the following vulnerability has been resolved: crypto: caam - reject overlong RSA CRT parameters caam_read_rsa_crt() CVE-2026-143114In the Linux kernel, the following vulnerability has been resolved: cgroup: arm the notify timer only while the file exists cgroup_rm_fileCVE-2026-143115In the Linux kernel, the following vulnerability has been resolved: cgroup/freezer: Fix exiting tasks left frozen forever after rmdir SincCVE-2026-143116In the Linux kernel, the following vulnerability has been resolved: cgroup/freezer: walk exiting tasks in the v1 freezer An exiting task cCVE-2026-143117In the Linux kernel, the following vulnerability has been resolved: cgroup/cpuset: Don't revive invalid partition without active CPU on hotCVE-2026-143118In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Keep recvmsg from resuming a closed channel Reading
CVE-2026-143107: Unscored | Vulnix