fat: fix uninitialized field in nostale filehandles
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ea3983ace6b79c96e6ab3d3837e2eaf81ab881e2 · < 03a7e3f2ba3ca25f1da1d3898709a08db14c1abb| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
fat: fix uninitialized field in nostale filehandles
When fat_encode_fh_nostale() encodes file handle without a parent it stores only first 10 bytes of the file handle. However the length of the file handle must be a multiple of 4 so the file handle is actually 12 bytes long and the last two bytes remain uninitialized. This is not great at we potentially leak uninitialized information with the handle to userspace. Properly initialize the full handle length.
From the CVE record · Linux
The Linux kernel's FAT filehandle encoder leaves two bytes uninitialized when it encodes a nostale filehandle without a parent. Those bytes may be exposed to userspace through the filehandle. The input does not specify authentication requirements or user interaction.
Engineers running the Linux kernel should check their deployments; affected versions were not provided.