{"id":"CVE-2026-139780","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:20:11.270","lastModified":"2026-11-30T14:20:11.270","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject oversized stream read buffers\n\nBPF_PROG_STREAM_READ_BY_FD exposes stream_buf_len as a u32, but the\ninternal stream reader accepts an int. Values above INT_MAX therefore\nbecome negative before bpf_stream_read(), producing negative consumption\nlengths. The generic usercopy size check prevents the oversized copy, but\nemits a warning and reports EFAULT for an unchecked argument.\n\nChange bpf_prog_stream_read() to accept u32 and reject values that the\nsigned reader cannot represent."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["include/linux/bpf.h","kernel/bpf/stream.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5ab154f1463a111e1dc8fd5d31eaa7a2a71fe2e6","lessThan":"7880e414421f6317533c14e0ec686f16e71a6888","versionType":"git","status":"affected"},{"version":"5ab154f1463a111e1dc8fd5d31eaa7a2a71fe2e6","lessThan":"589278b9f5b5a9d16357f9dc703d5911165e43a9","versionType":"git","status":"affected"},{"version":"5ab154f1463a111e1dc8fd5d31eaa7a2a71fe2e6","lessThan":"ea0b60fae724aa1147d4a07eda5131d3a9a9977e","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["include/linux/bpf.h","kernel/bpf/stream.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/589278b9f5b5a9d16357f9dc703d5911165e43a9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7880e414421f6317533c14e0ec686f16e71a6888","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ea0b60fae724aa1147d4a07eda5131d3a9a9977e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}