net: raw: fix ICMP unreachable sent when receive queue is full
Summary
| CVE | CVE-2026-143225 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:18:01 UTC |
| Updated | 2026-12-03 10:18:01 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
net: raw: fix ICMP unreachable sent when receive queue is full
It's found in a raw socket application. When the application doesn't
read packets in time, the client receives ICMP Protocol Unreachable,
which makes the client abort the session.
The reason is that the server hits the sk_rcvbuf limit, and
raw_v4_input() skips the socket before setting 'delivered', so it
returns 0. Then ip_protocol_deliver_rcu() sees 'raw' is 0, thinks no one
handles this protocol and calls icmp_send() to send ICMP Protocol
Unreachable.
IPv6 has the same issue, ip6_protocol_deliver_rcu() sends ICMPv6
Parameter Problem instead.
Also, we'd better run icmp_filter() and ip_mc_sf_allow() (icmpv6_filter()
for IPv6) before we check sk_rcvbuf, otherwise packets rejected by
ICMP_FILTER/ICMPV6_FILTER or the multicast filter are counted in
sk_drops. So move the check right before skb_clone(). |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 026763ece881b4c636173c25d012cde085689027 3c375c11b9b1ec1d539d80632652e835aa6ec36e git |
Not specified |
| CNA |
Linux |
Linux |
affected 026763ece881b4c636173c25d012cde085689027 943450de8fc7679859dbdaa201b46b2f7ebfb019 git |
Not specified |
| CNA |
Linux |
Linux |
affected 026763ece881b4c636173c25d012cde085689027 45441a94d50200f1478c52857725e6df624bf2ad git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.9 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.9 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.66 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.7 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/45441a94d50200f1478c52857725e6df624bf2ad |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/943450de8fc7679859dbdaa201b46b2f7ebfb019 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3c375c11b9b1ec1d539d80632652e835aa6ec36e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.