diff options
| author | Li Qiang <liqiang01@kylinos.cn> | 2026-07-17 23:39:11 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-07-26 15:51:54 -0400 |
| commit | a947b8edbdcec8415a80ca55e9f38801322ffdd3 (patch) | |
| tree | ed6b360810d24338c74eb6ea5e0ccf6c107a62af /tools/perf/scripts/python/task-analyzer.py | |
| parent | 9e6dd452f1affb5c412ca64bf5809ce9fde3174d (diff) | |
scsi: ufs: rpmb: Validate request frame length before parsing
The RPMB core only verifies that request and response buffers are
nonempty. This callback reads req_resp at the end of the first request
frame before validating the request length. Require a complete frame
before that access.
Fixes: b06b8c421485 ("scsi: ufs: core: Add OP-TEE based RPMB driver for UFS devices")
Signed-off-by: Li Qiang <liqiang01@kylinos.cn>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Link: https://patch.msgid.link/20260717153914.26321-5-liqiang01@kylinos.cn
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
