PT-2026-163353
CVE-2026-139312
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo 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:
bpf: Fix NULL deref in the sk storage map iterator
bpf sk storage map seq find next() hands out an element only if its
local storage pointer is set. bpf sk storage map seq show() then reads
the pointer a second time and dereferences it without a test.
Since bpf local storage destroy() unlinks the elements with
bpf selem unlink nofail(), the pointer is reset to NULL when the socket
which owns the element is destroyed, so it can change between the two
reads. Reading the iterator while sockets with an element in the map are
closed ends in a NULL pointer dereference. The sockets need not belong to
the reader: where a program gives every new socket an element, an
unprivileged user who opens and closes sockets is enough.
Skip such an element, as the TCP and UDP iterators skip a socket which
has been unhashed.
Found an issue in the description? Have something to add? Feel free to write us 👾