{"api_version":"1","generated_at":"2026-10-23T09:58:37+00:00","cve":"CVE-2026-98854","urls":{"html":"https://cve.report/CVE-2026-98854","api":"https://cve.report/api/cve/CVE-2026-98854.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98854","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98854"},"summary":{"title":"of/overlay: only treat a positive changeset id as registered","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nof/overlay: only treat a positive changeset id as registered\n\nof_overlay_fdt_apply() stores the idr_alloc() return value in\novcs->id before checking it. On failure the stored id is negative,\nfree_overlay_changeset()'s \"if (ovcs->id)\" check passes, idr_remove()\nis called with a negative id and list_del() runs on ovcs->ovcs_list,\nwhich is not initialized until after the id allocation. An allocation\nfailure at that point dereferences NULL.\n\nMake free_overlay_changeset() treat only a strict-positive id as\nregistered. The rest of the function already copes with a\npartially-initialized ovcs, so the error path stays a plain\ngoto err_free_ovcs.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:39","updated_at":"2026-10-21 13:21:49"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/c08a54df9d33dcd6ff089adc9434b2c008af3a39","name":"https://git.kernel.org/stable/c/c08a54df9d33dcd6ff089adc9434b2c008af3a39","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0d1525fdcd3355672b7485d61e55df6824ab5ad1","name":"https://git.kernel.org/stable/c/0d1525fdcd3355672b7485d61e55df6824ab5ad1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c875407c34dadaef0599834ad9c815f4c9f50d15","name":"https://git.kernel.org/stable/c/c875407c34dadaef0599834ad9c815f4c9f50d15","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cc688475c56d34a2b584141f9544cbe23360080d","name":"https://git.kernel.org/stable/c/cc688475c56d34a2b584141f9544cbe23360080d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/44081d708b5b885487bac792db78324b7b4c267d","name":"https://git.kernel.org/stable/c/44081d708b5b885487bac792db78324b7b4c267d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98854","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98854","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 cc688475c56d34a2b584141f9544cbe23360080d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 c08a54df9d33dcd6ff089adc9434b2c008af3a39 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 0d1525fdcd3355672b7485d61e55df6824ab5ad1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 c875407c34dadaef0599834ad9c815f4c9f50d15 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 44081d708b5b885487bac792db78324b7b4c267d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.160 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.113 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.56 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.10 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"98854","cve":"CVE-2026-98854","epss":"0.001560000","percentile":"0.043930000","score_date":"2026-10-21","updated_at":"2026-10-22 00:15:10"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/of/overlay.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"cc688475c56d34a2b584141f9544cbe23360080d","status":"affected","version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","versionType":"git"},{"lessThan":"c08a54df9d33dcd6ff089adc9434b2c008af3a39","status":"affected","version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","versionType":"git"},{"lessThan":"0d1525fdcd3355672b7485d61e55df6824ab5ad1","status":"affected","version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","versionType":"git"},{"lessThan":"c875407c34dadaef0599834ad9c815f4c9f50d15","status":"affected","version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","versionType":"git"},{"lessThan":"44081d708b5b885487bac792db78324b7b4c267d","status":"affected","version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/of/overlay.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.15"},{"lessThan":"4.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.160","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.113","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.56","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.160","versionStartIncluding":"4.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.113","versionStartIncluding":"4.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.56","versionStartIncluding":"4.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.10","versionStartIncluding":"4.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"4.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nof/overlay: only treat a positive changeset id as registered\n\nof_overlay_fdt_apply() stores the idr_alloc() return value in\novcs->id before checking it. On failure the stored id is negative,\nfree_overlay_changeset()'s \"if (ovcs->id)\" check passes, idr_remove()\nis called with a negative id and list_del() runs on ovcs->ovcs_list,\nwhich is not initialized until after the id allocation. An allocation\nfailure at that point dereferences NULL.\n\nMake free_overlay_changeset() treat only a strict-positive id as\nregistered. The rest of the function already copes with a\npartially-initialized ovcs, so the error path stays a plain\ngoto err_free_ovcs."}],"providerMetadata":{"dateUpdated":"2026-10-21T12:57:33.107Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/cc688475c56d34a2b584141f9544cbe23360080d"},{"url":"https://git.kernel.org/stable/c/c08a54df9d33dcd6ff089adc9434b2c008af3a39"},{"url":"https://git.kernel.org/stable/c/0d1525fdcd3355672b7485d61e55df6824ab5ad1"},{"url":"https://git.kernel.org/stable/c/c875407c34dadaef0599834ad9c815f4c9f50d15"},{"url":"https://git.kernel.org/stable/c/44081d708b5b885487bac792db78324b7b4c267d"}],"title":"of/overlay: only treat a positive changeset id as registered","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98854","datePublished":"2026-10-18T15:51:06.167Z","dateReserved":"2026-09-25T10:25:14.376Z","dateUpdated":"2026-10-21T12:57:33.107Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:39","lastModifiedDate":"2026-10-21 13:21:49","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98854","Ordinal":"1","Title":"of/overlay: only treat a positive changeset id as registered","CVE":"CVE-2026-98854","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98854","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nof/overlay: only treat a positive changeset id as registered\n\nof_overlay_fdt_apply() stores the idr_alloc() return value in\novcs->id before checking it. On failure the stored id is negative,\nfree_overlay_changeset()'s \"if (ovcs->id)\" check passes, idr_remove()\nis called with a negative id and list_del() runs on ovcs->ovcs_list,\nwhich is not initialized until after the id allocation. An allocation\nfailure at that point dereferences NULL.\n\nMake free_overlay_changeset() treat only a strict-positive id as\nregistered. The rest of the function already copes with a\npartially-initialized ovcs, so the error path stays a plain\ngoto err_free_ovcs.","Type":"Description","Title":"of/overlay: only treat a positive changeset id as registered"}]}}}