Linux
ksmbd: prevent rename with empty string
In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent rename with empty string Client can send empty newname string to ksmbd server. It will cause a kernel oops from d_alloc. This patch return the error when attempting to rename a file or directory with an empty new name string.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 35e2964e93d95185d2db0c0ffd9959d0197b3956
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6ee551672c8cf36108b0cfba92ec0c7c28ac3439
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < c57301e332cc413fe0a7294a90725f4e21e9549d
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 53e3e5babc0963a92d856a5ec0ce92c59f54bc12
Fixed in 35e2964e93d95185d2db0c0ffd9959d0197b3956, 6ee551672c8cf36108b0cfba92ec0c7c28ac3439, c57301e332cc413fe0a7294a90725f4e21e9549d, d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c, 53e3e5babc0963a92d856a5ec0ce92c59f54bc12
- 5.15
Fixed in 0, 6.1.191, 6.6.91, 6.12.29, 6.14.7, 6.15
Mitigation
Upgrade Linux to 35e2964e93d95185d2db0c0ffd9959d0197b3956 or 6ee551672c8cf36108b0cfba92ec0c7c28ac3439 or c57301e332cc413fe0a7294a90725f4e21e9549d or d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c or 53e3e5babc0963a92d856a5ec0ce92c59f54bc12 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.91 or 6.12.29 or 6.14.7 or 6.15 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.