CVE-2022-49766

published 1 May 2025 · updated 7 Nov 2026

netlink: Bounds-check struct nlmsgerr creation

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.0.10, Kernel 710d21fdff9a98d621cd4e64167f3ef8af4e2fd1 and Kernel aff4eb16f589c3af322a2582044bca365381fcd6.

In the Linux kernel, the following vulnerability has been resolved: netlink: Bounds-check struct nlmsgerr creation In preparation for FORTIFY_SOURCE doing bounds-check on memcpy(), switch from __nlmsg_put to nlmsg_put(), and explain the bounds check for dealing with the memcpy() across a composite flexible array struct. Avoids this future run-time warning: memcpy: detected field-spanning write (size 32) of single field "&errmsg->msg" at net/netlink/af_netlink.c:2447 (size 16)

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel<6.0.10, =2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <710d21fdff9a98d621cd4e64167f3ef8af4e2fd1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <aff4eb16f589c3af322a2582044bca365381fcd66.0.10, 710d21fdff9a98d621cd4e64167f3ef8af4e2fd1, aff4eb16f589c3af322a2582044bca365381fcd6
linux-kernel: Kernel>=2.6.12 <6.0.106.0.10

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49766 severity on Zeptric[![CVE-2022-49766](https://zeptric.io/badge/cve/CVE-2022-49766.svg)](https://zeptric.io/cve/CVE-2022-49766)