Skip to contentSkip to conversation

Please pull u-boot-ubi

DISCUSSION Heiko Schocher 2 participants 2 messages Nov 12

lore
Share & tools
lore
#0 lore raw

Hello Tom,

please pull from:

The following changes since commit 8ea02c99391d2d922810065206721ead2863f075:

mailmap: update entry for Viacheslav Bocharov (2026-11-10 14:57:48 -0600)

are available in the Git repository at:

https://git.u-boot-project.org/u-boot/custodians/hs/u-boot-ubi.git tags/ubi-updates-for-2027.01-rc3

for you to fetch changes up to fa836529140bc41e0c50412ee89320f6d54301db:

mtd: ubi: vtbl: check the size of a static volume's last LEB (2026-11-11 10:28:21 +0100)

----------------------------------------------------------------
ubi updates for 2027.01-rc3

- mtd: ubi/ubispl: harden against corrupted on-flash data from Ana UBI takes the sizes and PEB numbers it works with from headers on the flash and from the fastmap. The series checks six of them that are used without a bound, in the UBI core and in the SPL loader.

----------------------------------------------------------------
Ana Bobillo (6):
mtd: ubi: validate data_size in the VID header
mtd: ubispl: check data_size before loading a LEB
mtd: ubispl: check the PEB numbers read from the fastmap
mtd: ubi: fastmap: check PEB numbers read from the fastmap
mtd: ubi: fastmap: bound the size of a volume's EBA table
mtd: ubi: vtbl: check the size of a static volume's last LEB

 MAINTAINERS                 |   1 +
 drivers/mtd/ubi/fastmap.c   |  87 ++++++++++++++++---
 drivers/mtd/ubi/io.c        |   5 ++
 drivers/mtd/ubi/vtbl.c      |   6 ++
 drivers/mtd/ubispl/ubispl.c |  44 +++++++++-
 test/dm/Makefile            |   3 +
 test/dm/ubi.c               | 207 ++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 337 insertions(+), 16 deletions(-)
 create mode 100644 test/dm/ubi.c

To merge into your 'master' branch.

Azure build is fine:

https://dev.azure.com/hs0298/hs/_build/results?buildId=225&view=results

Thanks!

bye,
Heiko

Signature · 5 lines
Nabla Software Engineering
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: [email protected]
Geschäftsführer : Stefano Babic
#1 lore raw
Quoted 9 lines · Heiko Schocher

please pull from:

The following changes since commit 8ea02c99391d2d922810065206721ead2863f075:

mailmap: update entry for Viacheslav Bocharov (2026-11-10 14:57:48 -0600)

are available in the Git repository at:

[...]

Merged into u-boot/main, thanks!

Signature · 1 line
Tom