wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus() (Linux Linux)

CVE-2023-52594
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.25 % · centile 16 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus() Fix an array-index-out-of-bounds read in ath9k_htc_txstatus(). The bug occurs when txs->cnt, data from a URB provided by a USB device, is bigger than the size of the array txs->txstatus, which is HTC_MAX_TX_STATUS. WARN_ON() already checks it, but there is no bug handling code after the check. Make the function return if that is the case. Found by a modified version of syzkaller. UBSAN: array-index-out-of-bounds in htc_drv_txrx.c index 13 is out of range for type '__wmi_event_txstatus [12]' Call Trace: ath9k_htc_txstatus ath9k_wmi_event_tasklet tasklet_action_common __do_softirq irq_exit_rxu sysvec_apic_timer_interrupt

Faiblesses (CWE)

  • CWE-129 — Validation incorrecte d'un indice de tableau

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 27876a29de221186c9d5883e5fe5f6da18ef9a45 < f44f073c78112ff921a220d01b86d09f2ace59bc ; affected 27876a29de221186c9d5883e5fe5f6da18ef9a45 < f11f0fd1ad6c11ae7856d4325fe9d05059767225 ; affected 27876a29de221186c9d5883e5fe5f6da18ef9a45 < 84770a996ad8d7f121ff2fb5a8d149aad52d64c1 ; affected 27876a29de221186c9d5883e5fe5f6da18ef9a45 < 9003fa9a0198ce004b30738766c67eb7373479c9 ; affected 27876a29de221186c9d5883e5fe5f6da18ef9a45 < 25c6f49ef59b7a9b80a3f7ab9e95268a1b01a234 ; affected 27876a29de221186c9d5883e5fe5f6da18ef9a45 < e4f4bac7d3b64eb75f70cd3345712de6f68a215d
Linux · Linuxaffected 3.0 ; unaffected 0 < 3.0 ; unaffected 4.19.307 ≤ 4.19.* ; unaffected 5.4.269 ≤ 5.4.* ; unaffected 5.10.210 ≤ 5.10.* ; unaffected 5.15.149 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD