EnvMap GitHub

CVE-2026-143107

fs/proc: fix the write length returned by proc_sys_call_handler()

Not scored yetEPSS 0.40%Received

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

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 4e63acdff864654cee0ac5aaeda3913798ee78f6 before 5bbe4236551e90b6dc1726c1dc9; from 4e63acdff864654cee0ac5aaeda3913798ee78f6 before 320b18a1d5fc8e3d1c0bc9bc85b; from 4e63acdff864654cee0ac5aaeda3913798ee78f6 before d53648ba26a19a7b9941baeaf29; from 4e63acdff864654cee0ac5aaeda3913798ee78f6 before ff5b00fdf78b7bd95b651beb9ea; 5.2

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.40% chance of exploitation in the next 30 days, higher than 36% of all CVEs (as of 4 December 2026).

References

Record

Published10:17 UTC, 3 December 2026
Last changed10:17 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143107 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.