Linux
ksmbd: fix potential use-after-free in oplock/lease break ack
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < e38ec88a2b42c494601b1213816d75f0b54d9bf0
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 97c355989928a5f60b228ef5266c1be67a46cdf9
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8106adc21a2270c16abf69cd74ccd7c79c6e7acd
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 50f930db22365738d9387c974416f38a06e8057e
Fixed in e38ec88a2b42c494601b1213816d75f0b54d9bf0, 97c355989928a5f60b228ef5266c1be67a46cdf9, 815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477, 8106adc21a2270c16abf69cd74ccd7c79c6e7acd, 50f930db22365738d9387c974416f38a06e8057e
- 5.15
Fixed in 0, 6.1.146, 6.6.99, 6.12.39, 6.15.7, 6.16
Mitigation
Upgrade Linux to e38ec88a2b42c494601b1213816d75f0b54d9bf0 or 97c355989928a5f60b228ef5266c1be67a46cdf9 or 815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477 or 8106adc21a2270c16abf69cd74ccd7c79c6e7acd or 50f930db22365738d9387c974416f38a06e8057e or later.
Upgrade Linux to 0 or 6.1.146 or 6.6.99 or 6.12.39 or 6.15.7 or 6.16 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.