CVE-2022-49675

tick/nohz: unexport __init-annotated tick_nohz_full_setup()

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:24 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.525.16 ≤ v < 5.18.95.5 ≤ v < 5.10.1285.5 ≤ v < 5.15.525.5 ≤ v < 5.18.95.5 ≤ v < 5.195.19 rc15.19 rc25.19 rc35.19 rc45.5ae9e557b5be2e285f48ee945d9c8faf75d4f6a66
Vendor states this is fixed in 2390095113e98fc52fffe35c5206d30d9efe3f78 (fixed)
Vendor states this is fixed in c4ff3ffe0138234774602152fe67e3a898c615c6 (fixed)
Vendor states this is fixed in ea32b27e2f8c58c92bff5ecba7fcf64b97707089 (fixed)
Vendor states this is fixed in f4a80ec8c51d68be4b7a7830c510f75080c5e417 (fixed)
Vendor states this is fixed in 5.10.128 (unaffected)
Vendor states this is fixed in 5.15.52 (unaffected)
Vendor states this is fixed in 5.18.9 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2390095113e98fc52fffe35c5206d30d9efe3f78
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c4ff3ffe0138234774602152fe67e3a898c615c6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea32b27e2f8c58c92bff5ecba7fcf64b97707089
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4a80ec8c51d68be4b7a7830c510f75080c5e417

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card