Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2022 15:15:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266115] bad use of user pointer in cam_ioctl() CTL_PORT_REQ
Message-ID:  <bug-266115-227-cfrt0sUEno@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266115-227@https.bugs.freebsd.org/bugzilla/>

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

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

--- Comment #1 from Robert Morris <rtm@lcs.mit.edu> ---
Similarly, for a CTL_LUN_REQ ioctl, if the user program sets backend[]
to "block", lun_req->result_nvl to e.g. 0x8000000000000000, and
lun_req->result to NULL, backend->ioctl() (which is
ctl_be_block_ioctl()) won't modify reslt_nvl, but ctl_ioctl() will
call nvlist_destroy(lun_req->result_nvl), causing a crash.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266115-227-cfrt0sUEno>