CVE-2022-49339
Last modified
CVE-2022-49339 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.10, < 4.14.283 | — |
| Linux | Linux Kernel | >= 4.15, < 4.19.247 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.198 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.122 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.47 | — |
| Linux | Linux Kernel | >= 5.16, < 5.17.15 | — |
| Linux | Linux Kernel | >= 5.18, < 5.18.4 | — |
| Linux | Linux Kernel | 5.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49339?
How severe is CVE-2022-49339?
How do I fix CVE-2022-49339?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49333In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49334In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49335In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49336In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49337In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49338In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4934A post-auth command injection vulnerability in the exception…7.2
- CVE-2022-49340In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49341In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49342In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49343In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49344In the Linux kernel, the following vulnerability has been re…4.7
Are you affected by CVE-2022-49339?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
