Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2022-49766
VULNERABILITY

CVE-2022-49766

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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)

Risk

CVSS
5.5
Severity
MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Timeline

Published
May 1, 2025 15:15
Modified
Nov 5, 2026 20:17
Last observed
Nov 5, 2026 16:00

Affected product identifiers

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

References