Bug#923988: /boot/vmlinuz-4.19.0-2-arm64: dmidecode causes kernel panic (puma-rk3399)

2019-03-12 Thread Christoph Müllner
On 3/12/19 9:57 PM, Ben Hutchings wrote: > On Tue, 2019-03-12 at 19:04 +0100, Christoph Müllner wrote: >> I've been able to reproduce and analyse this issue. >> >> The security error seems to be valid. > [...] > > I don't see a security issue here. The kernel does

Bug#923988: /boot/vmlinuz-4.19.0-2-arm64: dmidecode causes kernel panic (puma-rk3399)

2019-03-12 Thread Christoph Müllner
I've been able to reproduce and analyse this issue. The security error seems to be valid. What actually happens is, that dmidecode does the following (strace): > openat(AT_FDCWD, "/dev/mem" > , O_RDONLY) = 3 > fstat(3, {st_mode=S_IFCHR|0640, st_rdev=makedev(1, 1), ...}) = 0 > mmap(NULL, 65536,