[Bug 241106] panic: vm_fault: fault on nofault entry

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 6 21:02:48 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241106

            Bug ID: 241106
           Summary: panic: vm_fault: fault on nofault entry
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: lenzi.sergio at gmail.com

system panic
panic: vm_fault: fault on nofault entry, addr: 0

the system reboots, wrote crash files 
all available at http://www.k1.com.br/crash/

in summamy: it breaks at /usr/src/sys/net/rtsock.c:1579

   1578         if (rt->rt_ifp && !(rt->rt_ifp->if_flags & IFF_DYING)) {
   1579                 info.rti_info[RTAX_IFP] =
rt->rt_ifp->if_addr->ifa_addr;
   1580                 info.rti_info[RTAX_IFA] = rt->rt_ifa->ifa_addr;
   1581                 if (rt->rt_ifp->if_flags & IFF_POINTOPOINT)
   1582                         info.rti_info[RTAX_BRD] =
rt->rt_ifa->ifa_dstaddr;
   1583         }

the pointer to rt->ifp->if_addr is NULL a race condition where the memory was
freed by another code in the event of the interface (tun1) on a ppp connection
over internet using ipv4 and ppp was brought down.

All files can be seen/download from http://www.k1.com.br/crash
The panic occurs also on the current

Thanks for your attention.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list