NULL Pointer Dereference Affecting kernel-uek-doc package, versions <0:5.15.0-313.189.5.1.el8uek


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.02% (4th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE8-KERNELUEKDOC-13541395
  • published13 Oct 2025
  • disclosed16 Aug 2025

Introduced: 16 Aug 2025

CVE-2025-38513  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Oracle:8 kernel-uek-doc to version 0:5.15.0-313.189.5.1.el8uek or higher.
This issue was patched in ELSA-2025-20716.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-uek-doc package and not the kernel-uek-doc package as distributed by Oracle. See How to fix? for Oracle:8 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