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)
Sun, Sep 20, 9:50 PM
Unknown Object (File)
Fri, Sep 18, 10:20 PM
Unknown Object (File)
Fri, Sep 18, 5:17 AM
Unknown Object (File)
Thu, Sep 17, 10:24 AM
Unknown Object (File)
Mon, Sep 14, 4:17 AM
Unknown Object (File)
Sat, Sep 12, 10:12 AM
Unknown Object (File)
Fri, Sep 11, 10:55 PM
Unknown Object (File)
Wed, Sep 9, 12:49 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