{"id":"CVE-2026-98854","published":"2026-10-18T15:51:06Z","modified":"2026-10-30T12:40:15Z","title":"of/overlay: only treat a positive changeset id as registered","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00215,"percentile":0.06737,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a","tags":[]},{"url":"https://git.kernel.org/stable/c/71065f3d6864a101b77e7af84566757c4df415a0","tags":[]},{"url":"https://git.kernel.org/stable/c/cc688475c56d34a2b584141f9544cbe23360080d","tags":[]},{"url":"https://git.kernel.org/stable/c/c08a54df9d33dcd6ff089adc9434b2c008af3a39","tags":[]},{"url":"https://git.kernel.org/stable/c/0d1525fdcd3355672b7485d61e55df6824ab5ad1","tags":[]},{"url":"https://git.kernel.org/stable/c/c875407c34dadaef0599834ad9c815f4c9f50d15","tags":[]},{"url":"https://git.kernel.org/stable/c/44081d708b5b885487bac792db78324b7b4c267d","tags":[]}],"priority":{"score":1.3,"factors":[{"name":"EPSS percentile","points":1.35}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a",">= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 71065f3d6864a101b77e7af84566757c4df415a0",">= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < cc688475c56d34a2b584141f9544cbe23360080d",">= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < c08a54df9d33dcd6ff089adc9434b2c008af3a39",">= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 0d1525fdcd3355672b7485d61e55df6824ab5ad1",">= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < c875407c34dadaef0599834ad9c815f4c9f50d15",">= 61b4de4e0b384f4a22c55c3bada604da49cec4e1, < 44081d708b5b885487bac792db78324b7b4c267d"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"euvd":{"id":"EUVD-2026-103794","exploited":false,"provenance":"source"}}