GPU VulnDB

Database/Kernel, userspace & hypervisor

Linux kernel (net/tls): A BPF verdict that grows the scatterlist (bpf_msg_push_data) combined with a cork_bytes setting

CVE-2025-38166Kernel, userspace & hypervisorcurated

Impact

A BPF verdict that grows the scatterlist (bpf_msg_push_data) combined with a cork_bytes setting makes kTLS roll back to the non-zerocopy path with a reset msg_iter but an already-grown sg.size. The revert walks past the end of the iterator and hits a hard BUG() in iov_iter_revert - an immediate kernel panic on a shared node.

Who can reach it

Needs a sockmap/sk_msg BPF program with cork_bytes set attached to a kTLS TX socket, then any sendmsg/sendto on that socket. Attaching needs CAP_BPF (CNI, service-mesh sidecar, or a tenant granted BPF); once attached, ordinary tenant sends trigger the panic. Not reachable from a plain unprivileged container with no BPF access.

What to do

Boot a kernel carrying the linked stable commits. Interim: do not grant CAP_BPF to tenant containers, and remove sk_msg programs that push data on corked kTLS sockets.

References

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.