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.
History

Mon, 05 Jan 2026 12:15:00 +0000


Mon, 05 Jan 2026 10:00:00 +0000

Type Values Removed Values Added
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.
Title wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-01-05T09:32:32.174Z

Reserved: 2025-12-24T10:30:51.033Z

Link: CVE-2025-68759

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-05T10:15:57.010

Modified: 2026-01-05T10:15:57.010

Link: CVE-2025-68759

cve-icon Redhat

Severity :

Publid Date: 2026-01-05T00:00:00Z

Links: CVE-2025-68759 - Bugzilla

cve-icon OpenCVE Enrichment

No data.