{"id":"CVE-2026-98740","aliases":["CVE-2026-98740"],"related":[],"kind":"vulnerability","state":"published","title":"EDAC/altera: Drop __init from ECC setup paths for re-probe safety","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/altera: Drop __init from ECC setup paths for re-probe safety\n\nSashiko reports:\n\n\"Does suppressing sysfs unbinding fully prevent the execution of freed __init\nmemory? If altr_sysmgr_regmap_lookup_by_phandle() returns -EPROBE_DEFER, the\nprobe is deferred until after __init memory is freed.\"\n\nThe a10 EDAC .setup callbacks (sdmmc, ethernet, nand, dma, usb, qspi) and\ntheir helpers (altr_init_a10_ecc_device_type, altr_init_a10_ecc_block) were\nmarked __init. These run from the probe path, which may execute after init\nmemory is freed -- e.g. a probe deferred via -EPROBE_DEFER that only succeeds\nonce a late/module dependency appears, or a manual unbind/rebind. Calling\n__init code then dereferences freed memory. Remove __init so these functions\nremain valid at runtime.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/altera: Drop __init from ECC setup paths for re-probe safety\n\nSashiko reports:\n\n\"Does suppressing sysfs unbinding fully prevent the execution of freed __init\nmemory? If altr_sysmgr_regmap_lookup_by_phandle() returns -EPROBE_DEFER, the\nprobe is deferred until after __init memory is freed.\"\n\nThe a10 EDAC .setup callbacks (sdmmc, ethernet, nand, dma, usb, qspi) and\ntheir helpers (altr_init_a10_ecc_device_type, altr_init_a10_ecc_block) were\nmarked __init. These run from the probe path, which may execute after init\nmemory is freed -- e.g. a probe deferred via -EPROBE_DEFER that only succeeds\nonce a late/module dependency appears, or a manual unbind/rebind. Calling\n__init code then dereferences freed memory. Remove __init so these functions\nremain valid at runtime.","source":"cvelist"}],"published":"2026-10-18T15:47:24.602Z","modified":"2026-10-19T10:19:38.170Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"788586efd116d6d7d05985881eda503333e702b4","fixed":"9846b85c2eb8b749c3f14bdcc31b1070f6aabba8","status":"affected"},{"type":"git","introduced":"788586efd116d6d7d05985881eda503333e702b4","fixed":"4ec26cb7984740941892ad21fa974963c198bfaa","status":"affected"},{"type":"git","introduced":"788586efd116d6d7d05985881eda503333e702b4","fixed":"b62a264163ca51bee04785c581344751812395df","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.2","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9846b85c2eb8b749c3f14bdcc31b1070f6aabba8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ec26cb7984740941892ad21fa974963c198bfaa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b62a264163ca51bee04785c581344751812395df","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98740","url":"https://www.cve.org/CVERecord?id=CVE-2026-98740","licence":"CVE Terms of Use","modified":"2026-10-19T09:24:50.943Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98740","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98740","licence":"Public domain","modified":"2026-10-19T10:19:38.170Z"}],"updatedAt":"2026-11-25T22:59:45.287Z","epss":{"score":0.00178,"percentile":0.07767,"date":"2026-12-01T12:00:22.000Z"}}