ACK: [SRU][F/J:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: Fix kernel crash with pka TRNG ioctl all
Tim Gardner
tim.gardner at canonical.com
Fri Jan 6 16:57:26 UTC 2023
On 1/4/23 8:03 AM, shihyic wrote:
> From: Shih-Yi Chen <shihyic at nvidia.com>
>
> BugLink: https://bugs.launchpad.net/bugs/2001564
>
> SRU Justification
>
> [Impact]
> Bluefield encounters kernel crash/oops when HTTPS client uses OpenSSL with PKA engine during TLS handshake. The issue is with TRNG ioctl call. The kernel logs show the following errors.
>
> Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000ffffce65d328
>
> [Fix]
> * Change TRNG ioctl kernel handler code to copy data from user to kernel space.
>
> [Test Case]
> * openssl rand -engine pka 512
> * Tested with HTTPS clients like wget, curl using pka engine for TLS handshakes.
>
> [Potential Regression]
> * This fix has been tested with varieties of HTTPS clients and no known regression.
>
>
Acked-by: Tim Gardner <tim.gardner at canonical.com>
--
-----------
Tim Gardner
Canonical, Inc
More information about the kernel-team
mailing list