xfs: cap the block count of xfs_iomap_write_direct() at one extent
NIST has received this entry but not started reviewing it.
In the Linux kernel, the following vulnerability has been resolved: xfs: cap the block count of xfs_iomap_write_direct() at one extent xfs_iomap_write_direct() reserves blocks for the whole count in an unsigned int. For a pNFS layout the client chooses that count, and an RW LAYOUTGET for 16 TiB wraps the reservation and shuts XFS down. xfs_bmapi_write() maps at most XFS_MAX_BMBT_EXTLEN blocks here, so cap the count at that. nfsd asks again for the rest. The other callers get the same mapping as before.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from 527851124d10f9c50b1c578e0a56fcd49922422d, before a5d7ce30a20abcb1149a793879ac645547c9162d; from 527851124d10f9c50b1c578e0a56fcd49922422d, before 7c69fa22f36f44eb4dc367b915bb6b06e1f60c42; from 527851124d10f9c50b1c578e0a56fcd49922422d, before dbee0c8c244bbe00dbf4da145609de82c2758dc5; from 527851124d10f9c50b1c578e0a56fcd49922422d, before ade881e5fd44b8993c1371bbd8e2ea7f207e5251; from 527851124d10f9c50b1c578e0a56fcd49922422d, before 7f4972601b3faa66524e44df9e929fd491e35bfd; from 527851124d10f9c50b1c578e0a56fcd49922422d, before 73b0f3d5201f741125061d8559e9631f1af4cb39; and 2 more | a5d7ce30a20abcb1149a793879ac645547c9162d; 7c69fa22f36f44eb4dc367b915bb6b06e1f60c42; dbee0c8c244bbe00dbf4da145609de82c2758dc5; ade881e5fd44b8993c1371bbd8e2ea7f207e5251 |
| Linux Linux | Software | 4.0 | not recorded |
The 7.5 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | None | No data can be read. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 3.9 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 3.6 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 8 sources for this flaw, none tagged as a vendor patch.