udf: reject descriptors with oversized CRC length
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 1873eb81c65d3f849418d7386baa39c439c9fc38| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
udf: reject descriptors with oversized CRC length
udf_read_tagged() skips CRC verification when descCRCLength + sizeof(struct tag) exceeds the block size. A crafted UDF image can set descCRCLength to an oversized value to bypass CRC validation entirely; the descriptor is then accepted based solely on the 8-bit tag checksum, which is trivially recomputable.
Reject such descriptors instead of silently accepting them. A legitimate single-block descriptor should never have a CRC length that exceeds the block.
From the CVE record · Linux
The Linux kernel's UDF descriptor reader can accept a descriptor whose CRC length exceeds the block size without verifying its CRC. An attacker who can supply a crafted UDF image can bypass CRC validation, leaving the descriptor checked only by a recomputable 8-bit tag checksum.
Engineers running Linux kernels that process UDF images should check whether their kernel is affected; affected versions were not specified.