PT-2026-61186 · Linux · Linux
CVE-2026-63869
·
Publicado
2026-07-19
·
Atualizado
2026-07-19
CVSS v3.1
7.6
Alta
| Vetor | AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: limit injected antenna index in ieee80211 parse tx radiotap
When parsing the radiotap header of an injected frame,
ieee80211 parse tx radiotap() uses the IEEE80211 RADIOTAP ANTENNA value
directly as a shift count:
info->control.antennas |= BIT(*iterator.this arg);*iterator.this arg is an 8-bit value taken straight from the frame
supplied by userspace, so BIT() can be asked to shift by up to 255. That
is undefined behaviour on the unsigned long and is reported by UBSAN:
UBSAN: shift-out-of-bounds in net/mac80211/tx.c:2174:30
shift exponent 235 is too large for 64-bit type 'unsigned long'
Call Trace:
ieee80211 parse tx radiotap+0xadb/0x1950 net/mac80211/tx.c:2174
ieee80211 monitor start xmit+0xb1f/0x1250 net/mac80211/tx.c:2451
...
packet sendmsg+0x3eb6/0x50f0 net/packet/af packet.c:3109
info->control.antennas is a 2-bit bitmap (u8 antennas:2), so only antenna
indices 0 and 1 can ever be represented. Ignore any larger value instead
of shifting out of bounds.
Correção
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux