CAAM RNG error in i.MX 6SX SABRE-SD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CAAM RNG error in i.MX 6SX SABRE-SD

1,846 Views
kanimozhi_t
Contributor V

Hi,

We're using Yocto hardknott with Linux kernel version "5.10.52-lts-5.10.y+ga11753a89ec6". Today, suddenly we ran into a problem with CAAM's RNG (earlier it worked as expected in the same hardware but with old kernel builds) that it raises the followin error:

[ 51.708670] caam_jr 2102000.jr: 20003c5b: CCB: desc idx 60: RNG: Hardware error
[ 51.716162] caam_jr 2102000.jr: Failed to execute black key descriptor
[ 51.722707] caam_jr 2102000.jr: Black key generation failed: (-22)

It prints continuously on the screen and pollutes it. It also caused the CAAM' related functions to fail

Finally we solved it following the discussion on the Linux kernel mailing list. The solution involvs modifying the "caamrng.c" file. Now our questions are,

  1. Is this workaround/fix poses any security threat?
  2. Is this issue observed across all the i.MX 6SX?
  3. Will it get fixed on the next kernel revision by NXP?
Labels (4)
0 Kudos
Reply
0 Replies