lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2026010550-CVE-2025-68759-8638@gregkh>
Date: Mon,  5 Jan 2026 10:32:55 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-68759: wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring()

From: Greg Kroah-Hartman <gregkh@...nel.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.

The Linux kernel CVE team has assigned CVE-2025-68759 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 2.6.25 with commit f653211197f3841f383fa9757ef8ce182c6cf627 and fixed in 6.12.63 with commit ee7db11742b30641f21306105ad27a275e3c61d7
	Issue introduced in 2.6.25 with commit f653211197f3841f383fa9757ef8ce182c6cf627 and fixed in 6.17.13 with commit a813a74570212cb5f3a7d3b05c0cb0cd00bace1d
	Issue introduced in 2.6.25 with commit f653211197f3841f383fa9757ef8ce182c6cf627 and fixed in 6.18.2 with commit c9d1c4152e6d32fa74034464854bee262a60bc43
	Issue introduced in 2.6.25 with commit f653211197f3841f383fa9757ef8ce182c6cf627 and fixed in 6.19-rc1 with commit 9b5b9c042b30befc5b37e4539ace95af70843473

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-68759
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/ee7db11742b30641f21306105ad27a275e3c61d7
	https://git.kernel.org/stable/c/a813a74570212cb5f3a7d3b05c0cb0cd00bace1d
	https://git.kernel.org/stable/c/c9d1c4152e6d32fa74034464854bee262a60bc43
	https://git.kernel.org/stable/c/9b5b9c042b30befc5b37e4539ace95af70843473

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ