PT-2026-163359
CVE-2026-139318
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾