{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142922","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.337Z","datePublished":"2026-12-03T03:26:00.572Z","dateUpdated":"2026-12-03T03:26:00.572Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T03:26:00.572Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsysctl: unregister tables before freeing bitmap\n\nThe table registered for bitmap_0001 retains a pointer to\ntest_data.bitmap_0001. unregister_sysctl_table() prevents new handlers\nfrom starting and waits for active handlers to finish.\n\ntest_sysctl_exit() currently frees the bitmap before unregistering the\ntable. A concurrent read during module removal can therefore enter\nproc_do_large_bitmap() while the bitmap is freed. KASAN reports a\nslab-use-after-free in _find_next_bit().\n\nUnregister all tables before freeing the bitmap so the unregister rundown\nprovides the required lifetime boundary.\n\nThe unmodified module reproduced the use-after-free in three KASAN runs.\nWith this change, three runs each completed 100 load, read and unload race\nrounds without a kernel diagnostic."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["lib/test_sysctl.c"],"versions":[{"version":"2ea622b887e74497ce5aac5bfe247502b5786f56","lessThan":"dc5a593dd369101aa31a0a060e29d005b5f2be2b","status":"affected","versionType":"git"},{"version":"2ea622b887e74497ce5aac5bfe247502b5786f56","lessThan":"1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c","status":"affected","versionType":"git"},{"version":"2ea622b887e74497ce5aac5bfe247502b5786f56","lessThan":"ff452703fa2c8b6b5aa7c2046d46bd19caaf7726","status":"affected","versionType":"git"},{"version":"2ea622b887e74497ce5aac5bfe247502b5786f56","lessThan":"238dfe02fb0a9f72d7fd275d74ce80f13923ef31","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["lib/test_sysctl.c"],"versions":[{"version":"5.2","status":"affected"},{"version":"0","lessThan":"5.2","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","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.2","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/dc5a593dd369101aa31a0a060e29d005b5f2be2b"},{"url":"https://git.kernel.org/stable/c/1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c"},{"url":"https://git.kernel.org/stable/c/ff452703fa2c8b6b5aa7c2046d46bd19caaf7726"},{"url":"https://git.kernel.org/stable/c/238dfe02fb0a9f72d7fd275d74ce80f13923ef31"}],"title":"sysctl: unregister tables before freeing bitmap","x_generator":{"engine":"bippy-1.2.0"}}}}