{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-49675","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-02-26T02:21:30.438Z","datePublished":"2025-02-26T02:24:07.395Z","dateUpdated":"2025-05-04T08:43:04.795Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T08:43:04.795Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/time/tick-sched.c"],"versions":[{"version":"ae9e557b5be2e285f48ee945d9c8faf75d4f6a66","lessThan":"c4ff3ffe0138234774602152fe67e3a898c615c6","status":"affected","versionType":"git"},{"version":"ae9e557b5be2e285f48ee945d9c8faf75d4f6a66","lessThan":"f4a80ec8c51d68be4b7a7830c510f75080c5e417","status":"affected","versionType":"git"},{"version":"ae9e557b5be2e285f48ee945d9c8faf75d4f6a66","lessThan":"ea32b27e2f8c58c92bff5ecba7fcf64b97707089","status":"affected","versionType":"git"},{"version":"ae9e557b5be2e285f48ee945d9c8faf75d4f6a66","lessThan":"2390095113e98fc52fffe35c5206d30d9efe3f78","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/time/tick-sched.c"],"versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"5.10.128","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.52","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.9","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.128"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.15.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.18.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.19"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/c4ff3ffe0138234774602152fe67e3a898c615c6"},{"url":"https://git.kernel.org/stable/c/f4a80ec8c51d68be4b7a7830c510f75080c5e417"},{"url":"https://git.kernel.org/stable/c/ea32b27e2f8c58c92bff5ecba7fcf64b97707089"},{"url":"https://git.kernel.org/stable/c/2390095113e98fc52fffe35c5206d30d9efe3f78"}],"title":"tick/nohz: unexport __init-annotated tick_nohz_full_setup()","x_generator":{"engine":"bippy-1.2.0"}}}}