CVE-2022-49339

net: ipv6: unexport __init-annotated seg6_hmac_init()

No CVSS score yet EPSS 0.28%

Published 26 Feb 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2022-49339

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49339 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

net: ipv6: unexport __init-annotated seg6_hmac_init()

EXPORT_SYMBOL and __init is a bad combination because the .init.text section is freed up after the initialization. Hence, modules cannot use symbols annotated __init. The access to a freed symbol may end up with kernel panic.

modpost used to detect it, but it has been broken for a decade.

Recently, I fixed modpost so it started to warn it again, then this showed up in linux-next builds.

There are two ways to fix it:

- Remove __init - Remove EXPORT_SYMBOL

I chose the latter for this case because the caller (net/ipv6/seg6.c) and the callee (net/ipv6/seg6_hmac.c) belong to the same module. It seems an internal function call in ipv6.ko.

Exploitation

EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 64aef8efe96c1616142c4476a05731306fc4494e
affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before ab8b2c2de273ec1d698a18e399896a6febb5cda0
affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 317260b3eb6384a05a8af212308fa50f3b2e8290
affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 5d9c1b081ad28c852a97e10dd75412546497694a
affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 1084716f76c8045eadf92a9d9a62641f3c8d8c90
affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 3e6de5037148c5a93a436b1e8d2edad3dac11755
affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 9ba4416b831eeb4d185e88e73488d1d21288e63a
affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 5801f064e35181c71857a80ff18af4dbec3c5f5c
Other versions: unaffected
Linux
affected 4.10
unaffected before 4.10
unaffected from 4.14.283 up to and including 4.14.*
unaffected from 4.19.247 up to and including 4.19.*
unaffected from 5.4.198 up to and including 5.4.*
unaffected from 5.10.122 up to and including 5.10.*
unaffected from 5.15.47 up to and including 5.15.*
unaffected from 5.17.15 up to and including 5.17.*
unaffected from 5.18.4 up to and including 5.18.*
unaffected 5.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49339 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49339

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49339
trivy image --scanners vuln IMAGE | grep CVE-2022-49339

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49339 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.