CVE-2026-139092

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139093In the Linux kernel, the following vulnerability has been resolved: openvswitch: use eth_type_trans_careful() in internal_dev_recv() OVS aCVE-2026-139094In the Linux kernel, the following vulnerability has been resolved: net: use eth_type_trans_careful() in __dev_forward_skb2() A tc egress CVE-2026-139095In the Linux kernel, the following vulnerability has been resolved: loopback: use eth_type_trans_careful() tc egress actions can leave an CVE-2026-139096In the Linux kernel, the following vulnerability has been resolved: tcp: initialize mapped children before route lookup IPv4 passive opensCVE-2026-139097In the Linux kernel, the following vulnerability has been resolved: apparmor: fix check SCTP bind, and connect permission checks SCTP mediCVE-2026-1390987.8In the Linux kernel, the following vulnerability has been resolved: tcp: avoid double destroy in tcp_abort() of an unaccepted child tcp_abCVE-2026-139099In the Linux kernel, the following vulnerability has been resolved: net: bgmac: fix TX DMA unmapping and slot cleanup When mapping a fragmCVE-2026-13915.3The Vzaar Media Management plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in all versions up to, and including, 1.2 duCVE-2026-139106.5Insufficient policy enforcement in WebXR in Google Chrome on Android prior to 150.0.7871.47 allowed a remote attacker to leak cross-origin dCVE-2026-139100In the Linux kernel, the following vulnerability has been resolved: gro: do not GRO GSO packets with inconsistent payload tcp_gro_receive(CVE-2026-139101In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: hand XDP frags over to the copybreak skb With a multi-buffeCVE-2026-139102In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: free XDP frags when xdp_do_redirect() fails When xdp_do_red
CVE-2026-139092: Unscored | Vulnix