US 12,271,605 B2
Storage device and operation method thereof
Ranhee Lee, Suwon-si (KR); and Byungchul Ko, Suwon-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Sep. 14, 2022, as Appl. No. 17/944,613.
Claims priority of application No. 10-2021-0156966 (KR), filed on Nov. 15, 2021; and application No. 10-2022-0049635 (KR), filed on Apr. 21, 2022.
Prior Publication US 2023/0152988 A1, May 18, 2023
Int. Cl. G06F 21/79 (2013.01); G06F 3/06 (2006.01)
CPC G06F 3/0622 (2013.01) [G06F 3/0607 (2013.01); G06F 3/0656 (2013.01); G06F 21/79 (2013.01); G06F 3/0679 (2013.01); G06F 2221/2113 (2013.01)] 11 Claims
OG exemplary drawing
 
1. A method of operating a storage device, comprising:
detecting an abnormal operation of a host memory buffer (HMB) positioned in a host outside the storage device during data processing; and
when the abnormal operation is detected, updating, by the storage device, a security policy applied when writing data to or reading data from the HMB;
receiving allocation information of the HMB from the host;
dividing the HMB into a plurality of regions based on the allocation information; and
matching a respective one of a plurality of security policies to each of the plurality of regions,
wherein the updating the security policy includes updating at least one of the plurality of security policies respectively matched to the plurality of regions,
wherein the matching the respective one of the plurality of security policies includes one of: matching a respective key to each of the plurality of regions or matching respective security IP to each of the plurality of regions, and
wherein the updating the at least one of the plurality of security policies respectively matched to the plurality of regions includes one of changing a key of a region of the plurality of regions in which the abnormal operation occurs, or changing a security intellectual property (IP) matched to the region of the plurality of regions in which the abnormal operation occurs.