CVE-2022-49675
Last modified
CVE-2022-49675 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: tick/nohz: unexport __init-annotated tick_nohz_full_setup() 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.27% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: tick/nohz: unexport __init-annotated tick_nohz_full_setup() 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 had been broken for a decade. Commit 28438794aba4 ("modpost: fix section mismatch check for exported init/exit sections") fixed it so modpost started to warn it again, then this showed up: MODPOST vmlinux.symvers WARNING: modpost: vmlinux.o(___ksymtab_gpl+tick_nohz_full_setup+0x0): Section mismatch in reference from the variable __ksymtab_tick_nohz_full_setup to the function .init.text:tick_nohz_full_setup() The symbol tick_nohz_full_setup is exported and annotated __init Fix this by removing the __init annotation of tick_nohz_full_setup or drop the export. Drop the export because tick_nohz_full_setup() is only called from the built-in code in kernel/sched/isolation.c.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.5, < 5.10.128 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.52 | — |
| Linux | Linux Kernel | >= 5.16, < 5.18.9 | — |
| Linux | Linux Kernel | 5.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49675?
How severe is CVE-2022-49675?
How do I fix CVE-2022-49675?
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-4967strongSwan versions 5.9.2 through 5.9.5 are affected by auth…6.5
- CVE-2022-49670In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49671In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49672In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49673In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49674In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49676In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49677In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49678In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49679In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4968netplan leaks the private key of wireguard to local users. V…6.5
- CVE-2022-49680In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49675?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
