Page MenuHomeFreeBSD

fdt: bump FDT_MEM_REGIONS to 64
ClosedPublic

Authored by adrian on Apr 6 2025, 8:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 9, 12:49 PM
Unknown Object (File)
Tue, Sep 8, 5:24 PM
Unknown Object (File)
Tue, Sep 8, 9:12 AM
Unknown Object (File)
Sun, Sep 6, 5:48 AM
Unknown Object (File)
Wed, Aug 26, 2:54 PM
Unknown Object (File)
Wed, Aug 19, 7:31 AM
Unknown Object (File)
Tue, Aug 18, 6:23 AM
Unknown Object (File)
Mon, Aug 17, 4:39 PM
Subscribers

Details

Summary

The Snapdragon X1E / Lenovo T14s device tree has 47 reserved memory
regions. The reserved region parsing doesn't boundary check and will
just end up array bounds smashing, which leads to a reboot before
any console IO is written.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable