Vulnerability record
fs/proc: fix the write length returned by proc_sys_call_handler()
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…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources