CVE-2022-49766
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49766 is a vulnerability discovered in the Linux kernel related to netlink bounds-checking. The vulnerability was published on May 1, 2025, and specifically involves the struct nlmsgerr creation process in the netlink subsystem. The issue was identified to prevent future runtime warnings in the memcpy operation across composite flexible array structs (NVD, Wiz).

Technical details

The vulnerability involves a field-spanning write issue in the netlink subsystem where memcpy performs a size 32 write operation on a single field '&errmsg->msg' at net/netlink/afnetlink.c:2447 with size 16. The fix involves switching from __nlmsg_put to nlmsg_put() and implementing proper bounds checking for memcpy operations across composite flexible array structs. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat).

Impact

The vulnerability affects the Linux kernel's netlink messaging system. While specific impact details are limited, it primarily relates to memory operations and could potentially lead to memory corruption issues if exploited (Wiz).

Mitigation and workarounds

The issue has been resolved in various Linux kernel versions. Debian has released fixes in version 6.1.129-1 for bookworm and 6.12.22-1 for trixie. Red Hat has deferred fixes for Enterprise Linux 9, while versions 6, 7, and 8 are out of support scope. Users are advised to upgrade to the patched versions where available (Debian Tracker, Red Hat).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-cross-headers
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-core
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management