NULL Pointer Dereference Affecting kernel-docs-html package, versions <6.12.0-160000.26.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server 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-SLES1600-KERNELDOCSHTML-15429635
  • published6 Mar 2026
  • disclosed27 Feb 2026

Introduced: 27 Feb 2026

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

How to fix?

Upgrade SLES:16.0.0 kernel-docs-html to version 6.12.0-160000.26.1 or higher.

NVD Description

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