{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2023-53718 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-53718 is a high-severity vulnerability in Linux, published on 22 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-53718 and fix it if it is affected.\n\nWhat it is: CVE-2023-53718 is a high-severity vulnerability in Linux, published on 22 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-53718 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-53718/ (Markdown: https://insights.sbomify.com/CVE-2023-53718/index.md)","id":"CVE-2023-53718","markdown":"https://insights.sbomify.com/CVE-2023-53718/index.md","name":"CVE-2023-53718","record":{"aliases":["BELL-CVE-2023-53718","DEBIAN-CVE-2023-53718","GHSA-gpg2-67wm-x4hf","UBUNTU-CVE-2023-53718"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A race condition in the Linux kernel ring buffer resize process can cause a system crash, leading to denial of service.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nring-buffer: Do not swap cpu_buffer during resize process\n\nWhen ring_buffer_swap_cpu was called during resize process,\nthe cpu buffer was swapped in the middle, resulting in incorrect state.\nContinuing to run in the wrong state will result in oops.\n\nThis issue can be easily reproduced using the following two scripts:\n/tmp # cat test1.sh\n//#! /bin/sh\nfor i in `seq 0 100000`\ndo\n         echo 2000 \u003e /sys/kernel/debug/tracing/buffer_size_kb\n         sleep 0.5\n         echo 5000 \u003e /sys/kernel/debug/tracing/buffer_size_kb\n         sleep 0.5\ndone\n/tmp # cat test2.sh\n//#! /bin/sh\nfor i in `seq 0 100000`\ndo\n        echo irqsoff \u003e /sys/kernel/debug/tracing/current_tracer\n        sleep 1\n        echo nop \u003e /sys/kernel/debug/tracing/current_tracer\n        sleep 1\ndone\n/tmp # ./test1.sh \u0026\n/tmp # ./test2.sh \u0026\n\nA typical oops log is as follows, sometimes with other different oops logs.\n\n[  231.711293] WARNING: CPU: 0 PID: 9 at kernel/trace/ring_buffer.c:2026 rb_update_pages+0x378/0x3f8\n[  231.713375] Modules linked in:\n[  231.714735] CPU: 0 PID: 9 Comm: kworker/0:1 Tainted: G        W          6.5.0-rc1-00276-g20edcec23f92 #15\n[  231.716750] Hardware name: linux,dummy-virt (DT)\n[  231.718152] Workqueue: events update_pages_handler\n[  231.719714] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)\n[  231.721171] pc : rb_update_pages+0x378/0x3f8\n[  231.722212] lr : rb_update_pages+0x25c/0x3f8\n[  231.723248] sp : ffff800082b9bd50\n[  231.724169] x29: ffff800082b9bd50 x28: ffff8000825f7000 x27: 0000000000000000\n[  231.726102] x26: 0000000000000001 x25: fffffffffffff010 x24: 0000000000000ff0\n[  231.728122] x23: ffff0000c3a0b600 x22: ffff0000c3a0b5c0 x21: fffffffffffffe0a\n[  231.730203] x20: ffff0000c3a0b600 x19: ffff0000c0102400 x18: 0000000000000000\n[  231.732329] x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffffe7aa8510\n[  231.734212] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000002\n[  231.736291] x11: ffff8000826998a8 x10: ffff800082b9baf0 x9 : ffff800081137558\n[  231.738195] x8 : fffffc00030e82c8 x7 : 0000000000000000 x6 : 0000000000000001\n[  231.740192] x5 : ffff0000ffbafe00 x4 : 0000000000000000 x3 : 0000000000000000\n[  231.742118] x2 : 00000000000006aa x1 : 0000000000000001 x0 : ffff0000c0007208\n[  231.744196] Call trace:\n[  231.744892]  rb_update_pages+0x378/0x3f8\n[  231.745893]  update_pages_handler+0x1c/0x38\n[  231.746893]  process_one_work+0x1f0/0x468\n[  231.747852]  worker_thread+0x54/0x410\n[  231.748737]  kthread+0x124/0x138\n[  231.749549]  ret_from_fork+0x10/0x20\n[  231.750434] ---[ end trace 0000000000000000 ]---\n[  233.720486] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000\n[  233.721696] Mem abort info:\n[  233.721935]   ESR = 0x0000000096000004\n[  233.722283]   EC = 0x25: DABT (current EL), IL = 32 bits\n[  233.722596]   SET = 0, FnV = 0\n[  233.722805]   EA = 0, S1PTW = 0\n[  233.723026]   FSC = 0x04: level 0 translation fault\n[  233.723458] Data abort info:\n[  233.723734]   ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000\n[  233.724176]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0\n[  233.724589]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0\n[  233.725075] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000104943000\n[  233.725592] [0000000000000000] pgd=0000000000000000, p4d=0000000000000000\n[  233.726231] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP\n[  233.726720] Modules linked in:\n[  233.727007] CPU: 0 PID: 9 Comm: kworker/0:1 Tainted: G        W          6.5.0-rc1-00276-g20edcec23f92 #15\n[  233.727777] Hardware name: linux,dummy-virt (DT)\n[  233.728225] Workqueue: events update_pages_handler\n[  233.728655] pstate: 200000c5 (nzCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)\n[  233.729054] pc : rb_update_pages+0x1a8/0x3f8\n[  233.729334] lr : rb_update_pages+0x154/0x3f8\n[  233.729592] sp : ffff800082b9bd50\n[  233.729792] x29: ffff800082b9bd50 x28: ffff8000825f7000 x27: 00000000\n---truncated---","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ring-buffer: Do not swap cpu_buffer during resize process","id":"CVE-2023-53718","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2023"},"n_packages":0,"n_references":5,"next":{"headline":"serial: arc_uart: fix of_iomap leak in `arc_serial_probe`","id":"CVE-2023-53719"},"packages":[],"prev":{"headline":"wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()","id":"CVE-2023-53717"},"products":["Linux"],"published":"2025-10-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["Linux"]},"summary":"A race condition in the Linux kernel ring buffer resize process can cause a system crash, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2023-53718/"}