CVE-2025-21954
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
01/04/2025
Last modified:
31/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
netmem: prevent TX of unreadable skbs<br />
<br />
Currently on stable trees we have support for netmem/devmem RX but not<br />
TX. It is not safe to forward/redirect an RX unreadable netmem packet<br />
into the device&#39;s TX path, as the device may call dma-mapping APIs on<br />
dma addrs that should not be passed to it.<br />
<br />
Fix this by preventing the xmit of unreadable skbs.<br />
<br />
Tested by configuring tc redirect:<br />
<br />
sudo tc qdisc add dev eth1 ingress<br />
sudo tc filter add dev eth1 ingress protocol ip prio 1 flower ip_proto \<br />
tcp src_ip 192.168.1.12 action mirred egress redirect dev eth1<br />
<br />
Before, I see unreadable skbs in the driver&#39;s TX path passed to dma<br />
mapping APIs.<br />
<br />
After, I don&#39;t see unreadable skbs in the driver&#39;s TX path passed to dma<br />
mapping APIs.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.12 (including) | 6.12.20 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.13.8 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



