CVE-2024-42254
io_uring: fix error pbuf checking
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 46b1b3d81a7e99574e1a2f914086bc2fe382d79d, < 78aefac7efdffddf7889405b7c08e6e0f030fa35; >= 87585b05757dc70545efb434669708d276125559, < 68d19af95a353f5e2b021602180b65b303eba99d; >= 87585b05757dc70545efb434669708d276125559, < bcc87d978b834c298bbdd9c52454c5d0a946e97e
- Anyone running Linux 6.10
Vulnerability facts
- Affected
- Linux >= 46b1b3d81a7e99574e1a2f914086bc2fe382d79d, < 78aefac7efdffddf7889405b7c08e6e0f030fa35; >= 87585b05757dc70545efb434669708d276125559, < 68d19af95a353f5e2b021602180b65b303eba99d; >= 87585b05757dc70545efb434669708d276125559, < bcc87d978b834c298bbdd9c52454c5d0a946e97e; Linux 6.10
- Fixed in
- Linux 78aefac7efdffddf7889405b7c08e6e0f030fa35, Linux 68d19af95a353f5e2b021602180b65b303eba99d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix error pbuf checking Syz reports a problem, which boils down to NULL vs IS_ERR inconsistent error handling in io_alloc_pbuf_ring(). KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:__io_remove_buffers+0xac/0x700 io_uring/kbuf.c:341 Call Trace: <TASK> io_put_bl io_uring/kbuf.c:378 [inline] io_destroy_buffers+0x14e/0x490 io_uring/kbuf.c:392 io_ring_ctx_free+0xa00/0x1070 io_uring/io_uring.c:2613 io_ring_exit_work+0x80f/0x8a0 io_uring/io_uring.c:2844 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 46b1b3d81a7e99574e1a2f914086bc2fe382d79d, < 78aefac7efdffddf7889405b7c08e6e0f030fa35; >= 87585b05757dc70545efb434669708d276125559, < 68d19af95a353f5e2b021602180b65b303eba99d; >= 87585b05757dc70545efb434669708d276125559, < bcc87d978b834c298bbdd9c52454c5d0a946e97e | — | cvelist |
| Linux | 6.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-42254. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-42254.md Affected: Linux >= 46b1b3d81a7e99574e1a2f914086bc2fe382d79d, < 78aefac7efdffddf7889405b7c08e6e0f030fa35; >= 87585b05757dc70545efb434669708d276125559, < 68d19af95a353f5e2b021602180b65b303eba99d; >= 87585b05757dc70545efb434669708d276125559, < bcc87d978b834c298bbdd9c52454c5d0a946e97e; Linux 6.10 Fixed in: Linux 78aefac7efdffddf7889405b7c08e6e0f030fa35, Linux 68d19af95a353f5e2b021602180b65b303eba99d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2024-42254 being exploited?
There is no confirmed exploitation: CVE-2024-42254 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-42254?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-42254?
Linux >= 46b1b3d81a7e99574e1a2f914086bc2fe382d79d, < 78aefac7efdffddf7889405b7c08e6e0f030fa35; >= 87585b05757dc70545efb434669708d276125559, < 68d19af95a353f5e2b021602180b65b303eba99d; >= 87585b05757dc70545efb434669708d276125559, < bcc87d978b834c298bbdd9c52454c5d0a946e97e; Linux 6.10.
Is there a fix for CVE-2024-42254?
Yes. Fixed in Linux 78aefac7efdffddf7889405b7c08e6e0f030fa35, Linux 68d19af95a353f5e2b021602180b65b303eba99d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-42254?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.