# CVE-2026-98740: EDAC/altera: Drop \_\_init from ECC setup paths for re-probe safety

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **Published:** 2026-10-18T15:47:24.602Z
- **Modified:** 2026-10-19T10:19:38.170Z

## Who should check

- Anyone running Linux \>= 788586efd116d6d7d05985881eda503333e702b4, \< 9846b85c2eb8b749c3f14bdcc31b1070f6aabba8; \>= 788586efd116d6d7d05985881eda503333e702b4, \< 4ec26cb7984740941892ad21fa974963c198bfaa; \>= 788586efd116d6d7d05985881eda503333e702b4, \< b62a264163ca51bee04785c581344751812395df
- Anyone running Linux 5.2

## Description

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.

## Affected and fixed versions

- Linux: \>= 788586efd116d6d7d05985881eda503333e702b4, \< 9846b85c2eb8b749c3f14bdcc31b1070f6aabba8; \>= 788586efd116d6d7d05985881eda503333e702b4, \< 4ec26cb7984740941892ad21fa974963c198bfaa; \>= 788586efd116d6d7d05985881eda503333e702b4, \< b62a264163ca51bee04785c581344751812395df (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98740. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98740.md
Affected: Linux >= 788586efd116d6d7d05985881eda503333e702b4, < 9846b85c2eb8b749c3f14bdcc31b1070f6aabba8; >= 788586efd116d6d7d05985881eda503333e702b4, < 4ec26cb7984740941892ad21fa974963c198bfaa; >= 788586efd116d6d7d05985881eda503333e702b4, < b62a264163ca51bee04785c581344751812395df; Linux 5.2
Fixed in: Linux 9846b85c2eb8b749c3f14bdcc31b1070f6aabba8, Linux 4ec26cb7984740941892ad21fa974963c198bfaa

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98740 being exploited?

There is no confirmed exploitation: CVE-2026-98740 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98740?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98740?

Linux \>= 788586efd116d6d7d05985881eda503333e702b4, \< 9846b85c2eb8b749c3f14bdcc31b1070f6aabba8; \>= 788586efd116d6d7d05985881eda503333e702b4, \< 4ec26cb7984740941892ad21fa974963c198bfaa; \>= 788586efd116d6d7d05985881eda503333e702b4, \< b62a264163ca51bee04785c581344751812395df; Linux 5.2.

### Is there a fix for CVE-2026-98740?

Yes. Fixed in Linux 9846b85c2eb8b749c3f14bdcc31b1070f6aabba8, Linux 4ec26cb7984740941892ad21fa974963c198bfaa. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98740?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9846b85c2eb8b749c3f14bdcc31b1070f6aabba8>
- other: <https://git.kernel.org/stable/c/4ec26cb7984740941892ad21fa974963c198bfaa>
- other: <https://git.kernel.org/stable/c/b62a264163ca51bee04785c581344751812395df>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98740>

HTML: <https://flawdb.com/CVE-2026-98740> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98740>
