CVE-2024-35815 Affecting kernel-livepatch-4.14.345-262.561 package, versions <0:1.0-0.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-KERNELLIVEPATCH414345262561-8056392
  • published19 Sept 2024
  • disclosed17 May 2024

Introduced: 17 May 2024

CVE-2024-35815  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 kernel-livepatch-4.14.345-262.561 to version 0:1.0-0.amzn2 or higher.
This issue was patched in ALAS2-2024-2615.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-livepatch-4.14.345-262.561 package and not the kernel-livepatch-4.14.345-262.561 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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

fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion

The first kiocb_set_cancel_fn() argument may point at a struct kiocb that is not embedded inside struct aio_kiocb. With the current code, depending on the compiler, the req->ki_ctx read happens either before the IOCB_AIO_RW test or after that test. Move the req->ki_ctx read such that it is guaranteed that the IOCB_AIO_RW test happens first.

CVSS Scores

version 3.1