Vulnerability 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)
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 6.0.10 |
References
- https://git.kernel.org/stable/c/710d21fdff9a98d621cd4e64167f3ef8af4e2fd1Patch
- https://git.kernel.org/stable/c/aff4eb16f589c3af322a2582044bca365381fcd6Patch
FAQ
What is CVE-2022-49766?
CVE-2022-49766 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 __nlm...
How severe is CVE-2022-49766?
CVE-2022-49766 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49766?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.