CVE-2025-38437

published 25 Jul 2025 · updated 5 Aug 2026

ksmbd: fix potential use-after-free in oplock/lease break ack

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 50f930db22365738d9387c974416f38a06e8057e, Kernel 8106adc21a2270c16abf69cd74ccd7c79c6e7acd, Kernel 815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477 and 2 more.

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potential use-after-free in oplock/lease break ack If ksmbd_iov_pin_rsp return error, use-after-free can happen by accessing opinfo->state and opinfo_put and ksmbd_fd_put could called twice.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <50f930db22365738d9387c974416f38a06e8057e, >=0626e6641f6b467447c81dd7678a69c66f7746cf <8106adc21a2270c16abf69cd74ccd7c79c6e7acd, >=0626e6641f6b467447c81dd7678a69c66f7746cf <815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477, >=0626e6641f6b467447c81dd7678a69c66f7746cf <97c355989928a5f60b228ef5266c1be67a46cdf9, >=0626e6641f6b467447c81dd7678a69c66f7746cf <e38ec88a2b42c494601b1213816d75f0b54d9bf050f930db22365738d9387c974416f38a06e8057e, 8106adc21a2270c16abf69cd74ccd7c79c6e7acd, 815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477, 97c355989928a5f60b228ef5266c1be67a46cdf9, e38ec88a2b42c494601b1213816d75f0b54d9bf0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38437 severity on Zeptric[![CVE-2025-38437](https://zeptric.io/badge/cve/CVE-2025-38437.svg)](https://zeptric.io/cve/CVE-2025-38437)