{"id":"CVE-2022-49766","published":"2025-05-01T14:09:05Z","modified":"2026-11-05T19:49:42Z","title":"netlink: Bounds-check struct nlmsgerr creation","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlink: Bounds-check struct nlmsgerr creation\n\nIn preparation for FORTIFY_SOURCE doing bounds-check on memcpy(),\nswitch from __nlmsg_put to nlmsg_put(), and explain the bounds check\nfor dealing with the memcpy() across a composite flexible array struct.\nAvoids this future run-time warning:\n\n  memcpy: detected field-spanning write (size 32) of single field \"&errmsg->msg\" at net/netlink/af_netlink.c:2447 (size 16)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00174,"percentile":0.06804,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/aff4eb16f589c3af322a2582044bca365381fcd6","tags":[]},{"url":"https://git.kernel.org/stable/c/710d21fdff9a98d621cd4e64167f3ef8af4e2fd1","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.36}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aff4eb16f589c3af322a2582044bca365381fcd6",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 710d21fdff9a98d621cd4e64167f3ef8af4e2fd1"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T19:46:59.810796Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-13010","exploited":false,"provenance":"source"}}