PT-2024-33961 · Linux+5 · Linux Kernel+5

Eric Dumazet

+2

·

Publicado

2024-10-17

·

Atualizado

2026-02-21

·

CVE-2024-50130

CVSS v3.1

7.8

Alta

VetorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Nome do software vulnerável e versões afetadas:
Versões do kernel Linux anteriores à 6.6.61
Descrição:
Foi identificado um bug do tipo “slab-use-after-free” no kernel Linux, especificamente no componente netfilter: bpf. Esse problema ocorre quando a função nf unregister net hook() é adiada após o momento de saída/fechamento, possivelmente devido a uma referência ausente no namespace de rede. O bug pode ser acionado por meio da função bpf nf link release(), levando a uma leitura de tamanho 8 em um endereço de memória específico. A análise de Eric sugere que a função bpf nf link attach() atribui link->net = net sem fazer uma referência ao namespace de rede, o que pode fazer com que o netns seja desmontado ou liberado prematuramente.
Recomendações:
Para resolver este problema, atualize o kernel do Linux para a versão 6.6.61 ou posterior. Como solução temporária, considere restringir o uso da função bpf nf link attach() até que um patch esteja disponível. Além disso, evite usar a variável link->net nos pontos de extremidade da API afetados até que o problema seja resolvido.

Exploit

Correção

Use After Free

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-15245
ALT-PU-2024-17211
ALT-PU-2025-12647
AZL-52332
BDU:2025-06986
CVE-2024-50130
INFSA-2025_6966
MGASA-2024-0368
MGASA-2024-0369
OESA-2024-2522
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4316-1
OPENSUSE-SU-2025:14705-1
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2024:4314-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7468-1
USN-7523-1
USN-7524-1

Produtos afetados

Alt Linux
Linuxmint
Linux Kernel
Red Hat
Suse
Ubuntu