{"id":"CVE-2022-49675","aliases":["CVE-2022-49675"],"related":[],"kind":"vulnerability","state":"published","title":"tick/nohz: unexport __init-annotated tick_nohz_full_setup()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntick/nohz: unexport __init-annotated tick_nohz_full_setup()\n\nEXPORT_SYMBOL and __init is a bad combination because the .init.text\nsection is freed up after the initialization. Hence, modules cannot\nuse symbols annotated __init. The access to a freed symbol may end up\nwith kernel panic.\n\nmodpost used to detect it, but it had been broken for a decade.\n\nCommit 28438794aba4 (\"modpost: fix section mismatch check for exported\ninit/exit sections\") fixed it so modpost started to warn it again, then\nthis showed up:\n\n    MODPOST vmlinux.symvers\n  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()\n  The symbol tick_nohz_full_setup is exported and annotated __init\n  Fix this by removing the __init annotation of tick_nohz_full_setup or drop the export.\n\nDrop the export because tick_nohz_full_setup() is only called from the\nbuilt-in code in kernel/sched/isolation.c.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntick/nohz: unexport __init-annotated tick_nohz_full_setup()\n\nEXPORT_SYMBOL and __init is a bad combination because the .init.text\nsection is freed up after the initialization. Hence, modules cannot\nuse symbols annotated __init. The access to a freed symbol may end up\nwith kernel panic.\n\nmodpost used to detect it, but it had been broken for a decade.\n\nCommit 28438794aba4 (\"modpost: fix section mismatch check for exported\ninit/exit sections\") fixed it so modpost started to warn it again, then\nthis showed up:\n\n    MODPOST vmlinux.symvers\n  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()\n  The symbol tick_nohz_full_setup is exported and annotated __init\n  Fix this by removing the __init annotation of tick_nohz_full_setup or drop the export.\n\nDrop the export because tick_nohz_full_setup() is only called from the\nbuilt-in code in kernel/sched/isolation.c.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:  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.","source":"nvd"}],"published":"2025-02-26T02:24:07.395Z","modified":"2026-06-17T05:18:49.413Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"ae9e557b5be2e285f48ee945d9c8faf75d4f6a66","fixed":"c4ff3ffe0138234774602152fe67e3a898c615c6","status":"affected"},{"type":"git","introduced":"ae9e557b5be2e285f48ee945d9c8faf75d4f6a66","fixed":"f4a80ec8c51d68be4b7a7830c510f75080c5e417","status":"affected"},{"type":"git","introduced":"ae9e557b5be2e285f48ee945d9c8faf75d4f6a66","fixed":"ea32b27e2f8c58c92bff5ecba7fcf64b97707089","status":"affected"},{"type":"git","introduced":"ae9e557b5be2e285f48ee945d9c8faf75d4f6a66","fixed":"2390095113e98fc52fffe35c5206d30d9efe3f78","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.128","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.52","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.9","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.5","fixed":"5.10.128"},{"status":"affected","introduced":"5.11","fixed":"5.15.52"},{"status":"affected","introduced":"5.16","fixed":"5.18.9"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c4ff3ffe0138234774602152fe67e3a898c615c6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4a80ec8c51d68be4b7a7830c510f75080c5e417","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea32b27e2f8c58c92bff5ecba7fcf64b97707089","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2390095113e98fc52fffe35c5206d30d9efe3f78","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49675","url":"https://www.cve.org/CVERecord?id=CVE-2022-49675","licence":"CVE Terms of Use","modified":"2026-05-11T19:04:31.296Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49675","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49675","licence":"Public domain","modified":"2026-06-17T05:18:49.413Z"}],"updatedAt":"2026-11-25T22:58:20.798Z","epss":{"score":0.00281,"percentile":0.22086,"date":"2026-12-01T12:00:22.000Z"}}