Linux
ksmbd: prevent connection release during oplock break notification
In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent connection release during oplock break notification ksmbd_work could be freed when after connection release. Increment r_count of ksmbd_conn to indicate that requests are not finished yet and to not release the connection.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8e6508c7ecb1802909f294827eff38f301d0c937
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 09aeab68033161cb54f194da93e51a11aee6144b
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < a4261bbc33fbf99b99c80aa3a2c5097611802980
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3aa660c059240e0c795217182cf7df32909dd917
Fixed in 8e6508c7ecb1802909f294827eff38f301d0c937, 09aeab68033161cb54f194da93e51a11aee6144b, a4261bbc33fbf99b99c80aa3a2c5097611802980, f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa, 3aa660c059240e0c795217182cf7df32909dd917
- 5.15
Fixed in 0, 6.1.191, 6.6.84, 6.12.20, 6.13.8, 6.14
Mitigation
Upgrade Linux to 8e6508c7ecb1802909f294827eff38f301d0c937 or 09aeab68033161cb54f194da93e51a11aee6144b or a4261bbc33fbf99b99c80aa3a2c5097611802980 or f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa or 3aa660c059240e0c795217182cf7df32909dd917 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.84 or 6.12.20 or 6.13.8 or 6.14 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.