CVE-2026-98740

Source
https://cve.org/CVERecord?id=CVE-2026-98740
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98740.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98740
Downstream
Published
2026-10-18T15:47:24Z
Modified
2026-10-20T02:30:47Z
Summary
EDAC/altera: Drop __init from ECC setup paths for re-probe safety
Details

In the Linux kernel, the following vulnerability has been resolved:

EDAC/altera: Drop __init from ECC setup paths for re-probe safety

Sashiko reports:

"Does suppressing sysfs unbinding fully prevent the execution of freed __init memory? If altr_sysmgr_regmap_lookup_by_phandle() returns -EPROBE_DEFER, the probe is deferred until after __init memory is freed."

The a10 EDAC .setup callbacks (sdmmc, ethernet, nand, dma, usb, qspi) and their helpers (altr_init_a10_ecc_device_type, altr_init_a10_ecc_block) were marked __init. These run from the probe path, which may execute after init memory is freed -- e.g. a probe deferred via -EPROBE_DEFER that only succeeds once a late/module dependency appears, or a manual unbind/rebind. Calling __init code then dereferences freed memory. Remove __init so these functions remain valid at runtime.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98740.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
788586efd116d6d7d05985881eda503333e702b4
Fixed
9846b85c2eb8b749c3f14bdcc31b1070f6aabba8
Fixed
4ec26cb7984740941892ad21fa974963c198bfaa
Fixed
b62a264163ca51bee04785c581344751812395df

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98740.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98740.json"