CVE-2025-38513 Affecting kernel-source package, versions <6.4.0-150600.23.70.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.04% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES156-KERNELSOURCE-13025194
  • published24 Sept 2025
  • disclosed23 Sept 2025

Introduced: 23 Sep 2025

NewCVE-2025-38513  (opens in a new tab)

How to fix?

Upgrade SLES:15.6 kernel-source to version 6.4.0-150600.23.70.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-source package and not the kernel-source package as distributed by SLES. See How to fix? for SLES:15.6 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

wifi: zd1211rw: Fix potential NULL pointer dereference in zd_mac_tx_to_dev()

There is a potential NULL pointer dereference in zd_mac_tx_to_dev(). For example, the following is possible:

    T0			    		T1

zd_mac_tx_to_dev() /* len == skb_queue_len(q) */ while (len > ZD_MAC_MAX_ACK_WAITERS) {

                  filter_ack()
                    spin_lock_irqsave(&amp;q-&gt;lock, flags);
                    /* position == skb_queue_len(q) */
                    for (i=1; i&lt;position; i++)
                          skb = __skb_dequeue(q)

                if (mac-&amp;gt;type == NL80211_IFTYPE_AP)
                  skb = __skb_dequeue(q);
                spin_unlock_irqrestore(&amp;amp;q-&amp;gt;lock, flags);

skb_dequeue() -&gt; NULL

Since there is a small gap between checking skb queue length and skb being unconditionally dequeued in zd_mac_tx_to_dev(), skb_dequeue() can return NULL. Then the pointer is passed to zd_mac_tx_status() where it is dereferenced.

In order to avoid potential NULL pointer dereference due to situations like above, check if skb is not NULL before passing it to zd_mac_tx_status().

Found by Linux Verification Center (linuxtesting.org) with SVACE.

CVSS Base Scores

version 3.1