Vulnerability in Linux Kernel: net: ipv6: unexport __init-annotated seg6_hmac_net_init()

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004442: net: ipv6: unexport __init-annotated seg6_hmac_net_init(). Affects Kernel versions >= bf355b8d2c30a289232042cacc1cfaea4923936c, < c9f8f94d3ca916e2eecc0ba8227466a871432628. 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. It is a critical piece of software that enables the functioning of various devices and services. The vulnerability in question affects the IPv6 networking subsystem of the Linux Kernel. IPv6 is the latest version of the Internet Protocol, designed to replace IPv4 and provide a larger address space. The specific vulnerability, __init-annotated seg6_hmac_net_init(), is related to the initialization of the Segment Routing IPv6 (SRv6) HMAC networking feature. SRv6 is a mechanism that allows packets to be routed through a specific path in a network by encoding instructions in the IPv6 header. The vulnerability could potentially be exploited to execute arbitrary code or cause a denial-of-service (DoS) attack.

Vulnerability Detail

The vulnerability arises from the improper exporting of the __init-annotated seg6_hmac_net_init() function in the IPv6 networking subsystem of the Linux Kernel. This function is responsible for initializing the SRv6 HMAC networking feature. By not properly exporting this function, it may be possible for an attacker to bypass intended access restrictions and gain unauthorized control over the SRv6 HMAC functionality. This could lead to various security risks, including the execution of arbitrary code or the disruption of network services. The vulnerability was introduced in Linux Kernel version 4.10 and has been fixed in version 5.15.53.

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 disable the SRv6 HMAC networking feature if it is not required for their specific use case. This can be done by modifying the Kernel configuration and recompiling it without the SRv6 HMAC feature enabled. However, this workaround may not be feasible for all scenarios and it is recommended to apply the official fix by updating the Kernel to the patched version.

Conclusion

The vulnerability in the Linux Kernel's IPv6 networking subsystem, specifically the __init-annotated seg6_hmac_net_init() function, could potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) attack. It is crucial to update the Kernel to version 5.15.53 or later to mitigate this vulnerability. Alternatively, users can disable the SRv6 HMAC networking feature as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) attack by exploiting the SRv6 HMAC networking feature in the Linux Kernel.

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 the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network. It is important to update the Kernel to the patched version to prevent any potential remote exploitation.

Apart from updating the Kernel to the patched version, disabling the SRv6 HMAC networking feature can serve as a temporary mitigation. However, it is recommended to apply the official fix as soon as possible.

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