# ksmbd: fix use-after-free in \_\_close_file_table_ids()

CVE record · `CVE-2026-74522`

- **Identifiers:** `CVE-2026-74522`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 15 Aug 2026
- **Updated:** 19 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 15 Aug 2026, 12:27 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: `8510a043d334ecdf83d4604782f288db6bf21d60 to before 19bfd90d5aaf63217735d81964585c5306158e5f` (git)
  - affected: `8510a043d334ecdf83d4604782f288db6bf21d60 to before 67aaec2a1fdce3e1dde46c45b5d1ef8cf22f65cd` (git)
  - affected: `8510a043d334ecdf83d4604782f288db6bf21d60 to before 0c3918c2cee62ec6c9de8d5c73ebfe6f833961ac` (git)
  - affected: `8510a043d334ecdf83d4604782f288db6bf21d60 to before 9be4a66f019ea90bd9deca70511f4f9ffebf5c6f` (git)
  - affected: `8510a043d334ecdf83d4604782f288db6bf21d60 to before cffbdc86393b0235383a20c8c59bc32f16036459` (git)
  - affected: `8510a043d334ecdf83d4604782f288db6bf21d60 to before e7188199eff46a636f3436356f0aae039be6dd66` (git)
  - affected: `df30cbfd3d8a70e61ce59f63ce5ed2261799ac10` (git)
  - affected: `aaf1d5ebb358f546414965b39da90107a7ca7ce5` (git)
  - affected: `5.15.38 to before 5.16` (semver)
  - affected: `5.17.6 to before 5.18` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.18`
  - unaffected: `before 5.18` (semver)
  - unaffected: `6.1.183 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.151 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.103 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.44 to 6.18.*, inclusive` (semver)
  - unaffected: `7.1.8 to 7.1.*, inclusive` (semver)
  - unaffected: `7.2 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

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0043, the 38th percentile, on 16 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 15 Aug 2026. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/19bfd90d5aaf63217735d81964585c5306158e5f>
- <https://git.kernel.org/stable/c/67aaec2a1fdce3e1dde46c45b5d1ef8cf22f65cd>
- <https://git.kernel.org/stable/c/0c3918c2cee62ec6c9de8d5c73ebfe6f833961ac>
- <https://git.kernel.org/stable/c/9be4a66f019ea90bd9deca70511f4f9ffebf5c6f>
- <https://git.kernel.org/stable/c/cffbdc86393b0235383a20c8c59bc32f16036459>
- <https://git.kernel.org/stable/c/e7188199eff46a636f3436356f0aae039be6dd66>

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-74522>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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