Page MenuHomeFreeBSD

ctl_ioctl_frontend: Reject out-of-range initiator IDs
ClosedPublic

Authored by jhb on Apr 24 2026, 8:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 6, 10:12 AM
Unknown Object (File)
Sun, Oct 4, 5:43 AM
Unknown Object (File)
Fri, Oct 2, 4:18 PM
Unknown Object (File)
Thu, Oct 1, 12:43 PM
Unknown Object (File)
Thu, Oct 1, 12:40 PM
Unknown Object (File)
Tue, Sep 29, 7:39 PM
Unknown Object (File)
Tue, Sep 29, 1:32 PM
Unknown Object (File)
Tue, Sep 29, 11:35 AM
Subscribers

Details

Summary

Various places in CTL assume that initiator IDs are not larger than
CTL_MAX_INIT_PER_PORT. Other IDs such as lun IDs are validated in
places such as ctl_scsiio_precheck, but initiator IDs submitted by
userland were not previously validated.

PR: 291059
Reported by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable