PT-2024-10070 · Linux+9 · Linux Kernel+9

Byeonguk Jeong

·

Publicado

2024-10-29

·

Atualizado

2025-10-03

·

CVE-2024-50262

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
O problema está relacionado a uma gravação fora dos limites na função trie get next key() do módulo bpf do kernel Linux. Isso ocorre quando a função aloca uma pilha de nós com tamanho trie->max prefixlen, mas grava (trie->max prefixlen + 1) nós na pilha quando ela contém caminhos completos da raiz até as folhas. Por exemplo, em uma árvore trie com max prefixlen definido como 8 e nós com chaves 0x00/0, 0x00/1, 0x00/2, ... 0x00/8 inseridos, chamadas subsequentes para trie get next key() com uma chave tendo .prefixlen = 8 podem fazer com que 9 nós sejam gravados na pilha de nós com tamanho 8. Isso pode afetar potencialmente a confidencialidade, integridade e disponibilidade de informações protegidas.
Recomendações
Para resolver o 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 trie get next key() até que um patch esteja disponível. Evite usar a função trie get next key() com chaves que tenham um .prefixlen igual a trie->max prefixlen para minimizar o risco de exploração.

Exploit

Correção

Memory Corruption

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

Enumeração de Fraquezas

Identificadores relacionados

ALSA-2024:11486
ALSA-2024_11486
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-15739
ALT-PU-2024-16040
ALT-PU-2024-16172
ALT-PU-2024-17099
ALT-PU-2024-17211
ALT-PU-2024-17891
ALT-PU-2025-12647
AZL-53042
AZL-53099
BDU:2025-00228
CVE-2024-50262
DLA-4008-1
DLA-4075-1
DSA-5818-1
INFSA-2024_11486
MGASA-2024-0368
MGASA-2024-0369
OESA-2024-2491
OESA-2024-2492
OESA-2024-2493
OESA-2024-2494
OESA-2024-2520
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2025:14705-1
OPENSUSE-SU-2025_0117-1
OPENSUSE-SU-2025_0153-1
OPENSUSE-SU-2025_0154-1
OPENSUSE-SU-2025_0201-1
OPENSUSE-SU-2025_0229-1
RHSA-2024:10942
RHSA-2024:11486
RHSA-2024_11486
SUSE-SU-2025:0117-1
SUSE-SU-2025:0153-1
SUSE-SU-2025:0154-1
SUSE-SU-2025:0201-1
SUSE-SU-2025:0201-2
SUSE-SU-2025:0229-1
SUSE-SU-2025:0236-1
SUSE-SU-2025:0289-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
SUSE-SU-2025_0201-1
SUSE-SU-2025_0201-2
SUSE-SU-2025_0236-1
USN-7276-1
USN-7277-1
USN-7288-1
USN-7288-2
USN-7289-1
USN-7289-2
USN-7289-3
USN-7289-4
USN-7291-1
USN-7293-1
USN-7294-1
USN-7294-2
USN-7294-3
USN-7294-4
USN-7295-1
USN-7305-1
USN-7308-1
USN-7310-1
USN-7331-1
USN-7388-1
USN-7389-1
USN-7390-1
USN-7393-1
USN-7401-1
USN-7413-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7468-1
USN-7523-1
USN-7524-1
USN-7539-1
USN-7540-1

Produtos afetados

Alt Linux
Almalinux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu