CVE-2022-49345
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49345 affects the Linux kernel's networking subsystem, specifically related to the xfrm4_protocol_init() function. The vulnerability was discovered when a combination of EXPORT_SYMBOL and __init annotations created a potential security issue where the .init.text section is freed after initialization while still being exported as a symbol (Kernel Git).

Technical details

The vulnerability stems from an improper combination of EXPORT_SYMBOL and __init annotations in the Linux kernel's networking code. The __init-annotated section gets freed after initialization, but the symbol remains exported, which could lead to accessing freed memory. This issue was present in the xfrm4_protocol_init() function in net/ipv4/xfrm4_protocol.c. The vulnerability was identified when modpost warnings were fixed after being broken for approximately a decade (Kernel Git).

Impact

If exploited, this vulnerability could result in a kernel panic due to accessing freed memory. The issue affects systems where modules might attempt to use the exported symbol after the initialization phase has completed (Kernel Git).

Mitigation and workarounds

The issue was resolved by removing the EXPORT_SYMBOL for xfrm4_protocol_init() rather than removing the __init annotation. This solution was chosen because the only in-tree call-site in net/ipv4/xfrm4_policy.c is never compiled as modular since CONFIG_XFRM is a boolean option (Kernel Git).

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-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
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-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
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