Linux
ksmbd: fix integer overflows on 32 bit systems
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix integer overflows on 32 bit systems On 32bit systems the addition operations in ipc_msg_alloc() can potentially overflow leading to memory corruption. Add bounds checking using KSMBD_IPC_MAX_PAYLOAD to avoid overflow.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < f3b9fb2764591d792d160f375851013665a9e820
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 760568c1f62ea874e8fb492f9cfa4f47b4b8391e
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 82f59d64e6297f270311b16b5dcf65be406d1ea3
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < b4b902737746c490258de5cb55cab39e79927a67
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < ecb9947fa7c99a77b04d43404c6988a0d326e4a0
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < aab98e2dbd648510f8f51b83fbf4721206ccae45
Fixed in f3b9fb2764591d792d160f375851013665a9e820, 760568c1f62ea874e8fb492f9cfa4f47b4b8391e, 82f59d64e6297f270311b16b5dcf65be406d1ea3, b4b902737746c490258de5cb55cab39e79927a67, ecb9947fa7c99a77b04d43404c6988a0d326e4a0, aab98e2dbd648510f8f51b83fbf4721206ccae45
- 5.15
Fixed in 0, 5.15.179, 6.1.129, 6.6.78, 6.12.14, 6.13.3, 6.14
Mitigation
Upgrade Linux to f3b9fb2764591d792d160f375851013665a9e820 or 760568c1f62ea874e8fb492f9cfa4f47b4b8391e or 82f59d64e6297f270311b16b5dcf65be406d1ea3 or b4b902737746c490258de5cb55cab39e79927a67 or ecb9947fa7c99a77b04d43404c6988a0d326e4a0 or aab98e2dbd648510f8f51b83fbf4721206ccae45 or later.
Upgrade Linux to 0 or 5.15.179 or 6.1.129 or 6.6.78 or 6.12.14 or 6.13.3 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.