PT-2026-163359
CVE-2026-139318
·
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: Read the probe of a perf event under event mutex
For a perf event on a kprobe or uprobe event which was made in tracefs,
bpf get kprobe info() and bpf get uprobe info() look the probe up by
name in the list of dynamic events, and hand a pointer to its symbol or
file name back to the caller. None of the callers holds event mutex.
The perf event keeps its trace event alive, nothing else. Other dynamic
events are removed from the list and freed during the walk. And a probe
which shares its event with other probes can be deleted while the event
is in use, so even the probe which is found can be freed, together with
the string, before the caller has measured and copied it. The result is
a use-after-free in the walk, in strlen() and in the copy to user space,
or a NULL pointer dereference.
The readers are BPF OBJ GET INFO BY FD and fdinfo of a perf link, for
whoever holds a descriptor of the link, and BPF TASK FD QUERY. The other
side is anybody who may write to dynamic events, kprobe events or
uprobe events.
Take event mutex in bpf get perf event info() and give the caller a copy
of the name, which it has to free.
Found an issue in the description? Have something to add? Feel free to write us 👾