Bug 2427122 (CVE-2025-68759) - CVE-2025-68759 kernel: wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring()
Summary: CVE-2025-68759 kernel: wifi: rtl818x: Fix potential memory leaks in rtl8180_i...
Keywords:
Status: NEW
Alias: CVE-2025-68759
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-05 10:02 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-05 10:02:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.