# CVE-2026-72422: ksmbd: fix use-after-free of conn-\>preauth\_info in concurrent SMB2 NEGOTIATE

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-28)
- **Published:** 2026-08-15T05:56:41.090Z
- **Modified:** 2026-08-17T06:19:09.393Z

## Who should check

- Anyone running Linux \>= dd4e4c811898410e6a3ae3b63207b7c542860907, \< c7bef84740d1d57848c74f6f5b996606e43ea4fe; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< d0a469122e7bf8338fec1949fb1e8e1290ed8caa; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 7470511d085af1c7a043a60e53d52b512d5a10b1; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 16a1ecf39c217e3d164bd32ef2a4f650abc067fa; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 77bb0bbfcc4e777ca653174689e5e363f8ee63d1; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 1c89da3baa2b1f269178afa87dc30479b8535776; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 0c054227479ed7e36ebccb3a558bc0ef698264f6; 8a8315a5960bd2b5ffc75f44fc089e57c3b17c44; ff20f1875889dbe4a67c9298e609d7c88cf6456d; \>= 5.15.61, \< 5.15.212; …
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix use-after-free of conn-\>preauth\_info in concurrent SMB2 NEGOTIATE

conn-\>preauth\_info is shared connection state (struct
preauth\_integrity\_info, kmalloc-96) that is allocated and freed by the
SMB2 NEGOTIATE handler and read by the response send path.

smb2\_handle\_negotiate() allocates conn-\>preauth\_info, and on a
deassemble\_neg\_contexts() failure kfrees it and sets it to NULL. Both the
allocation and the free/NULL happen under ksmbd\_conn\_lock(conn) (the
connection srv\_mutex), which is held across the whole handler body.

The response send path smb3\_preauth\_hash\_rsp(), called from the send:
block of \_\_handle\_ksmbd\_work(), reads conn-\>preauth\_info and dereferences
conn-\>preauth\_info-\>Preauth\_HashValue (via
ksmbd\_gen\_preauth\_integrity\_hash()) without taking conn\_lock. When a
client drives two SMB2 NEGOTIATE requests on the same connection, one
worker can free conn-\>preauth\_info on the failing-negotiate path while a
concurrent send-path worker is reading it, producing a slab
use-after-free read (KASAN-confirmed).

The send-path read tested conn-\>preauth\_info for NULL but raced with the
free that occurs between the NULL check and the dereference, so the NULL
guard alone does not close the window.

Serialize the NEGOTIATE-branch read in smb3\_preauth\_hash\_rsp() under
ksmbd\_conn\_lock(conn) and re-check conn-\>preauth\_info inside the lock.
Because the negotiate handler holds conn\_lock across its kfree + NULL
assignment, a reader that also takes conn\_lock either runs fully before
the allocation or fully after the NULL store, and can never observe the
freed-but-not-yet-NULLed pointer. ksmbd\_gen\_preauth\_integrity\_hash()
takes no locks itself (it only computes a SHA-512 over the buffer), so
no lock-ordering inversion is introduced, and conn\_lock is a sleepable
mutex which is safe on this send path (it already performs network I/O).

## Affected and fixed versions

- Linux: \>= dd4e4c811898410e6a3ae3b63207b7c542860907, \< c7bef84740d1d57848c74f6f5b996606e43ea4fe; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< d0a469122e7bf8338fec1949fb1e8e1290ed8caa; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 7470511d085af1c7a043a60e53d52b512d5a10b1; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 16a1ecf39c217e3d164bd32ef2a4f650abc067fa; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 77bb0bbfcc4e777ca653174689e5e363f8ee63d1; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 1c89da3baa2b1f269178afa87dc30479b8535776; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 0c054227479ed7e36ebccb3a558bc0ef698264f6; 8a8315a5960bd2b5ffc75f44fc089e57c3b17c44; ff20f1875889dbe4a67c9298e609d7c88cf6456d; \>= 5.15.61, \< 5.15.212; … (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72422. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72422.md
Affected: Linux >= dd4e4c811898410e6a3ae3b63207b7c542860907, < c7bef84740d1d57848c74f6f5b996606e43ea4fe; >= aa7253c2393f6dcd6a1468b0792f6da76edad917, < d0a469122e7bf8338fec1949fb1e8e1290ed8caa; >= aa7253c2393f6dcd6a1468b0792f6da76edad917, < 7470511d085af1c7a043a60e53d52b512d5a10b1; >= aa7253c2393f6dcd6a1468b…
Fixed in: Linux 7470511d085af1c7a043a60e53d52b512d5a10b1, Linux 16a1ecf39c217e3d164bd32ef2a4f650abc067fa, Linux 77bb0bbfcc4e777ca653174689e5e363f8ee63d1, Linux 1c89da3baa2b1f269178afa87dc30479b8535776, Linux 0c054227479ed7e36ebccb3a558bc0ef698264f6, Linux 5.15.212

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72422 being exploited?

There is no confirmed exploitation: CVE-2026-72422 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-72422?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-72422?

Linux \>= dd4e4c811898410e6a3ae3b63207b7c542860907, \< c7bef84740d1d57848c74f6f5b996606e43ea4fe; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< d0a469122e7bf8338fec1949fb1e8e1290ed8caa; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 7470511d085af1c7a043a60e53d52b512d5a10b1; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 16a1ecf39c217e3d164bd32ef2a4f650abc067fa; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 77bb0bbfcc4e777ca653174689e5e363f8ee63d1; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 1c89da3baa2b1f269178afa87dc30479b8535776; \>= aa7253c2393f6dcd6a1468b0792f6da76edad917, \< 0c054227479ed7e36ebccb3a558bc0ef698264f6; 8a8315a5960bd2b5ffc75f44fc089e57c3b17c44; ff20f1875889dbe4a67c9298e609d7c88cf6456d; \>= 5.15.61, \< 5.15.212; …; Linux 6.0.

### Is there a fix for CVE-2026-72422?

Yes. Fixed in Linux 7470511d085af1c7a043a60e53d52b512d5a10b1, Linux 16a1ecf39c217e3d164bd32ef2a4f650abc067fa, Linux 77bb0bbfcc4e777ca653174689e5e363f8ee63d1, Linux 1c89da3baa2b1f269178afa87dc30479b8535776, Linux 0c054227479ed7e36ebccb3a558bc0ef698264f6, Linux 5.15.212. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-72422?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c7bef84740d1d57848c74f6f5b996606e43ea4fe>
- other: <https://git.kernel.org/stable/c/d0a469122e7bf8338fec1949fb1e8e1290ed8caa>
- other: <https://git.kernel.org/stable/c/7470511d085af1c7a043a60e53d52b512d5a10b1>
- other: <https://git.kernel.org/stable/c/16a1ecf39c217e3d164bd32ef2a4f650abc067fa>
- other: <https://git.kernel.org/stable/c/77bb0bbfcc4e777ca653174689e5e363f8ee63d1>
- other: <https://git.kernel.org/stable/c/1c89da3baa2b1f269178afa87dc30479b8535776>
- other: <https://git.kernel.org/stable/c/0c054227479ed7e36ebccb3a558bc0ef698264f6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72422>

HTML: <https://flawdb.com/CVE-2026-72422> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72422>
