Bug 9303 - SUNRPC: gss_free_in_token_pages() maybe wild-memory-access
Summary: SUNRPC: gss_free_in_token_pages() maybe wild-memory-access
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: net (show other bugs) net
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: XuanZhuo
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 14:48 UTC by zeroc
Modified: 2024-06-13 13:47 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zeroc 2024-06-10 14:48:30 UTC
Description of problem:
The in_token->pages[] array is not NULL terminated. This results in
the following KASAN splat:

  KASAN: maybe wild-memory-access in range [0x04a2013400000008-0x04a201340000000f]

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2024-06-10 14:51:29 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3329
Comment 2 小龙 admin 2024-06-13 13:47:31 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3346