Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-38513

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

Overview

Published
16 Aug 2025
Modified
17 Jun 2026
Medium CVE
0 Registry packages
211 OS packages
11 Linux distributions
Yes Fix available

Description

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(&q->lock, flags);
                /* position == skb_queue_len(q) */
                for (i=1; i<position; i++)
                skb = __skb_dequeue(q)

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

    skb_dequeue() -> 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.

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-476

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 98 fixes

Azure Linux 1 release · 1 package

fixed 1
kernel
Azure Linux fixes for CVE-2025-38513
ReleasePackageFixed in
3.0 kernel 0:6.6.104.2-1.azl3

Oracle Linux 3 releases · 2 packages

fixed 4
kernel-uek bpftool
Oracle Linux fixes for CVE-2025-38513
ReleasePackageFixed in
7 kernel-uek +7 5.4.17-2136.348.3.el7uek
8 bpftool +13 5.15.0-313.189.5.1.el8uek
9 bpftool +3 5.15.0-313.189.5.1.el9uek
9 kernel-uek +34 6.12.0-103.40.4.1.el9uek

Photon OS 2 releases · 1 package

fixed 2
bpftool
Photon OS fixes for CVE-2025-38513
ReleasePackageFixed in
4.0 bpftool +9 5.10.240-1.ph4
5.0 bpftool +10 6.1.147-1.ph5

SUSE Linux Enterprise 4 releases · 10 packages

fixed 16
kgraft-patch-4-12-14-122-272-default cluster-md-kmp-default kernel-livepatch-6-4-0-150600-10-52-rt kernel-livepatch-6-4-0-150600-23-70-default kernel-default-base kernel-azure +4
SUSE Linux Enterprise fixes for CVE-2025-38513
ReleasePackageFixed inAdvisory
12.5 kgraft-patch-4-12-14-122-272-default 1-8.3.1 SUSE-SU-2025:03204-1
12.5 cluster-md-kmp-default +13 4.12.14-122.272.1 SUSE-SU-2025:03204-1
15.6 kernel-livepatch-6-4-0-150600-10-52-rt 1-150600.1.3.1 SUSE-SU-2025:03272-1
15.6 kernel-livepatch-6-4-0-150600-23-70-default 1-150600.13.3.2 SUSE-SU-2025:03301-1
15.6 cluster-md-kmp-default +18 6.4.0-150600.23.70.1 SUSE-SU-2025:03301-1
15.6 kernel-default-base 6.4.0-150600.23.70.1.150600.12.30.2 SUSE-SU-2025:03301-1

10 more rows

SUSE Linux Enterprise Micro 3 releases · 4 packages

fixed 8
kernel-default kernel-default-base kernel-devel-rt kernel-64kb
SUSE Linux Enterprise Micro fixes for CVE-2025-38513
ReleasePackageFixed inAdvisory
6.0 kernel-default +5 6.4.0-34.1 SUSE-SU-2025:20653-1
6.0 kernel-default-base 6.4.0-34.1.21.11 SUSE-SU-2025:20653-1
6.0 kernel-devel-rt +3 6.4.0-36.1 SUSE-SU-2025:20739-1
6.1 kernel-default +6 6.4.0-34.1 SUSE-SU-2025:20669-1
6.1 kernel-default-base 6.4.0-34.1.21.11 SUSE-SU-2025:20669-1
6.1 kernel-devel-rt +4 6.4.0-36.1 SUSE-SU-2025:20756-1

2 more rows

debian 4 releases · 2 packages

fixed 5
linux linux-6-1
debian fixes for CVE-2025-38513
ReleasePackageFixed in
11 linux 5.10.244-1
11 linux-6-1 6.1.153-1~deb11u1
12 linux 6.1.147-1
13 linux 6.12.41-1
14 linux 6.16.3-1

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2025-38513
ReleasePackageFixed in
linux 1

openSUSE Leap 1 release · 2 packages

fixed 2
cluster-md-kmp-64kb kernel-default-base
openSUSE Leap fixes for CVE-2025-38513
ReleasePackageFixed inAdvisory
16.0 cluster-md-kmp-64kb +74 6.12.0-160000.26.1 openSUSE-SU-2026:20287-1
16.0 kernel-default-base 6.12.0-160000.26.1.160000.2.7 openSUSE-SU-2026:20287-1

root.io debian 3 releases · 1 package

fixed 3
linux
root.io debian fixes for CVE-2025-38513
ReleasePackageFixed in
11 linux +1 5.10.244-1
12 linux +1 6.1.147-1
13 linux +1 6.12.41-1

root.io ubuntu 2 releases · 2 packages

fixed 2
rootio-linux linux
root.io ubuntu fixes for CVE-2025-38513
ReleasePackageFixed in
22.04 rootio-linux 5.15.0-156.166
24.04 linux +1 6.8.0-100.100

ubuntu 4 releases · 42 packages

affected 3 fixed 51
linux linux-nvidia-tegra-5-15 linux-ibm-5-15 linux-riscv-5-15 linux-intel-iotg-5-15 linux-oracle-5-15 +36
ubuntu fixes for CVE-2025-38513
ReleasePackageFixed in
18.04-ESM linux +12 affected
20.04-ESM linux +10 affected
20.04-ESM linux-nvidia-tegra-5-15 5.15.0-1045.45~20.04.1
20.04-ESM linux-ibm-5-15 5.15.0-1086.89~20.04.1
20.04-ESM linux-riscv-5-15 5.15.0-1087.91~20.04.1
20.04-ESM linux-intel-iotg-5-15 5.15.0-1087.93~20.04.1

48 more rows

References

Show all 48 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.