{"api_version":"1","generated_at":"2026-10-27T04:24:13+00:00","cve":"CVE-2026-98932","urls":{"html":"https://cve.report/CVE-2026-98932","api":"https://cve.report/api/cve/CVE-2026-98932.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98932","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98932"},"summary":{"title":"EDAC/altera: Fix use-after-free in error paths","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/altera: Fix use-after-free in error paths\n\nIn both altr_edac_a10_device_add() and altr_portb_setup(), the error path\nfreed the dci structure before releasing the devres group. Since the managed\nsingle and double bit IRQ handlers use altdev(dci->pvt_info) as their data, an\nIRQ firing between freeing dci and unregistering the IRQs could dereference\nthe freed memory.\n\nRelease the devres group first so the managed IRQs are unregistered\nbefore the dci structure is freed.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-23 13:17:14","updated_at":"2026-10-24 14:16:48"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.4","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.4","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.4,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/865f3bdebbc9b34012358c377c9b15154f95f33b","name":"https://git.kernel.org/stable/c/865f3bdebbc9b34012358c377c9b15154f95f33b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eef3b67f9c6782127163b631c9043011a68016e2","name":"https://git.kernel.org/stable/c/eef3b67f9c6782127163b631c9043011a68016e2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/87364b19b3fe4e6dbf88d6acf6db4ec87e7dfbba","name":"https://git.kernel.org/stable/c/87364b19b3fe4e6dbf88d6acf6db4ec87e7dfbba","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98932","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98932","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 588cb03ea208b303e6dee7e916f329043fd0fc26 865f3bdebbc9b34012358c377c9b15154f95f33b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 588cb03ea208b303e6dee7e916f329043fd0fc26 87364b19b3fe4e6dbf88d6acf6db4ec87e7dfbba git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 588cb03ea208b303e6dee7e916f329043fd0fc26 eef3b67f9c6782127163b631c9043011a68016e2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.56 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.10 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/edac/altera_edac.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"865f3bdebbc9b34012358c377c9b15154f95f33b","status":"affected","version":"588cb03ea208b303e6dee7e916f329043fd0fc26","versionType":"git"},{"lessThan":"87364b19b3fe4e6dbf88d6acf6db4ec87e7dfbba","status":"affected","version":"588cb03ea208b303e6dee7e916f329043fd0fc26","versionType":"git"},{"lessThan":"eef3b67f9c6782127163b631c9043011a68016e2","status":"affected","version":"588cb03ea208b303e6dee7e916f329043fd0fc26","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/edac/altera_edac.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.7"},{"lessThan":"4.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.56","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.56","versionStartIncluding":"4.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.10","versionStartIncluding":"4.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"4.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/altera: Fix use-after-free in error paths\n\nIn both altr_edac_a10_device_add() and altr_portb_setup(), the error path\nfreed the dci structure before releasing the devres group. Since the managed\nsingle and double bit IRQ handlers use altdev(dci->pvt_info) as their data, an\nIRQ firing between freeing dci and unregistering the IRQs could dereference\nthe freed memory.\n\nRelease the devres group first so the managed IRQs are unregistered\nbefore the dci structure is freed."}],"metrics":[{"cvssV3_1":{"baseScore":7.4,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - Platform-driver binding reaches altr_edac_a10_probe()->altr_edac_a10_device_add(), with the SDMMC branch continuing through socfpga_init_sdmmc_ecc()->altr_portb_setup(); no packet, media data, or remote protocol enters either patched path.\nAC:H - After the SB IRQ is registered, a DB-IRQ parse/request or edac_device_add_device() must fail, and an ECC interrupt must execute between edac_device_free_ctl_info() and devres_release_group()->free_irq(); the setup failure and hardware-fault timing are not attacker-controlled.\nPR:N - The platform core invokes altr_edac_a10_probe() automatically for the DT-described ECC manager without capable() or credential checks. The root-only altr_trigger debugfs file is created only after successful setup and cannot supply the interrupt during this failing probe.\nUI:N - Once the DT device is probed and the required setup failure and ECC interrupt occur, the unwind and stale IRQ handler execute entirely in kernel context without a victim opening a device, mounting media, or taking another action.\nS:U - The freed edac_device_ctl_info and altr_edac_device_dev objects, stale IRQ callback, and resulting corruption all reside within the same host kernel; no VM, IOMMU, or other security-authority boundary is crossed.\nC:H - edac_device_free_ctl_info() frees both dci->pvt_info and dci while altr_edac_a10_ecc_irq(), altr_edac_a10_l2_irq(), or the port-B handler can still read base, data, edac_dev, and related fields from those reclaimable objects, providing a UAF disclosure primitive.\nI:H - The stale handlers write through fields loaded from freed altdev: writel()/regmap_write() use its pointers, while edac_device_handle_ce/ue() updates counters through the freed edac_dev. Reclaiming either object therefore provides UAF write and control-flow-corruption primitives.\nA:H - Dereferencing reclaimed base, data, edac, or edac_dev pointers in the stale IRQ handler can immediately oops or panic the kernel; the L2 uncorrectable-error branch can additionally reach panic() through the freed object state."}]}],"providerMetadata":{"dateUpdated":"2026-10-24T14:09:33.367Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/865f3bdebbc9b34012358c377c9b15154f95f33b"},{"url":"https://git.kernel.org/stable/c/87364b19b3fe4e6dbf88d6acf6db4ec87e7dfbba"},{"url":"https://git.kernel.org/stable/c/eef3b67f9c6782127163b631c9043011a68016e2"}],"title":"EDAC/altera: Fix use-after-free in error paths","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98932","datePublished":"2026-10-23T12:11:35.940Z","dateReserved":"2026-09-25T10:25:14.381Z","dateUpdated":"2026-10-24T14:09:33.367Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-23 13:17:14","lastModifiedDate":"2026-10-24 14:16:48","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.4,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98932","Ordinal":"1","Title":"EDAC/altera: Fix use-after-free in error paths","CVE":"CVE-2026-98932","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98932","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/altera: Fix use-after-free in error paths\n\nIn both altr_edac_a10_device_add() and altr_portb_setup(), the error path\nfreed the dci structure before releasing the devres group. Since the managed\nsingle and double bit IRQ handlers use altdev(dci->pvt_info) as their data, an\nIRQ firing between freeing dci and unregistering the IRQs could dereference\nthe freed memory.\n\nRelease the devres group first so the managed IRQs are unregistered\nbefore the dci structure is freed.","Type":"Description","Title":"EDAC/altera: Fix use-after-free in error paths"}]}}}