GHSA-R8G8-P677-VVFC
Vulnerability from github – Published: 2026-10-06 09:31 – Updated: 2026-10-06 09:31In the Linux kernel, the following vulnerability has been resolved:
i2c: atr: fix dangling adapter pointer on add failure
i2c_atr_add_adapter() stores atr->adapter[chan_id] before i2c_add_adapter() so that the I2C bus notifier can match child clients during registration. On failure the channel is freed but the slot was left pointing at freed memory, which can lead to use-after-free in i2c_atr_del_adapter() / cleanup and also block reuse with -EEXIST.
Clear the slot on the i2c_add_adapter() error path before freeing chan.
{
"affected": [],
"aliases": [
"CVE-2026-98218"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-10-06T09:18:08Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: atr: fix dangling adapter pointer on add failure\n\ni2c_atr_add_adapter() stores atr-\u003eadapter[chan_id] before\ni2c_add_adapter() so that the I2C bus notifier can match child clients\nduring registration. On failure the channel is freed but the slot was\nleft pointing at freed memory, which can lead to use-after-free in\ni2c_atr_del_adapter() / cleanup and also block reuse with -EEXIST.\n\nClear the slot on the i2c_add_adapter() error path before freeing chan.",
"id": "GHSA-r8g8-p677-vvfc",
"modified": "2026-10-06T09:31:31Z",
"published": "2026-10-06T09:31:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98218"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/1093835f6aef58a831298d93e0d93f244fa07b84"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2f5e42edbd232bf705dc5d3a91e06344237e63bb"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/a57d9592714506556e30188af72dd3bdb9f647b5"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ad34235808b63a70ca4989b7a2852923193d06ef"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/eabf7a3d33cd9fad106d267d00cc842434de8e02"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.