# vc_screen: reload vc pointer before if (ret) in vcs_write() to avoid UAF

CVE record · `CVE-2026-98840`

- **Identifiers:** `CVE-2026-98840`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Oct 2026
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Oct 2026, 15:50 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `43a6281790273c1b0a9ab76609ff0245b968f1e6 to before cbc05413d3694193494b2374b56bae801ac41fec` (git)
  - affected: `b6bbb85cf45bf0b070e741997fe0af3a772c5ad5 to before 942742000a0288d4ca60c448894aabacd48004d5` (git)
  - affected: `ff4806202749a51938236214adc0281481a57366 to before c9f56d4b29792a62b17f2051ba93fd3b40a479ec` (git)
  - affected: `8232fca738011ca2ec865b46ec721d1796dc0580 to before c073d01f6f5367c3a4f07efd507274ed0d03acd0` (git)
  - affected: `73049768ad57145acd337102c5aa3c788e6642c8 to before 1485a3dd97ab1af2605243cabe6b604546d46dd1` (git)
  - affected: `7cc3dd79777f6ae4625ec37e84dd18a26dc88bde to before 233a2e190b12884d186027d0b86d43a48799b69c` (git)
  - affected: `a287620312dc6dcb9a093417a0e589bf30fcf38a to before 9dfcadc5e003fb250dd471db90144bd5366140e9` (git)
  - affected: `a287620312dc6dcb9a093417a0e589bf30fcf38a to before 226bd5603371cd9f6642cbb9e9a677f445de3530` (git)
  - affected: `74be188eb2dc1c99d63986167b9a67d415fe7326` (git)
  - affected: `09a43e81279b8da15526da09877134b8bcf618b0` (git)
  - affected: `5.10.260 to before 5.10.273` (semver)
  - affected: `5.15.211 to before 5.15.224` (semver)
  - and 6 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `7.2`
  - unaffected: `before 7.2` (semver)
  - unaffected: `5.10.273 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.224 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.113 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.56 to 6.18.*, inclusive` (semver)
  - unaffected: `7.2.10 to 7.2.*, inclusive` (semver)
  - unaffected: `7.3 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 7th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 18 Oct 2026. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2026-98840](https://www.cve.org/CVERecord?id=CVE-2026-98840)
- [NVD: CVE-2026-98840](https://nvd.nist.gov/vuln/detail/CVE-2026-98840)

### References from the CNA

- <https://git.kernel.org/stable/c/cbc05413d3694193494b2374b56bae801ac41fec>
- <https://git.kernel.org/stable/c/942742000a0288d4ca60c448894aabacd48004d5>
- <https://git.kernel.org/stable/c/c9f56d4b29792a62b17f2051ba93fd3b40a479ec>
- <https://git.kernel.org/stable/c/c073d01f6f5367c3a4f07efd507274ed0d03acd0>
- <https://git.kernel.org/stable/c/1485a3dd97ab1af2605243cabe6b604546d46dd1>
- <https://git.kernel.org/stable/c/233a2e190b12884d186027d0b86d43a48799b69c>
- <https://git.kernel.org/stable/c/9dfcadc5e003fb250dd471db90144bd5366140e9>
- <https://git.kernel.org/stable/c/226bd5603371cd9f6642cbb9e9a677f445de3530>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-98840>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-98840/>. Everything for agents: <https://agentprime.io/llms.txt>.
