Fix CVE-2018-18440 and CVE-2018-18439
Get series with b4
b4 am 20190114225455.GU5463@bill-the-catVersions newest first · linked by author and title
- v10 Latest10 patches 0 repliesNew
- v5 posting 3/30 of 9 patches 0 repliesSuperseded
- v5 posting 2/30 of 9 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 posting 1/3 | 0 of 9 patches | 0 replies | Superseded |
Patches in v10 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | test: add test for lib/lmb.c | +0 | 0 replies | |
| 2/10 | lmb: fix allocation at end of address range | +0 | 0 replies | |
| 3/10 | lib: lmb: reserving overlapping regions should fail | +0 | 0 replies | |
| 4/10 | fdt: parse "reserved-memory" for memory reservation | +0 | 2 replies | |
| 5/10 | lib: lmb: extend lmb for checks at load time | +0 | 1 reply | |
| 5/10 | lib: lmb: extend lmb for checks at load time | +0 | 0 replies | |
| 6/10 | fs: prevent overwriting reserved memory | +0 | 0 replies | |
| 7/10 | bootm: use new common function lmb_init_and_reserve | +0 | 0 replies | |
| 8/10 | lmb: remove unused extern declaration | +0 | 0 replies | |
| 9/10 | tftp: prevent overwriting reserved memory | +0 | 0 replies | |
| 9/10 | tftp: prevent overwriting reserved memory | +0 | 1 reply | |
| 10/10 | arm: bootm: fix sp detection at end of address range | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v10 yet.
Cover letter [U-Boot] [PATCH v10 00/10] Fix CVE-2018-18440 and CVE-2018-18439
Quoted 9 lines · Simon Goldschmidt
This series fixes CVE-2018-18440 ("insufficient boundary checks in filesystem image load") by adding restrictions to the 'load' command and fixes CVE-2018-18439 ("insufficient boundary checks in network image boot") by adding restrictions to the tftp code. The functions from
lmb.care used to setup regions of allowed and reserved memory. Then, the file size to load is checked against these addresses and loading the file is aborted if it would overwrite reserved memory.
Quoted 3 lines
The memory reservation code is reused from bootm/image. Changes in v10:
- added acked-by and reviewed-by tags
Note that patchwork collects these automatically and we don't need to re-post things just for tags. Was anything else changed? Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190114/2f1d24e0/attachment.sig>