# ksmbd: fix use-after-free and NULL deref in smb_grant_oplock()

CVE record · `CVE-2026-31444`

- **Identifiers:** `CVE-2026-31444`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 22 Apr 2026
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 22 Apr 2026, 13:53 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.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `302fef75512b2c8329a3f5efab1ae7ba2562387a to before 9e785f004cbc56390479b77375726ea9b0d1a8a6` (git)
  - affected: `08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c to before 7de55bba69cbf0f9280daaea385daf08bc076121` (git)
  - affected: `1d6abf145615dbfe267ce3b0a271f95e3780e18e to before a5c6f6d6ceefed2d5210ee420fb75f8362461f46` (git)
  - affected: `ce8507ee82c888126d8e7565e27c016308d24cde to before 6d7e5a918c1d0aad06db0e17677b66fc9a471021` (git)
  - affected: `1dfd062caa165ec9d7ee0823087930f3ab8a6294 to before 48623ec358c1c600fa1e38368746f933e0f1a617` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.6.130 to before 6.6.131` (semver)
  - affected: `6.12.78 to before 6.12.80` (semver)
  - affected: `6.18.19 to before 6.18.21` (semver)
  - affected: `6.19.9 to before 6.19.11` (semver)
  - Other versions: unaffected

## 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

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

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

## Timeline

- 22 Apr 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31444)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/9e785f004cbc56390479b77375726ea9b0d1a8a6>
- <https://git.kernel.org/stable/c/7de55bba69cbf0f9280daaea385daf08bc076121>
- <https://git.kernel.org/stable/c/a5c6f6d6ceefed2d5210ee420fb75f8362461f46>
- <https://git.kernel.org/stable/c/6d7e5a918c1d0aad06db0e17677b66fc9a471021>
- <https://git.kernel.org/stable/c/48623ec358c1c600fa1e38368746f933e0f1a617>

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

---

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