Open Source Vulnerability: Kernel - net: ipv6: unexport __init-annotated seg6_hmac_init()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002588: net: ipv6: unexport __init-annotated seg6_hmac_init(). Affects Kernel versions >= bf355b8d2c30a289232042cacc1cfaea4923936c, < 9ba4416b831eeb4d185e88e73488d1d21288e63a. 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 Your last release was probably never penetration tested 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 critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and supports various subsystems. The vulnerability in question affects the IPv6 networking module of the Kernel, specifically the __init-annotated seg6_hmac_init() function.

Vulnerability Detail

The vulnerability arises from the improper export of the __init-annotated seg6_hmac_init() function in the IPv6 networking module of the Kernel. This function is intended for internal use only but was mistakenly made accessible externally. As a result, an attacker may be able to exploit this vulnerability to execute arbitrary code or perform other malicious activities. The impact and attack plausibility of this vulnerability have not been proven yet, but it is essential to address it to ensure the security and stability of the system.

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 a temporary workaround, users can manually modify the Kernel source code to remove the unintended export of the seg6_hmac_init() function. However, this approach requires a deep understanding of the Kernel's codebase and may introduce other issues or complications. It is strongly recommended to apply the official update instead of relying on manual modifications.

Conclusion

The vulnerability in the Kernel's IPv6 networking module, specifically the __init-annotated seg6_hmac_init() function, poses a potential security risk. It is crucial to update the Linux Kernel to version v5.18.4 or later to address this vulnerability. Applying the official update ensures the proper restriction of access to the affected function and helps maintain the security and stability of the system. For further support and assistance with 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 attackers to execute arbitrary code or engage in other malicious activities.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time.

At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to apply the recommended update to mitigate any potential risks.

While a temporary workaround is mentioned in this report, it is strongly advised to apply the official update provided by the Linux Kernel maintainers. Workarounds may introduce complexities and potential issues.

For more detailed information about this vulnerability, including its technical aspects and the specific commits that address it, you can refer to the vulnerability's entry in the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002588.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