# CVE-2026-43376: ksmbd: fix use-after-free by using call\_rcu() for oplock\_info

> 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.65% (percentile 46, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-05-08T14:21:25.854Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= 296cb5457cc6f4a754c4ae29855f8a253d52bcc6, \< 302fef75512b2c8329a3f5efab1ae7ba2562387a; \>= d54ab1520d43e95f9b2e22d7a05fc9614192e5a5, \< 08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c; \>= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \< 1d6abf145615dbfe267ce3b0a271f95e3780e18e; \>= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \< ce8507ee82c888126d8e7565e27c016308d24cde; \>= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \< 1dfd062caa165ec9d7ee0823087930f3ab8a6294; d73686367ad68534257cd88a36ca3c52cb8b81d8; \>= 6.6.88, \< 6.6.130; \>= 6.12.25, \< 6.12.78; \>= 6.14.4, \< 6.15
- Anyone running Linux 6.15

## Description

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

ksmbd: fix use-after-free by using call\_rcu() for oplock\_info

ksmbd currently frees oplock\_info immediately using kfree(), even
though it is accessed under RCU read-side critical sections in places
like opinfo\_get() and proc\_show\_files().

Since there is no RCU grace period delay between nullifying the pointer
and freeing the memory, a reader can still access oplock\_info
structure after it has been freed. This can leads to a use-after-free
especially in opinfo\_get() where atomic\_inc\_not\_zero() is called on
already freed memory.

Fix this by switching to deferred freeing using call\_rcu().

## Affected and fixed versions

- Linux: \>= 296cb5457cc6f4a754c4ae29855f8a253d52bcc6, \< 302fef75512b2c8329a3f5efab1ae7ba2562387a; \>= d54ab1520d43e95f9b2e22d7a05fc9614192e5a5, \< 08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c; \>= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \< 1d6abf145615dbfe267ce3b0a271f95e3780e18e; \>= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \< ce8507ee82c888126d8e7565e27c016308d24cde; \>= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \< 1dfd062caa165ec9d7ee0823087930f3ab8a6294; d73686367ad68534257cd88a36ca3c52cb8b81d8; \>= 6.6.88, \< 6.6.130; \>= 6.12.25, \< 6.12.78; \>= 6.14.4, \< 6.15 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 6.15 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-43376.md
Affected: Linux >= 296cb5457cc6f4a754c4ae29855f8a253d52bcc6, < 302fef75512b2c8329a3f5efab1ae7ba2562387a; >= d54ab1520d43e95f9b2e22d7a05fc9614192e5a5, < 08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c; >= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, < 1d6abf145615dbfe267ce3b0a271f95e3780e18e; >= 18b4fac5ef17f77fed9417d…
Fixed in: Linux 302fef75512b2c8329a3f5efab1ae7ba2562387a, Linux 08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c, Linux 1d6abf145615dbfe267ce3b0a271f95e3780e18e, Linux 1dfd062caa165ec9d7ee0823087930f3ab8a6294, Linux 6.6.130, Linux 6.12.78, Linux 6.15

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-43376 being exploited?

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

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

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

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

Linux \>= 296cb5457cc6f4a754c4ae29855f8a253d52bcc6, \< 302fef75512b2c8329a3f5efab1ae7ba2562387a; \>= d54ab1520d43e95f9b2e22d7a05fc9614192e5a5, \< 08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c; \>= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \< 1d6abf145615dbfe267ce3b0a271f95e3780e18e; \>= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \< ce8507ee82c888126d8e7565e27c016308d24cde; \>= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \< 1dfd062caa165ec9d7ee0823087930f3ab8a6294; d73686367ad68534257cd88a36ca3c52cb8b81d8; \>= 6.6.88, \< 6.6.130; \>= 6.12.25, \< 6.12.78; \>= 6.14.4, \< 6.15; Linux 6.15.

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

Yes. Fixed in Linux 302fef75512b2c8329a3f5efab1ae7ba2562387a, Linux 08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c, Linux 1d6abf145615dbfe267ce3b0a271f95e3780e18e, Linux 1dfd062caa165ec9d7ee0823087930f3ab8a6294, Linux 6.6.130, Linux 6.12.78, Linux 6.15. Upgrade Linux to 6.15 or later.

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

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

- patch: <https://git.kernel.org/stable/c/302fef75512b2c8329a3f5efab1ae7ba2562387a>
- patch: <https://git.kernel.org/stable/c/08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c>
- patch: <https://git.kernel.org/stable/c/1d6abf145615dbfe267ce3b0a271f95e3780e18e>
- patch: <https://git.kernel.org/stable/c/ce8507ee82c888126d8e7565e27c016308d24cde>
- patch: <https://git.kernel.org/stable/c/1dfd062caa165ec9d7ee0823087930f3ab8a6294>

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

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