CVE-2026-139092
publishednetlink: check sk_rcvbuf before charging the dump skb
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc4ceaac5c5ba0b992ee1dc88e2a02421549e5c98 to < fa98c8e74c1e58f3ab20c4cbc74c4792d48176b2 · fd69af06101090eaa60b3d216ae715f9c0a58e5b to < ba645fbee74d79f166e1e35f32cef2c6cdd006e9 · 76602d8e13864524382b0687dc32cd8f19164d5a to < b17baf4738995a5489bc4bc2bc6d8f019ad674d4 · 55baecb9eb90238f60a8350660d6762046ebd3bd to < 92e09e0a575ae72e775aea9e896764c958593426 · 4b8e18af7bea92f8b7fb92d40aeae729209db250 to < 665144f559d860edc24449c163e2ae1d17b592f3 · ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc to < 68c445196b132f686c6b94a4b822b7f1aee77939 · ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc to < b8848da3e0278723d02a6736949977464dc74ece · ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc to < b45d37740cfb4bdfccef3fbd9fd970fd3224438f · 9da025150b7c14a8390fc06aea314c0a4011e82c · cd7ff61bfffd7000143c42bbffb85eeb792466d6 · 5.10.240 to < 5.10.275 · 5.15.189 to < 5.15.226 · 6.1.146 to < 6.1.193 · 6.6.99 to < 6.6.163 · 6.12.39 to < 6.12.119 · 5.4.296 to < 5.5 · 6.15.7 to < 6.16 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: netlink: check sk_rcvbuf before charging the dump skb Since commit ae8f160e7eb2 ("netlink: Fix wraparounds of sk->sk_rmem_alloc."), netlink_dump() charges the dump skb first and queues it only if sk_rmem_alloc is still below sk_rcvbuf. Commit a215b5723922 ("netlink: make sure we allow at least one dump skb") added an exception for an empty socket. A dump that starts while something else is still charged to a socket with a small receive buffer fails with ENOBUFS and stays running. Every recvmsg() retries it, fails again and sets sk_err, so a reader that peeks before reading, as libnl does, gets ENOBUFS on the read after each peek, never consumes the message at the head of the queue and spins forever. I hit this with "iw dev wlan0 scan" hanging at 100% CPU on an arm64 board with a 6.6 based kernel (iw 5.19 sets SO_RCVBUF to 8KiB). A kprobe trace showed the scan dump starting while the NEW_SCAN_RESULTS notification iw had just read was still charged to its socket, because iw had preempted the sender before netlink_broadcast() returned. Check the limit before charging, as before ae8f160e7eb2, which also covers the empty socket. netlink_recvmsg() continues a dump only at or below half of sk_rcvbuf, so the skb is then always queued, and a dump goes over the limit by at most one skb. Refuse a skb that would take sk_rmem_alloc past INT_MAX, so the wraparound stays fixed. Reproduced on net in a KVM guest with a userspace reproducer and the selftest in the next patch; both pass with this fix.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c4ceaac5c5ba0b992ee1dc88e2a02421549e5c98 to < fa98c8e74c1e58f3ab20c4cbc74c4792d48176b2 (affected · git)fd69af06101090eaa60b3d216ae715f9c0a58e5b to < ba645fbee74d79f166e1e35f32cef2c6cdd006e9 (affected · git)76602d8e13864524382b0687dc32cd8f19164d5a to < b17baf4738995a5489bc4bc2bc6d8f019ad674d4 (affected · git)55baecb9eb90238f60a8350660d6762046ebd3bd to < 92e09e0a575ae72e775aea9e896764c958593426 (affected · git)4b8e18af7bea92f8b7fb92d40aeae729209db250 to < 665144f559d860edc24449c163e2ae1d17b592f3 (affected · git)ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc to < 68c445196b132f686c6b94a4b822b7f1aee77939 (affected · git)ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc to < b8848da3e0278723d02a6736949977464dc74ece (affected · git)ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc to < b45d37740cfb4bdfccef3fbd9fd970fd3224438f (affected · git)9da025150b7c14a8390fc06aea314c0a4011e82c (affected · git)cd7ff61bfffd7000143c42bbffb85eeb792466d6 (affected · git)5.10.240 to < 5.10.275 (affected · semver)5.15.189 to < 5.15.226 (affected · semver)6.1.146 to < 6.1.193 (affected · semver)6.6.99 to < 6.6.163 (affected · semver)6.12.39 to < 6.12.119 (affected · semver)5.4.296 to < 5.5 (affected · semver)6.15.7 to < 6.16 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/665144f559d860edc24449c163e2ae1d17b592f3
- https://git.kernel.org/stable/c/68c445196b132f686c6b94a4b822b7f1aee77939
- https://git.kernel.org/stable/c/92e09e0a575ae72e775aea9e896764c958593426
- https://git.kernel.org/stable/c/b17baf4738995a5489bc4bc2bc6d8f019ad674d4
- https://git.kernel.org/stable/c/b45d37740cfb4bdfccef3fbd9fd970fd3224438f
- https://git.kernel.org/stable/c/b8848da3e0278723d02a6736949977464dc74ece
- https://git.kernel.org/stable/c/ba645fbee74d79f166e1e35f32cef2c6cdd006e9
- https://git.kernel.org/stable/c/fa98c8e74c1e58f3ab20c4cbc74c4792d48176b2
Provider assertions
1Linux · cna
netlink: check sk_rcvbuf before charging the dump skb
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa03f195c3051a87b41f3e589502bb9bac5548b2bf2f9bc67a750ee44fa541e9
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record