CVE-2022-50231
Linux Kernel vulnerability analysis and mitigation

Overview

A read out-of-bounds vulnerability was discovered in the Linux kernel's ARM64 Poly1305 cryptographic implementation, identified as CVE-2022-50231. The vulnerability was found in the neon_poly1305_blocks function where improper initialization of data structures could lead to reading beyond allocated memory boundaries. The issue was discovered through fuzzing tests that triggered a KASAN (Kernel Address Sanitizer) error (NVD, Debian Tracker).

Technical details

The vulnerability occurs in the neon_poly1305_blocks function when both s[] and r[] arrays are uninitialized. The function attempts to initialize them using the first 'block' assumed to be 32 bytes long, with the first 16 bytes used as the key and the next 16 bytes for s[]. However, after calling poly1305_init_arch(), only 16 bytes were deducted from the input and s[] is initialized again with the following 16 bytes, leading to a redundant initialization and potential read out-of-bounds condition (NVD).

Impact

The vulnerability could allow an attacker to read memory outside the intended boundaries, potentially exposing sensitive information from the kernel memory. This was confirmed through KASAN (Kernel Address Sanitizer) error reports during fuzzing tests (Wiz).

Mitigation and workarounds

The issue has been fixed by modifying the initialization process to call poly1305_init_arm64() instead of the previous implementation. Fixed versions are available in various Linux distributions including Debian bullseye (5.10.223-1), bookworm (6.1.137-1), and trixie (6.12.31-1) (Debian Tracker).

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-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
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