CVE-2026-23255
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/03/2026
Last modified:
10/11/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: add proper RCU protection to /proc/net/ptype<br />
<br />
Yin Fengwei reported an RCU stall in ptype_seq_show() and provided<br />
a patch.<br />
<br />
Real issue is that ptype_seq_next() and ptype_seq_show() violate<br />
RCU rules.<br />
<br />
ptype_seq_show() runs under rcu_read_lock(), and reads pt->dev<br />
to get device name without any barrier.<br />
<br />
At the same time, concurrent writers can remove a packet_type structure<br />
(which is correctly freed after an RCU grace period) and clear pt->dev<br />
without an RCU grace period.<br />
<br />
Define ptype_iter_state to carry a dev pointer along seq_net_private:<br />
<br />
struct ptype_iter_state {<br />
struct seq_net_private p;<br />
struct net_device *dev; // added in this patch<br />
};<br />
<br />
We need to record the device pointer in ptype_get_idx() and<br />
ptype_seq_next() so that ptype_seq_show() is safe against<br />
concurrent pt->dev changes.<br />
<br />
We also need to add full RCU protection in ptype_seq_next().<br />
(Missing READ_ONCE() when reading list.next values)<br />
<br />
Many thanks to Dong Chenchen for providing a repro.
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:*:*:*:*:*:*:*:* | 2.6.12.1 (including) | 6.6.136 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.80 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.18.10 (excluding) |
| cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/002a73470b56848e4c81efeaaedd471e92d66d8d
- https://git.kernel.org/stable/c/589a530ae44d0c80f523fcfd1a15af8087f27d35
- https://git.kernel.org/stable/c/dcefd3f0b9ed8288654c75254bdcee8e1085e861
- https://git.kernel.org/stable/c/e974a10a52618f7f57a4bce173a0ed96acd4e5dc
- https://git.kernel.org/stable/c/f613e8b4afea0cd17c7168e8b00e25bc8d33175d
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html


