PT-2026-163098
CVE-2026-139057
·
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:
wifi: rtw88: fix out-of-bounds CAM write when key table is full
In rtw ops set key(), when the CAM table is full,
rtw sec get free cam() returns RTW MAX SEC CAM NUM (32) because
find next zero bit()/find first zero bit() return the bitmap size
when no free slot exists. The bounds check compares the returned
index with ">" against total cam num (32), so the invalid index 32
passes the check.
rtw sec write cam() then indexes cam table[32], an array declared
with RTW MAX SEC CAM NUM (32) entries, causing an out-of-bounds
write that corrupts the cam map allocation bitmap. The write also
sets bit 32 of cam map, which overruns the bitmap as well.
Fix the off-by-one by rejecting indices >= total cam num.
Tested on: RTL8821CE (PCIe) on kernel
7.2.0-rc6-rtw88test-00059-g0d8395707651. The patched module loaded
and associated to a WPA2 network; ping traffic passed with 0% packet
loss. Reassociation and disconnect/reconnect cycles completed
without errors, and the CAM table (debugfs dump cam) showed valid
key entries. The CAM-full boundary (28+ pairwise keys) requires an
access point with 28+ clients and is not reachable in a
single-client setup, so that path was verified by code inspection.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾