smb: client: fix race with concurrent opens in rename(2)
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 24b9ed739c8c5b464d983e12cf308982f3ae93c2, Kernel 289f945acb20b9b54fe4d13895e44aa58965ddb2, Kernel c9991af5e09924f6f3b3e6996a5e09f9504b4358 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix race with concurrent opens in rename(2) Besides sending the rename request to the server, the rename process also involves closing any deferred close, waiting for outstanding I/O to complete as well as marking all existing open handles as deleted to prevent them from deferring closes, which increases the race window for potential concurrent opens on the target file. Fix this by unhashing the dentry in advance to prevent any concurrent opens on the target.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.13, >=78c09634f7dc061a3bd09704cdbebb3762a45cdf <24b9ed739c8c5b464d983e12cf308982f3ae93c2, >=78c09634f7dc061a3bd09704cdbebb3762a45cdf <289f945acb20b9b54fe4d13895e44aa58965ddb2, >=78c09634f7dc061a3bd09704cdbebb3762a45cdf <c9991af5e09924f6f3b3e6996a5e09f9504b4358, >=78c09634f7dc061a3bd09704cdbebb3762a45cdf <c9e7de284da0be5b44dbe79d71573f9f7f9b144c, >=78c09634f7dc061a3bd09704cdbebb3762a45cdf <d84291fc7453df7881a970716f8256273aca5747 | 24b9ed739c8c5b464d983e12cf308982f3ae93c2, 289f945acb20b9b54fe4d13895e44aa58965ddb2, c9991af5e09924f6f3b3e6996a5e09f9504b4358, c9e7de284da0be5b44dbe79d71573f9f7f9b144c, d84291fc7453df7881a970716f8256273aca5747 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket