Unexported xfrm4_protocol_init() in Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003849: net: xfrm: unexport __init-annotated xfrm4_protocol_init(). Affects Kernel versions >= 2f32b51b609faea1e40bb8c5bd305f1351740936, < 31f3c6a4dcd3260a386e62cef2d5b36e902600a1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a fundamental component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures security and stability. The xfrm4_protocol_init() function is a part of the networking subsystem in the Kernel and is responsible for initializing the XFRM (IPsec) protocol for IPv4. This protocol is crucial for secure communication over IP networks by providing encryption, authentication, and integrity protection. However, a vulnerability has been discovered in the Kernel where the __init-annotated xfrm4_protocol_init() function is unexported, potentially leading to security issues.

Vulnerability Detail

The unexported __init-annotated xfrm4_protocol_init() function in the Kernel poses a security vulnerability. This function is not accessible to external modules or components, making it difficult to utilize or extend its functionality. However, if an attacker manages to exploit this vulnerability, they may be able to bypass or manipulate the XFRM protocol for IPv4, compromising the security of IPsec communication. The impact and attack plausibility of this vulnerability have not been proven yet, but it is essential to address it to ensure the integrity and confidentiality of network traffic.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As this vulnerability is fixed in the latest version of the Kernel, applying the update is the recommended solution. However, if updating the Kernel is not immediately feasible, users can consider implementing network-level security measures, such as firewalls and intrusion detection systems, to mitigate potential risks. Additionally, it is advisable to monitor network traffic and promptly investigate any suspicious activities or anomalies.

Conclusion

The unexported xfrm4_protocol_init() vulnerability in the Kernel poses a potential risk to the security of IPsec communication over IPv4 networks. To mitigate this vulnerability, it is recommended to update the Linux Kernel to the latest version. Regularly updating the Kernel helps ensure the application of critical security patches and bug fixes. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but if exploited, it could compromise the security of IPsec communication over IPv4 networks.

To fix this vulnerability, update the Linux Kernel to version v4.19.247 or later.

If updating the Kernel is not immediately feasible, consider implementing network-level security measures and monitoring network traffic.

No, this vulnerability affects the Linux Kernel in general. However, the fix can be obtained through the official Linux Kernel repository or Linux distribution package managers.

No known exploits for this vulnerability have been reported at this time. However, it is crucial to address it promptly by updating the Kernel.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback