PT-2025-8273 · Linux+4 · Linux Kernel+4
Stephen Rothwell
·
Published
2022-05-27
·
Updated
2025-09-29
·
CVE-2022-49339
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A vulnerability in the Linux kernel has been identified, related to the
seg6 hmac init() function, which is annotated with init and exported using EXPORT SYMBOL. This combination is problematic because the .init.text section is freed after initialization, and modules cannot use symbols annotated with init. Access to a freed symbol may result in a kernel panic. The issue was previously undetected by modpost due to a decade-long bug, but a recent fix to modpost revealed the problem.Recommendations
Remove
EXPORT SYMBOL from the seg6 hmac init() function, as the caller and callee belong to the same module, ipv6.ko.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Improper Initialization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Centos
Linux Kernel
Red Hat
Suse