NAS : Wrong security header type for PDU Session Establishment Request
While testing the OAI 5G RAN in SA mode, I discovered that the PDU session establishment request is using the wrong security header type. The current used header is : "Integrity protected and ciphered with new 5G NAS security context". However, according to TS 24.501, Table 9.3.1, this header can only be used by the "Security mode complete" procedure.
Hence, the new security header type shall be "Integrity protected and ciphered", which will use the security context generated during the "Security mode complete".
I've made changes locally to the code to correct that issue, and I can initiate a Merge Request if you want.
Best,
Alexis Falempin