CVE-2022-49766 Details
Description
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)
A vulnerability in the Linux kernel's netlink implementation allowed for improper bounds-checking during the creation of struct nlmsgerr. This issue arose in anticipation of FORTIFY_SOURCE applying bounds-checks on memcpy operations. The vulnerability has been addressed by replacing the __nlmsg_put function with nlmsg_put, and by clarifying the bounds-checking process to manage memcpy operations across a composite flexible array structure. This change prevents a potential runtime warning about field-spanning writes.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/710d21fdff9a98d621cd4e64167f3ef8af4e2fd1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/aff4eb16f589c3af322a2582044bca365381fcd6 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 6.0.10 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 6, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |