Bug 23593 - [devel 6.6] crypto: iaa - Remove potential infinite loop in check_completion()
Summary: [devel 6.6] crypto: iaa - Remove potential infinite loop in check_completion()
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 6.6.88-4
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-15 13:09 UTC by Ailin-Xu
Modified: 2025-09-02 11:28 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ailin-Xu intel_group 2025-08-15 13:09:50 UTC
commit 8c5459f1663ee689f94e69b25adb415cb95acb88 upstream.

For iaa_crypto operations, it's assumed that if an operation doesn't
make progress, the IAA watchdog timer will kick in and set the
completion status bit to failure and the reason to completion timeout.

Some systems may have broken hardware that doesn't even do that, which
can result in an infinite status-checking loop. Add a check for that
in the loop, and disable the driver if it occurs.
Comment 1 小龙 admin 2025-08-15 13:38:07 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5638
Comment 2 小龙 admin 2025-09-02 11:28:08 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5706