CVE-2025-68759

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

State
Published
Severity
Not scored
Published
Jan 5, 2026
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f653211197f3841f383fa9757ef8ce182c6cf627 to before 3677c01891fb0239361e444afee8398868e34bdfAffected
  • f653211197f3841f383fa9757ef8ce182c6cf627 to before 89caaeee8dd95fae8bb4f4964e6fe3ca688500c4Affected
  • f653211197f3841f383fa9757ef8ce182c6cf627 to before a4fb7cca9837378878e6c94d9e7af019c8fdfcdbAffected
  • f653211197f3841f383fa9757ef8ce182c6cf627 to before bf8513dfa31ea015c9cf415796dca2113d293840Affected
  • f653211197f3841f383fa9757ef8ce182c6cf627 to before ee7db11742b30641f21306105ad27a275e3c61d7Affected
  • f653211197f3841f383fa9757ef8ce182c6cf627 to before a813a74570212cb5f3a7d3b05c0cb0cd00bace1dAffected
  • f653211197f3841f383fa9757ef8ce182c6cf627 to before c9d1c4152e6d32fa74034464854bee262a60bc43Affected
  • f653211197f3841f383fa9757ef8ce182c6cf627 to before 9b5b9c042b30befc5b37e4539ace95af70843473Affected
LinuxLinux
  • 2.6.25Affected
  • before 2.6.25Not affected
  • 5.10.248 through 5.10.*Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.63 through 6.12.*Not affected
  • 6.17.13 through 6.17.*Not affected
  • 6.18.2 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.