We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-49766

netlink: Bounds-check struct nlmsgerr creation



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)

Reserved 2025-04-16 | Published 2025-05-01 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before aff4eb16f589c3af322a2582044bca365381fcd6
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 710d21fdff9a98d621cd4e64167f3ef8af4e2fd1
affected

Default status
affected

6.0.10
unaffected

6.1
unaffected

References

git.kernel.org/...c/aff4eb16f589c3af322a2582044bca365381fcd6

git.kernel.org/...c/710d21fdff9a98d621cd4e64167f3ef8af4e2fd1

cve.org (CVE-2022-49766)

nvd.nist.gov (CVE-2022-49766)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-49766

Support options

Helpdesk Chat, Email, Knowledgebase