Read the docs

Netlink dump charges skb before receive buffer check in Linux kernel

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA.

Summary

The Linux kernel netlink dump code charges the dump skb to the socket before checking the receive buffer limit, so a dump that starts while the socket is still charged with other data fails with ENOBUFS and keeps retrying. This affects Linux kernel versions from 5.10.240 before 5.10.275, from 5.15.189 before 5.15.226, from 6.1.146 before 6.1.193, from 6.6.99 before 6.6.163, from 6.12.39 before 6.12.119, from 5.4.296 before 5.5, from 6.15.7 before 6.16, and from 6.16 until the fixed releases. A reader on a socket with a small receive buffer can be left in a loop that consumes 100% CPU.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Fix Fixed Linux (Linux): 5.10.275, 5.15.226, 6.1.193 +7

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.10.240 to before 5.10.275; 5.15.189 to before 5.15.226; 6.1.146 to before 6.1.193; 6.6.99 to before 6.6.163; 6.12.39 to before 6.12.119; 5.4.296 to before 5.5; 6.15.7 to before 6.165.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 5.5, 6.16Patch availableCNA
LinuxLinux6.16 and later5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 5.10.240 to before 5.10.275; 5.15.189 to before 5.15.226; 6.1.146 to before 6.1.193; 6.6.99 to before 6.6.163; 6.12.39 to before 6.12.119; 5.4.296 to before 5.5; 6.15.7 to before 6.16 Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 5.5, 6.16 Patch available CNA
  • Linux VendorLinux Affected 6.16 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Upgrade the Linux kernel to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 5.5, 6.16, 6.18.65, 7.3.6 or 7.4-rc1.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 5.5, 6.16
  • Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-139092
  2. 2026-11-30 Alias added: GHSA-vfg6-x7h6-7wp3

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 23530 →

Sources