[Bug 297354] reading from /dev/mem panics on arm64

[email protected]
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297354

            Bug ID: 297354
           Summary: reading from /dev/mem panics on arm64
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 273552
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=273552&action=edit
panic screenshot

`dd if=/dev/mem of=/dev/null bs=1m` on an ARM64 cloud VM panics. The screenshot
of the panic is attached. It seems we're hitting a TODO section in arm64
pmap.c.

There's bug 383 from year 1995, where the resolution is "don't read from random
regions of /dev/mem", but from 2026, it seems that userspace should not be able
to panic the kernel so easily.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.