CVE-2026-139092
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-139092 NameCVE-2026-139092 DescriptionIn 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…
CVE-2026-139092
| Name | CVE-2026-139092 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bookworm | 6.1.176-1 | vulnerable |
| bookworm (security) | 6.1.192-3 | vulnerable | |
| trixie | 6.12.117-1 | vulnerable | |
| trixie (security) | 6.12.118-1 | vulnerable | |
| forky, sid | 7.3.6-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | (unstable) | 7.3.6-1 |
Notes
https://git.kernel.org/linus/b45d37740cfb4bdfccef3fbd9fd970fd3224438f (7.4-rc1)
Apply commands
https://git.kernel.org/linus/b45d37740cfb4bdfccef3fbd9fd970fd3224438f (7.4-rc1)
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Affected | — |
| sid | linux |
Fixed | 7.3.6-1 |
| forky | linux |
Fixed | 7.3.6-1 |
| bookworm | linux |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | {"startIncluding":"5.10.240","endExcluding":"5.10.275"} | 5.10.275 |
| linux | linux | {"startIncluding":"5.15.189","endExcluding":"5.15.226"} | 5.15.226 |
| linux | linux | {"startIncluding":"6.1.146","endExcluding":"6.1.193"} | 6.1.193 |
| linux | linux | {"startIncluding":"6.6.99","endExcluding":"6.6.163"} | 6.6.163 |
| linux | linux | {"startIncluding":"6.12.39","endExcluding":"6.12.119"} | 6.12.119 |
| linux | linux | {"startIncluding":"5.4.296","endExcluding":"5.5"} | 5.5 |
| linux | linux | {"startIncluding":"6.15.7","endExcluding":"6.16"} | 6.16 |
| linux | linux | 6.16 | |
References
- 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
- https://security-tracker.debian.org/tracker/CVE-2026-139092
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.