Summary: | mpt: print req->index rather than the pointer itself in mpt.c | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Fuqian <huangfq.daxian> | ||||
Component: | kern | Assignee: | freebsd-scsi (Nobody) <scsi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | imp | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Fuqian
2019-06-17 11:31:27 UTC
(In reply to Fuqian from comment #0) I have noticed that you have opened a lot of bug reports of a similar kind. Could you please explain what real problem do you see? In you opinion, how can such a "disclosure" be exploited? Perhaps it was worthwhile discussing your thoughts on some mailing lists before starting to create reports prolifically. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d9beef938ae7c3189e85e377468f83804de94712 commit d9beef938ae7c3189e85e377468f83804de94712 Author: Fuqian Huang <huangfq.daxian@gmail.com> AuthorDate: 2019-06-17 10:29:56 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-02-05 00:47:21 +0000 mpt: print req->index rather than the pointer itself in mpt.c Print req->index instead of printing the pointer itself to avoid kernel pointer leakage. PR: 238661 Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com> Reviewed-by: imp sys/dev/mpt/mpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) no mfc planned |