Unexported xfrm4_protocol_init() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003708: net: xfrm: unexport __init-annotated xfrm4_protocol_init(). Affects Kernel versions >= 2f32b51b609faea1e40bb8c5bd305f1351740936, < ef6d2354de238b065d8799c80da4be9a6af18e39. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel package is a fundamental component of the Linux operating system, responsible for managing system resources and providing an interface between hardware and software. It includes various subsystems, including networking. The xfrm4_protocol_init() function is a part of the networking subsystem and is responsible for initializing the xfrm4 protocol. This protocol is used for IPsec (Internet Protocol Security) operations, such as encryption and authentication. The vulnerability lies in the fact that the __init-annotated xfrm4_protocol_init() function is unexported, which means it is not intended to be accessed by external modules or components.

Vulnerability Detail

The unexported __init-annotated xfrm4_protocol_init() function in the Kernel's networking subsystem poses a potential security vulnerability. While the actual impact and attack plausibility have not been proven, the unexported nature of this function suggests that it may be accessed or manipulated by unauthorized entities. This could potentially lead to unauthorized access, data breaches, or other security compromises. The vulnerability was introduced in version v3.15 of the Linux Kernel and has been fixed in version v5.4.198.

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 Linux Kernel, there is no specific workaround available. It is strongly advised to update to the fixed version as soon as possible.

Conclusion

The unexported xfrm4_protocol_init() function in the Kernel's networking subsystem poses a potential security vulnerability. It is recommended to update the Linux Kernel to version v5.4.198 or later to mitigate this vulnerability. For further support on 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 it has the potential to allow unauthorized access, data breaches, or other security compromises.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

Yes, the vulnerability has been fixed in version v5.4.198 of the Linux Kernel. It is recommended to update to this version or later to mitigate the vulnerability.

As this vulnerability is fixed in the latest version of the Linux Kernel, there are no specific temporary measures available. It is recommended to update to the fixed version as soon as possible.

You can find more information about this vulnerability in the GSD-2022-1003708 entry of the GSD Database maintained by the Cloud Security Alliance. The entry can be accessed at: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003708.json

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