Open Source Vulnerability in 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-1003848: net: ipv6: unexport __init-annotated seg6_hmac_init(). Affects Kernel versions >= bf355b8d2c30a289232042cacc1cfaea4923936c, < ab8b2c2de273ec1d698a18e399896a6febb5cda0. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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. IPv6 is the next generation of the Internet Protocol, designed to replace IPv4. The seg6_hmac_init() function, which is part of the IPv6 implementation, was mistakenly exported and made available for use outside the module. This vulnerability could potentially be exploited by malicious actors to manipulate IPv6 traffic and compromise the security and integrity of the system.

Vulnerability Detail

The vulnerability arises from the incorrect export of the __init-annotated seg6_hmac_init() function in the IPv6 networking module of the Kernel. This function should only be used internally within the module, but due to a coding error, it was made accessible to external code. This could allow an attacker to call the function and execute arbitrary code, potentially leading to privilege escalation, denial of service, or other malicious activities. The impact and attack plausibility of this vulnerability have not been proven yet, but it is essential to apply the fix to mitigate any potential risks.

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 workaround, users can manually modify the Kernel source code to remove the incorrect export of the seg6_hmac_init() function. However, this approach requires a deep understanding of the Kernel codebase and may introduce other issues or compatibility problems. It is strongly recommended to apply the official fix by updating the Kernel to the latest version.

Conclusion

The vulnerability in the Kernel's IPv6 networking module, specifically the __init-annotated seg6_hmac_init() function, could potentially be exploited by attackers to compromise system security and integrity. It is crucial to update the Kernel to version v4.19.247 or later to apply the fix and prevent any potential risks. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could vary depending on the attacker's capabilities and intentions. It could potentially lead to privilege escalation, denial of service, or other malicious activities that exploit the vulnerability in the IPv6 networking module.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software. You can also visit the Vulert playground at Vulert Scanner to check if your application is affected without any signup.

As of now, there are no known exploits for this vulnerability. However, it is crucial to apply the fix promptly to mitigate any potential risks.

No, the fix for this vulnerability is implemented in the Kernel source code. To apply the fix, you need to update the Kernel to version v4.19.247 or later.

The recommended solution is to update the Kernel to the latest version. Applying the official fix is the most effective way to mitigate the vulnerability. Using workarounds or modifying the source code manually can introduce other issues or compatibility problems.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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