Commit 53a7ba8
CKI Backport Bot
nvme-tcp: sanitize request list handling
JIRA: https://issues.redhat.com/browse/RHEL-103236
CVE: CVE-2025-38264
commit 0bf04c8
Author: Hannes Reinecke <hare@kernel.org>
Date: Wed May 28 08:45:33 2025 +0200
nvme-tcp: sanitize request list handling
Validate the request in nvme_tcp_handle_r2t() to ensure it's not part of
any list, otherwise a malicious R2T PDU might inject a loop in request
list processing.
Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>1 parent 644e7d3 commit 53a7ba8
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
| 457 | + | |
457 | 458 | | |
458 | 459 | | |
459 | 460 | | |
| |||
561 | 562 | | |
562 | 563 | | |
563 | 564 | | |
| 565 | + | |
| 566 | + | |
564 | 567 | | |
565 | 568 | | |
566 | 569 | | |
| |||
765 | 768 | | |
766 | 769 | | |
767 | 770 | | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
768 | 779 | | |
769 | 780 | | |
770 | 781 | | |
| |||
2583 | 2594 | | |
2584 | 2595 | | |
2585 | 2596 | | |
| 2597 | + | |
| 2598 | + | |
2586 | 2599 | | |
2587 | 2600 | | |
2588 | 2601 | | |
| |||
0 commit comments