CVE-2022-49726

clocksource: hyper-v: unexport __init-annotated hv_init_clocksource()

No CVSS score yet EPSS 0.27%

Published 26 Feb 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-49726

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-49726 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:

clocksource: hyper-v: unexport __init-annotated hv_init_clocksource()

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 only in-tree call-site, arch/x86/kernel/cpu/mshyperv.c is never compiled as modular. (CONFIG_HYPERVISOR_GUEST is boolean)

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from dd2cb348613b44f9d948b068775e159aad298599, before cff3a7ce6e81418b6e8bac941779bbf5d342d626
affected from dd2cb348613b44f9d948b068775e159aad298599, before db965e2757d95f695e606856418cd84003dd036d
affected from dd2cb348613b44f9d948b068775e159aad298599, before 0414eab7c78f3518143d383e448d44fc573ac6d2
affected from dd2cb348613b44f9d948b068775e159aad298599, before 937fcbb55a1e48a6422e87e8f49422c92265f102
affected from dd2cb348613b44f9d948b068775e159aad298599, before 245b993d8f6c4e25f19191edfbd8080b645e12b1
Other versions: unaffected
Linux
affected 5.3
unaffected before 5.3
unaffected from 5.4.200 up to and including 5.4.*
unaffected from 5.10.124 up to and including 5.10.*
unaffected from 5.15.49 up to and including 5.15.*
unaffected from 5.18.6 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-49726 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49726

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-49726
trivy image --scanners vuln IMAGE | grep CVE-2022-49726

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-49726 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.