PT-2026-166962

CVE-2026-143107

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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().
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾