CVE-2022-49858

Summary

In the Linux kernel, the following vulnerability has been resolved:

octeontx2-pf: Fix SQE threshold checking

Current way of checking available SQE count which is based on HW updated SQB count could result in driver submitting an SQE even before CQE for the previously transmitted SQE at the same index is processed in NAPI resulting losing SKB pointers, hence a leak. Fix this by checking a consumer index which is updated once CQE is processed.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux3ca6c4c882a7f34085b170d93cf0d0e843aa00e6 < 015e3c0a3b16193aab23beefe4719484b9984c2daffected
LinuxLinux3ca6c4c882a7f34085b170d93cf0d0e843aa00e6 < f0dfc4c88ef39be0ba736aa0ce6119263fc19aebaffected
LinuxLinux5.6affected
LinuxLinux0 < 5.6unaffected
LinuxLinux6.0.9 <= 6.0.*unaffected
LinuxLinux6.1 <= *unaffected

Weaknesses

References