Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability allowing an out-of-bounds write has been identified in the Linux kernel's CIFS (Common Internet File System) implementation. This issue arises in the 'parse_dfs_referrals' function, where the kernel improperly handles malformed responses from SMB (Server Message Block) servers regarding DFS (Distributed File System) referrals. Specifically, a malicious SMB server can send an invalid reply to the 'FSCTL_DFS_GET_REFERRALS' command. The reply may be smaller than the expected size or contain an incorrect number of referrals, leading to an out-of-bounds write. The vulnerability affects several versions of the Linux kernel.
Exploitation of this vulnerability causes an out-of-bounds write, which can lead to memory corruption and potentially allow for arbitrary code execution.
To reproduce this vulnerability, a malicious SMB server must be set up to send crafted responses to the 'FSCTL_DFS_GET_REFERRALS' command. The response should be smaller than the expected size of the 'get_dfs_referral_rsp' structure or contain a number of referrals that does not match the header's 'NumberOfReferrals' field. When the CIFS client processes this invalid response, the out-of-bounds write occurs.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.