wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring() (Linux Linux)

CVE-2025-68759
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 10 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring() In rtl8180_init_rx_ring(), memory is allocated for skb packets and DMA allocations in a loop. When an allocation fails, the previously successful allocations are not freed on exit. Fix that by jumping to err_free_rings label on error, which calls rtl8180_free_rx_ring() to free the allocations. Remove the free of rx_ring in rtl8180_init_rx_ring() error path, and set the freed priv->rx_buf entry to null, to avoid double free.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected f653211197f3841f383fa9757ef8ce182c6cf627 < 3677c01891fb0239361e444afee8398868e34bdf ; affected f653211197f3841f383fa9757ef8ce182c6cf627 < 89caaeee8dd95fae8bb4f4964e6fe3ca688500c4 ; affected f653211197f3841f383fa9757ef8ce182c6cf627 < a4fb7cca9837378878e6c94d9e7af019c8fdfcdb ; affected f653211197f3841f383fa9757ef8ce182c6cf627 < bf8513dfa31ea015c9cf415796dca2113d293840 ; affected f653211197f3841f383fa9757ef8ce182c6cf627 < ee7db11742b30641f21306105ad27a275e3c61d7 ; affected f653211197f3841f383fa9757ef8ce182c6cf627 < a813a74570212cb5f3a7d3b05c0cb0cd00bace1d
Linux · Linuxaffected 2.6.25 ; unaffected 0 < 2.6.25 ; unaffected 5.10.248 ≤ 5.10.* ; unaffected 5.15.198 ≤ 5.15.* ; unaffected 6.1.160 ≤ 6.1.* ; unaffected 6.6.120 ≤ 6.6.*

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