Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2021 17:17:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 252608] [panic] [usb] [if_ure] Kernel fault on ure disconnect
Message-ID:  <bug-252608-19105-1s0Td4s3Ic@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252608-19105@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #7 from Ali Abdallah <ali.abdallah@suse.com> ---
It crashes as well with the patch from comment 5

--- trap 0xc, rip = 0xffffffff803b28f1, rsp = 0xfffffe00c83604c0, rbp =
0xfffffe00c8360540 ---                                                          
__mtx_lock_sleep() at __mtx_lock_sleep+0xd1/frame 0xfffffe00c8360540            
usbd_do_request_flags() at usbd_do_request_flags+0x740/frame 0xfffffe00c83605d0 
usbd_do_request_proc() at usbd_do_request_proc+0x60/frame 0xfffffe00c8360630    
ure_miibus_readreg() at ure_miibus_readreg+0x11c/frame 0xfffffe00c83606a0       
rgephy_status() at rgephy_status+0x80/frame 0xfffffe00c83606f0                  
rgephy_service() at rgephy_service+0x417/frame 0xfffffe00c8360750               
mii_pollstat() at mii_pollstat+0x46/frame 0xfffffe00c8360780                    
ure_ifmedia_sts() at ure_ifmedia_sts+0x41/frame 0xfffffe00c83607b0              
ifmedia_ioctl() at ifmedia_ioctl+0x16a/frame 0xfffffe00c83607e0                 
ifhwioctl() at ifhwioctl+0x2af/frame 0xfffffe00c83608e0                         
ifioctl() at ifioctl+0x2eb/frame 0xfffffe00c8360990                             
kern_ioctl() at kern_ioctl+0x26d/frame 0xfffffe00c8360a00                       
sys_ioctl() at sys_ioctl+0xf2/frame 0xfffffe00c8360ac0

Use after free of the if_ure mutex.

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

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252608-19105-1s0Td4s3Ic>