APPLIED: [SRU][F/J:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: Fix kernel crash with pka TRNG ioctl all

Bartlomiej Zolnierkiewicz bartlomiej.zolnierkiewicz at canonical.com
Fri Jan 13 15:51:09 UTC 2023


Applied to focal:linux-bluefield/master-next and
jammy:linux-bluefield/master-next. Thanks.

--
Best regards,
Bartlomiej

On Fri, Jan 6, 2023 at 5:14 PM shihyic <shihyic at nvidia.com> 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.
>



More information about the kernel-team mailing list