fs/ntfs3: Prevent integer overflow in hdr_first_de()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Prevent integer overflow in hdr_first_de()
The "de_off" and "used" variables come from the disk so they both need to check. The problem is that on 32bit systems if they're both greater than UINT_MAX - 16 then the check does work as intended because of an integer overflow.
From the CVE record · Linux
The Linux kernel’s fs/ntfs3 hdr_first_de() can overflow an integer when checking disk-supplied values on 32-bit systems. An attacker could cause those checks to behave incorrectly if the kernel processes affected disk data; the input does not specify an access or authentication requirement.
Anyone running the Linux kernel on a 32-bit system should check whether their kernel includes the fs/ntfs3 fix; affected versions were not specified.