CVE-2024-35815

Medium

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.

Package Linux Kernel
Published 2024-05-17
Last modified 2026-05-12
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected versions

Linux kernel versions 4.19.308, 5.4.270, 5.10.211, 5.15.150, 6.1.80, 6.6.19, 6.7.7 and later are affected. Fixed in 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12 and their respective stable series.

Affected from
≥ 4.19.308 ≥ 5.4.270 ≥ 5.10.211 ≥ 5.15.150 ≥ 6.1.80 ≥ 6.6.19 ≥ 6.7.7
Fixed in
✓ 4.19.312 4.19.x ✓ 5.4.274 5.4.x ✓ 5.10.215 5.10.x ✓ 5.15.154 5.15.x ✓ 6.1.84 6.1.x ✓ 6.6.24 6.6.x ✓ 6.7.12 6.7.x

Frequently asked questions

  • What is CVE-2024-35815?

    CVE-2024-35815 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 4.19.308 onward and has been patched in 4.19.312, 5.4.274, 5.10.215 and others. CVE-2024-35815 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-35815?

    CVE-2024-35815 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-35815?

    Yes. CVE-2024-35815 has been patched. Fixed versions include 4.19.312, 5.4.274, 5.10.215 and others. If you are running Linux kernel 4.19.308 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-35815 actively exploited?

    No. CVE-2024-35815 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.