{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-98854","id":"CVE-2026-98854","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,\nw","descriptionLong":"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.","published":"2026-10-18T15:51:06.167Z","updated":"2026-11-01T02:31:04.139333834Z","reserved":"2026-09-25T10:25:14.376Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","lessThan":"7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a","status":"affected","versionType":"git"},{"version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","lessThan":"71065f3d6864a101b77e7af84566757c4df415a0","status":"affected","versionType":"git"},{"version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","lessThan":"cc688475c56d34a2b584141f9544cbe23360080d","status":"affected","versionType":"git"},{"version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","lessThan":"c08a54df9d33dcd6ff089adc9434b2c008af3a39","status":"affected","versionType":"git"},{"version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","lessThan":"0d1525fdcd3355672b7485d61e55df6824ab5ad1","status":"affected","versionType":"git"},{"version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","lessThan":"c875407c34dadaef0599834ad9c815f4c9f50d15","status":"affected","versionType":"git"},{"version":"61b4de4e0b384f4a22c55c3bada604da49cec4e1","lessThan":"44081d708b5b885487bac792db78324b7b4c267d","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","lessThan":"4.15","status":"unaffected","versionType":"semver"},{"version":"5.15.224","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.113","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.56","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.10","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/71065f3d6864a101b77e7af84566757c4df415a0","tags":["web"]},{"url":"https://git.kernel.org/stable/c/cc688475c56d34a2b584141f9544cbe23360080d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c08a54df9d33dcd6ff089adc9434b2c008af3a39","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0d1525fdcd3355672b7485d61e55df6824ab5ad1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c875407c34dadaef0599834ad9c815f4c9f50d15","tags":["web"]},{"url":"https://git.kernel.org/stable/c/44081d708b5b885487bac792db78324b7b4c267d","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98854.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98854","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00161,"epssPercentile":0.05401,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98854","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98854","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-98854","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98854","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}