cifs: Fix oops due to uninitialised variable
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.446.16.46.17In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix oops due to uninitialised variable
Fix smb3_init_transform_rq() to initialise buffer to NULL before calling netfs_alloc_folioq_buffer() as netfs assumes it can append to the buffer it is given. Setting it to NULL means it should start a fresh buffer, but the value is currently undefined.
From the CVE record · Linux
The Linux kernel’s CIFS code can use an uninitialized buffer value in smb3_init_transform_rq(), causing a kernel oops. The input does not establish how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with CIFS support should check their versions against the vendor advisory; affected versions were not provided.