staging: rtl8723bs: fix xmit_frame/xmit_buf leaks on mgnt-frame error paths (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.16 % · centile 5 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Undergoing Analysis
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix xmit_frame/xmit_buf leaks on mgnt-frame error paths issue_beacon(), issue_probersp() and issue_asocrsp() obtain a management xmit_frame together with its xmit_buf from the driver's fixed-size management-TX pools via alloc_mgtxmitframe(). On the normal path the frame is handed to dump_mgntframe(), which transfers ownership and eventually returns both objects to their pools (the frame and, for beacons, the buf in rtl8723bs_mgnt_xmit(); other bufs via the pending-xmitbuf/TX-completion path). Several error/edge paths return early after a successful alloc_mgtxmitframe() but before dump_mgntframe(), so ownership is never transferred and neither object is freed: - issue_beacon(): beacon larger than 512 bytes - issue_probersp(): cur_network->ie_length > MAX_IE_SZ - issue_probersp(): kzalloc() of the SSID scratch buffer fails - issue_asocrsp(): pkt_type is neither ASSOCRSP nor REASSOCRSP Because alloc_mgtxmitframe() removes the frame and buf from their free lists (list_del_init) without placing them on any pending list, an orphaned pair is on no list and referenced by nobody, so it is only reclaimed at driver teardown. Repeated hits progressively exhaust the management-TX pools until alloc_mgtxmitframe() returns NULL and the interface can no longer send beacons or probe/assoc responses. Free the frame and buffer on these paths, matching the existing correct error handling in issue_assocreq().
Faiblesses (CWE)
- CWE-401 — Mémoire non libérée après sa durée de vie utile
Références
- https://git.kernel.org/stable/c/973a629f19c226c8f6080badea7ccf59cc04233f
- https://git.kernel.org/stable/c/17260b5215d4ced17a733e2c027a76290e476fad
- https://git.kernel.org/stable/c/2f5e2752c2b4bad01df4523cfe2b41b702c60f00
- https://git.kernel.org/stable/c/6c9f6a3b9fdd31a0836b681053155b5997c0156e
- https://git.kernel.org/stable/c/c48e5aa01525577d6b6e782962a5bfb0e1535cb5
- https://git.kernel.org/stable/c/41b8209376dffbd7b0b85c8bc4697d9166ac62ef
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2026-87056
- GCVE · GCVE-0-2026-100076
Avis du CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.12 < 6.18.52cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 7.2.6
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 973a629f19c226c8f6080badea7ccf59cc04233f affectée : ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 17260b5215d4ced17a733e2c027a76290e476fad affectée : ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 2f5e2752c2b4bad01df4523cfe2b41b702c60f00 affectée : ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 6c9f6a3b9fdd31a0836b681053155b5997c0156e affectée : ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b < c48e5aa01525577d6b6e782962a5bfb0e1535cb5 affectée : ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 41b8209376dffbd7b0b85c8bc4697d9166ac62ef Autres versions : non affectée |
| Linux · Linux | affectée : 4.12 non affectée : ≥ 0 < 4.12 non affectée : ≥ 6.1.191 ≤ 6.1.* non affectée : ≥ 6.6.160 ≤ 6.6.* non affectée : ≥ 6.12.114 ≤ 6.12.* non affectée : ≥ 6.18.52 ≤ 6.18.* non affectée : ≥ 7.2.6 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |